:root {
    --bg-color: #fdfdfc;
    --text-color: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.5s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.0);
    animation: zoomOut 30s infinite alternate linear;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Elegant darkening */
    z-index: 1;
}

@keyframes zoomOut {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 8rem);
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section */
.gallery-container {
    padding: 8vw 5vw;
    max-width: 1800px;
    margin: 0 auto;
}

.gallery {
    column-count: 4;
    column-gap: 2rem;
}

@media (max-width: 1400px) {
    .gallery { column-count: 3; }
}

@media (max-width: 900px) {
    .gallery { column-count: 2; column-gap: 1.5rem; }
}

@media (max-width: 600px) {
    .gallery { column-count: 1; }
    .gallery-container { padding: 10vw 4vw; }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background: #eaeaea;
}

@media (max-width: 900px) {
    .gallery-item { margin-bottom: 1.5rem; }
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform var(--transition-speed) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 3rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    padding: 10px;
}

.close-btn:hover {
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .close-btn {
        top: 1rem;
        right: 1.5rem;
    }
}

.lightbox-content {
    position: relative;
    z-index: 1001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    border: 8px solid white; /* Adds an elegant polaroid/editorial border */
    background: white;
}

@media (max-width: 768px) {
    .lightbox-content img { border: 4px solid white; }
}

.download-btn {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: white;
    color: black;
    border-color: white;
    transform: translateY(-2px);
}
