:root {
    --color-dark: #0f0f0f;
    --color-dark-surface: #1a1a1a;
    --color-gold: #d4af37;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-body); background: var(--color-dark); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }

header { padding: 40px 5%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--color-border, rgba(212, 175, 55, 0.1)); }
.logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-white); text-decoration: none; }
.logo span { color: var(--color-gold); font-style: italic; }
.back-btn { color: var(--color-gold); text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }

.gallery-container { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }
.gallery-header { margin-bottom: 60px; text-align: center; }
.gallery-header h1 { font-family: var(--font-heading); font-size: 3.5rem; color: var(--color-white); margin-bottom: 15px; }
.gallery-header p { color: var(--color-gold); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; height: 350px; cursor: pointer; transition: 0.5s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid var(--color-border, transparent); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.gallery-item:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.gallery-item:hover img { transform: scale(1.1); }

/* Lightbox */
#lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 1000; align-items: center; justify-content: center; padding: 40px; }
#lightbox.active { display: flex; }
#lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.9); }
.close-lightbox { position: absolute; top: 30px; right: 40px; color: var(--color-white); font-size: 40px; cursor: pointer; }

footer { padding: 60px 5%; text-align: center; border-top: 1px solid var(--color-border, rgba(255,255,255,0.05)); color: var(--color-text); font-size: 0.9rem; opacity: 0.7; }
@media (max-width: 992px) {
    .gallery-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    .gallery-item {
        height: 300px;
    }
    .gallery-header h1 {
        font-size: 2.2rem;
    }
    header {
        padding: 20px 5%;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: 250px;
    }
    .gallery-header h1 {
        font-size: 1.8rem;
    }
}
