/* Variables */
:root {
    --color-bg: #F9F7F2;
    /* Creamy white */
    --color-text: #2C2420;
    /* Dark coffee */
    --color-text-light: #6D645F;
    --color-primary: #8C5E3C;
    /* Warm brown */
    --color-accent: #D4A373;
    /* Gold/Tan */
    --color-white: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    /* Match the scrolled padding */
    transition: var(--transition);
    background: rgba(249, 247, 242, 0.95);
    /* Always applied */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Optional: nice to have initially too, or add on scroll */
}

/* Optional: if we want to change shadow only on scroll, we can keep using .scrolled for that, 
   but user asked "white background... same as when scrolling", which implies the whole look.
*/

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust based on logo file */
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    z-index: 1001;
    /* Above mobile menu overlay */
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    /* Partial width */
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
    color: var(--color-primary);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.mobile-menu a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(3px);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--color-white);
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

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

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 0px rgba(140, 94, 60, 0.1);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Highlights Section */
.highlights-section {
    padding: 6rem 0 8rem;
    background-color: #F2EFE9;
    /* Slightly darker cream */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .eyebrow {
    color: var(--color-primary);
}

.section-header h2 {
    font-size: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #1A1614;
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-logo {
    filter: invert(1) brightness(2);
    /* Make logo white if it's dark text */
    margin-bottom: 1.5rem;
    height: 50px !important;
    width: auto;
}

.footer-brand p {
    opacity: 0.6;
    margin-bottom: 1rem;
}

.footer-link {
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4CAF50;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.small {
    font-size: 0.9rem;
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations Class */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid-2,
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links,
    .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }
}