/* ----- NAVIGATION ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
    background: rgba(11, 31, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 40px;
    color: #1A1E1C;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.navbar.scrolled .logo {
    color: #1A1E1C;
}
.navbar.scrolled .nav-links a {
    transition: color 0.2s;
    color: #1A1E1C;
}
.navbar.scrolled .nav-links a:hover {
    color: #8fc1b0;
}
.navbar.scrolled .nav-cta {
    transition: color 0.2s;
    background: #176B52;
    color: #fff;
}
.navbar.scrolled .nav-cta:hover {
    background:  #8fc1b0;
}
.navbar.scrolled .hamburger {
    color: #1A1E1C;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
    transition: color 0.3s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.logo img{
    width: 30px;
}
.logo span {
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 0.7rem;
    display: block;
    opacity: 0.7;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a {
    transition: color 0.2s;
    color: rgba(255, 255, 255, 0.9);
}
.nav-links a:hover {
    color: #8fc1b0;
}
.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: background 0.2s;
    color: #fff !important;
}
.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    transition: transform 0.3s;
    z-index: 1001;
}
.hamburger.open {
    transform: rotate(90deg);
}

/* ----- MOBILE SIDE NAV ----- */
.side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.side-overlay.active {
    opacity: 1;
    visibility: visible;
}
.side-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 60px 40px;
    transition: right 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
    color: #1A1E1C;
}
.side-nav.open {
    right: 0;
}
.side-nav .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1A1E1C;
    transition: transform 0.3s;
    z-index: 10;
}
.side-nav .close-btn:hover {
    transform: rotate(90deg);
}
.side-nav .logo {
    color: #1A1E1C;
    display: flex;
    justify-content:start;
    align-items:start;
    flex-direction: column;
}
.side-nav ul {
    list-style: none;
    margin-top: 40px;
}
.side-nav ul li {
    margin-bottom: 28px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
}
.side-nav ul li a {
    transition: color 0.2s;
}
.side-nav ul li a:hover {
    color: #176B52;
}
.side-nav .side-contact {
    border-top: 1px solid #e8e8e5;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #66716D;
}
.side-nav .side-contact p {
    margin-bottom: 6px;
}
.side-nav .side-cta {
    margin-top: 20px;
    background: #176B52;
    color: #fff;
    display: inline-block;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
}

/* ----- NAV RESPONSIVE ----- */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .side-nav {
        padding: 40px 24px;
    }
    .side-nav ul li {
        font-size: 1.4rem;
    }
    .navbar {
        padding: 16px 24px;
    }
    .navbar.scrolled {
        padding: 10px 24px;
    }
}