/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 400;
}

.navbar.scrolled .logo {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link.nav-cta {
    background-color: var(--color-secondary);
    color: var(--color-text);
    padding: 10px 24px;
    border-radius: var(--border-radius);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background-color: var(--color-secondary-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-close-item {
    display: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--color-text);
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.page-hero-slide.active {
    opacity: 1;
}

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

.page-hero-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
}

.page-hero-content h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.page-hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.15s backwards;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .nav-close-item {
        display: block;
        position: absolute;
        top: 18px;
        right: 20px;
    }

    .nav-close {
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--color-text-light);
        cursor: pointer;
        padding: 5px;
        line-height: 1;
    }

    .nav-close:hover {
        color: var(--color-text);
    }

    .nav-menu .nav-link {
        color: var(--color-text);
        font-size: 1.1rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }
}
