:root {
    --cream: #FDFBF7;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --accent: #B8860B; /* Deep Gold */
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

body { 
    margin: 0; 
    font-family: 'Open Sans', sans-serif; 
    background: var(--white); 
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

/* --- MODERN NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%; /* Reduced vertical padding for a cleaner look */
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: relative; /* Changed to relative to keep it at the top */
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* FIX: Logo Size */
.logo img {
    height: 70px;   /* Set height to keep it consistent */
    width: auto;    /* Maintain aspect ratio */
    display: block;
}

.links a { 
    text-decoration: none; 
    color: var(--dark); 
    margin-left: 30px; 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase;
    transition: 0.3s;
}

.links a.active, .links a:hover { color: var(--accent); }

/* --- HAMBURGER MENU LOGIC --- */

/* Hide the actual checkbox square */
.menu-checkbox {
    display: none !important;
}

/* Style the Hamburger Label */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }

/* --- MOBILE RESPONSIVE (Max 768px) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show icon on mobile */
    }

    .links {
        position: fixed;
        left: -100%; /* Hidden off-screen */
        top: 0;
        flex-direction: column;
        background: white;
        width: 80%; /* Menu covers 80% of screen */
        height: 100vh;
        padding-top: 100px;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    /* Open menu when checkbox is checked */
    .menu-checkbox:checked ~ .links {
        left: 0;
    }

    /* Hamburger to X Animation */
    .menu-checkbox:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-checkbox:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-checkbox:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .links a {
        display: block;
        margin: 20px 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Stack the grid vertically */
    .intro-grid {
        display: flex;
        flex-direction: column; /* This puts text first, then image */
        gap: 30px;
        text-align: center; /* Centers the text for a better mobile look */
        padding: 0 20px;
    }

    /* Ensure the text comes before the image */
    .intro-text {
        order: 1; 
    }

    .intro-image {
        order: 2;
        width: 100%;
    }

    .intro-image img {
        max-width: 100%;
        height: auto;
    }
    
    /* Optional: Adjust the heading size for mobile screens */
    .intro-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .btn-outline {
        margin-left: 0 !important; /* Removes the desktop left margin */
    }
}

* --- Mobile View Alignment Fix --- */
@media (max-width: 768px) {
    .intro-grid {
        display: flex;
        flex-direction: column; /* Stacks elements vertically */
        gap: 30px;
        text-align: center; /* Better readability on small screens */
    }

    .intro-text {
        order: 1; /* Forces text to the top */
    }

    .intro-image {
        order: 2; /* Forces image below the text */
        width: 100%;
    }

    .intro-image img {
        width: 100%;
        max-width: 400px; /* Prevents the image from being too huge */
        height: auto;
        margin: 0 auto;
    }
}