/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #888888;
    --font-primary: 'Chronicle Display', 'Didot', 'Bodoni MT', 'Cinzel', serif; /* Elegant Serif */
    --font-sans: 'Inter', 'Helvetica Neue', sans-serif; /* Clean Sans-Serif */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* --- HEADER STYLES --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), rgba(10,10,10,0));
    backdrop-filter: blur(5px);
}

.brand {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-color);
}

/* Burger Menu Icon */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 101;
}

.burger-bar {
    width: 100%;
    height: 1px; /* Ultra-thin lines look more premium */
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* --- HERO / MAIN IMAGE STYLES --- */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 4% 4% 4%; /* Top padding prevents header overlap */
}

.hero-container {
    width: 100%;
    max-width: 1600px;
    height: 75vh;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%); /* High-end editorial vibe */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subtle hover effect for the image */
.hero-container:hover .hero-image {
    transform: scale(1.02);
}

/* Optional minimal caption placeholder */
.image-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: var(--font-primary);
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* --- FULLSCREEN NAV OVERLAY --- */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 99;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 2.5rem 0;
}

/* --- UPDATED SIDEBAR NAV OVERLAY --- */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -350px; /* Hidden off-screen by exactly its width */
    width: 350px;  /* Fixed luxury-width panel */
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px); /* Blurs the photography behind it beautifully */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Snappier animation */
    z-index: 99;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5); /* Subtle shadow separating it from the image */
}

/* When active, slide it right to the edge of the screen */
.nav-overlay.active {
    right: 0;
}

/* Tweak font sizes slightly for the tighter container */
.nav-links a {
    font-family: var(--font-primary);
    font-size: 2rem; /* Slipped down from 2.5rem to fit better */
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-muted);
}

/* --- BURGER TO 'X' ANIMATION --- */
.burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
}

.burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .brand { font-size: 1.4rem; }
    .hero-container { height: 60vh; }
    
    /* Add this so the menu behaves nicely on mobile phones */
    .nav-overlay {
        width: 80%; 
        right: -80%;
    }
}