/* CSS Variables & Reset */
:root {
    --bg-color: #f9f9f9;
    --text-color: #1a1a1a;
    --accent-color: #555;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 3rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    background: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery */
.gallery {
    column-count: 3; /* Masonry-like layout */
    column-gap: 20px;
    padding: 4rem 0;
}

@media (max-width: 900px) {
    .gallery { column-count: 2; }
}

@media (max-width: 600px) {
    .gallery { column-count: 1; }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-heading);
}

/* Sections */
.section {
    padding: 6rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-top: 1px solid #eee;
    margin-top: 4rem;
}
