/* --- 1. Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0f0f;
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 2. Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes textGlow {
    to { filter: drop-shadow(0 0 8px #d4af37); }
}

/* --- 3. Navigation --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 20px 50px;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(15px);
    z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo { font-size: 1.1rem; letter-spacing: 4px; text-transform: lowercase; }
.logo::after { content: '.'; color: #d4af37; font-weight: 800; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: #d4af37; }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.bar { width: 25px; height: 3px; background: white; border-radius: 2px; transition: 0.3s; }

/* --- 4. Hero Section --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?auto=format&fit=crop&q=80&w=2070') center/cover;
    background-attachment: fixed; animation: slowZoom 20s infinite;
}
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 8vw, 4.5rem); margin-bottom: 20px; animation: fadeInUp 1s ease-out; }
.hero-content h1 span { color: #d4af37; }
.hero-content p { font-size: 1.1rem; opacity: 0.8; max-width: 600px; margin: 0 auto 30px; animation: fadeInUp 1s ease-out 0.3s forwards; opacity: 0; }

.btn-primary {
    display: inline-block; padding: 15px 40px; background: white; color: black;
    text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    border-radius: 4px; transition: 0.4s; animation: fadeInUp 1s ease-out 0.6s forwards; opacity: 0;
}
.btn-primary:hover { background: #d4af37; color: white; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3); }

/* --- 5. Gallery Grid --- */
.gallery-container { padding: 100px 5%; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1300px; margin: 0 auto;
}
.gallery-item {
    position: relative; height: 450px; overflow: hidden; border-radius: 12px;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s; }
.overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.5s;
}
.overlay span { color: white; border: 1px solid white; padding: 10px 20px; letter-spacing: 2px; text-transform: uppercase; transform: translateY(20px); transition: 0.4s; }

.gallery-item:hover { transform: translateY(-10px); }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(0.7); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover .overlay span { transform: translateY(0); color: #d4af37; border-color: #d4af37; animation: textGlow 1s infinite alternate; }

/* --- 6. Footer --- */
footer { padding: 50px; background: #0a0a0a; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.social-media { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.social-media a { color: white; text-decoration: none; font-size: 0.8rem; opacity: 0.6; transition: 0.3s; }
.social-media a:hover { opacity: 1; color: #d4af37; }

/* --- 7. Mobile Responsiveness --- */
@media (max-width: 768px) {
    nav { padding: 15px 25px; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed; right: -100%; top: 0; height: 100vh; width: 75%;
        background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; align-items: center;
        transition: 0.5s; gap: 40px;
    }
    .nav-links.active { right: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .hero::before { background-attachment: scroll; } /* Better performance on mobile */
    .gallery-item { height: 350px; }
}