/* ========== RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
    background: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7C8C6E, #8D9D7F, #7C8C6E);
    transition: opacity 0.4s;
}

/* ========== NAVBAR TRANSPARENT (on hero) ========== */
.navbar--transparent {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
.navbar--transparent::before {
    opacity: 0;
}
.navbar--transparent .logo {
    color: #fff;
}
.navbar--transparent .logo em {
    color: #A8B89A;
}
.navbar--transparent .logo-icon {
    border-color: rgba(255,255,255,0.5);
}
.navbar--transparent .logo-icon svg {
    color: #fff;
}
.navbar--transparent .nav-links a {
    color: rgba(255,255,255,0.75);
}
.navbar--transparent .nav-links a:hover {
    color: #fff;
}
.navbar--transparent .nav-links a::after {
    background: #fff;
}
.navbar--transparent .nav-separator {
    background: rgba(255,255,255,0.15);
}
.navbar--transparent .nav-cta {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
}
.navbar--transparent .nav-cta:hover {
    background: #fff !important;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.navbar--transparent .menu-toggle span {
    background: #fff;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
}

/* ========== LOGO ========== */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo em { color: #7C8C6E; font-style: normal; }
.logo-icon {
    width: 28px;
    height: 28px;
    border: 1.5px solid #7C8C6E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg {
    width: 14px;
    height: 14px;
    color: #7C8C6E;
}

/* ========== NAV LINKS ========== */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1.5px;
    background: #7C8C6E;
    transition: width 0.3s;
}
.nav-links a:hover { color: #1a1a1a; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #7C8C6E; }
.nav-links a.active::after { width: 100%; }
.nav-separator {
    width: 1px;
    height: 20px;
    background: rgba(0,0,0,0.08);
}

/* ========== NAV CTA ========== */
.nav-cta {
    background: #1a1a1a;
    color: #fff !important;
    padding: 10px 28px !important;
    border-radius: 4px;
    transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: #7C8C6E !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124,140,110,0.25);
}

/* ========== MENU TOGGLE ========== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ========== BUTTONS (shared) ========== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}
.btn-dark {
    background: #1a1a1a;
    color: #fff;
}
.btn-dark:hover {
    background: #7C8C6E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124,140,110,0.3);
}
.btn-outline {
    background: transparent;
    color: #1a1a1a;
    border: 1.5px solid rgba(26,26,26,0.2);
}
.btn-outline:hover {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== MOBILE RESPONSIVE NAVBAR ========== */
@media (max-width: 768px) {
    .navbar-inner { padding: 14px 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 2px solid #7C8C6E;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }
    .nav-links.active { display: flex; }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a {
        display: block;
        padding: 14px 25px;
        font-size: 0.72rem;
    }
    .nav-links a::after { display: none; }
    .nav-separator { display: none; }
    .nav-cta { text-align: center; }
    .menu-toggle { display: flex; }
    /* Mobile: menu links always dark text on white bg */
    .navbar--transparent .nav-links {
        background: #fff;
    }
    .navbar--transparent .nav-links a {
        color: #888;
    }
    .navbar--transparent .nav-links a:hover {
        color: #1a1a1a;
    }
    .navbar--transparent .nav-cta {
        background: #1a1a1a;
        color: #fff !important;
        border: none;
    }
}
