:root {
    --primary-color: #2F4F4F;
    --primary-color-rgb: 47, 79, 79;
    /* Dark Slate Green (Button) */
    --secondary-color: #F4E1D2;
    /* Soft Beige/Peach */
    --accent-color: #CD853F;
    /* Peru/Bronze (Highlights) */
    --text-dark: #2C1810;
    /* Dark Brown/Black */
    --text-light: #FFF8F0;
    --glass-bg: rgba(255, 245, 238, 0.45);
    /* Warm Glass */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(100, 50, 20, 0.1);
    /* Warmer shadow */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #FFFFFF 0%, #F2F9F6 100%);
    /* Clean White/Mint Background */
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 1.7vw, 2rem);
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    margin-left: 1.25rem;
    margin-right: 0;
    flex-wrap: nowrap;
}

.hamburger {
    display: none;
    color: var(--primary-color);
    font-size: 1.4rem;
    cursor: pointer;
    flex-shrink: 0;
    width: 36px;
    text-align: right;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    display: block;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .btn-primary {
    padding: 0.74rem 1.25rem;
}

.nav-links .btn-primary:hover {
    transform: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

/* Sections */
main {
    padding-top: 80px;
    /* Navbar height */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop and large tablets: always show links, never show hamburger */
@media (min-width: 701px) {
    .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .hamburger {
        display: none !important;
    }
}

/* Medium desktops: tighten spacing to avoid overlap */
@media (max-width: 1240px) and (min-width: 701px) {
    .logo {
        font-size: 1.08rem;
        max-width: 280px;
    }

    .nav-links {
        gap: 0.95rem;
        font-size: 0.97rem;
    }

    .btn-primary {
        padding: 0.72rem 1.15rem;
    }
}

@media (max-width: 960px) and (min-width: 701px) {
    .navbar .container {
        gap: 0.8rem;
    }

    .logo {
        font-size: 1rem;
        gap: 8px;
    }

    .logo img {
        height: 42px;
    }

    .nav-links {
        gap: 0.7rem;
        font-size: 0.93rem;
        margin-left: 0.8rem;
    }

    .nav-links .btn-primary {
        padding: 0.58rem 0.9rem;
        font-size: 0.9rem;
    }
}

/* Responsive */
@media (max-width: 700px) {
    .nav-links {
        display: none !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        position: absolute;
        top: 72px;
        right: 1rem;
        left: 1rem;
        width: auto;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 14px;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        z-index: 1001;
    }

    .nav-links.mobile-open {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
    }

    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    .hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .logo {
        max-width: calc(100% - 52px);
        font-size: 1.05rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}
