/* RESET & VARS */
:root {
    --navy: #0F172A;
    --slate: #64748B;
    --gold: #C4A47C;
    --cream: #F8F7F4;
    --white: #FFFFFF;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--white);
    color: var(--navy);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

p { font-weight: 300; color: var(--slate); margin-bottom: 1.5rem; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 600px; }
.panel { padding: 6rem 0; }
.cream-bg { background-color: var(--cream); }
.dark-bg { background-color: var(--navy); color: var(--white); }
.dark-bg p { color: #94A3B8; }

/* --- NEW UPGRADED NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed; /* Sticks to top */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

/* The "Glass" Effect when scrolling */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 1rem 4rem; /* Shrinks slightly */
}

/* LOGO STYLING */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.brand-icon {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-text .highlight {
    color: var(--gold);
}

/* Hover Effect */
.logo-container:hover .brand-icon {
    transform: translateY(-2px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

/* The Elegant Underline Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--navy);
    margin: 5px 0;
    transition: 0.4s;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--navy);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid var(--navy);
}

.btn-primary:hover {
    background-color: var(--gold);
    border-color: var(--gold);
}

.btn-primary.inverted {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline {
    border: 1px solid var(--navy);
    padding: 0.5rem 1.5rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-outline::after { display: none; } /* Remove underline from button link */

/* SECTIONS */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #fff 0%, #f8f7f4 100%);
    padding-top: 80px; /* Offset for fixed header */
}

.hero-content { max-width: 700px; padding: 0 2rem; }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visual-box {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--navy);
    display: block;
    position: relative;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--navy); }
.card ul { list-style: none; margin-top: 1rem; }
.card li {
    font-size: 0.9rem;
    color: var(--slate);
    padding: 0.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

/* FORM */
.contact-form {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid #475569;
    color: var(--white);
    font-family: var(--font-sans);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

footer { padding: 2rem 0; text-align: center; font-size: 0.8rem; color: var(--slate); }

/* RESPONSIVE / MOBILE MENU */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .navbar { padding: 1.5rem; }
    
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        right: -100%; /* Hidden by default */
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }
    
    .split-layout { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .visual-box { 
        height: 280px;
        box-shadow: 10px 10px 0px var(--navy);
        order: -1; /* Image appears first on mobile */
    }
    
    .panel { padding: 4rem 0; }
    .grid-3 { gap: 2rem; }
}
