/* ================================
   ITINERARIES PAGE STYLES
   ================================ */

:root {
    --primary-gold: #D4AF37;
    --dark-brown: #3E2723;
    --light-cream: #FAF8F3;
    --accent-green: #2C5F2D;
    --text-dark: #2C2C2C;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.itineraries-page {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    background: #fff;
}

/* ================================
   NAVIGATION
   ================================ */

.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.4s ease;
}

.main-navigation.scrolled {
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Remove the white filter - logo should be visible on all backgrounds */
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.main-navigation.scrolled .logo-img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 35px;
}

.nav-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-navigation.scrolled .nav-menu li a {
    color: #3E2723;
    text-shadow: none;
}

.main-navigation.scrolled .mobile-menu-toggle span {
    background: var(--dark-brown);
}

.nav-menu li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-menu li a:hover:before,
.nav-menu li a.active:before {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-gold);
}

.nav-menu li a.nav-cta {
    background: var(--primary-gold);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-menu li a.nav-cta:before {
    display: none;
}

.nav-menu li a.nav-cta:hover {
    background: #C19B2F;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   HERO SECTION
   ================================ */

.hero-itineraries {
    position: relative;
    height: 65vh;
    min-height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a3f35 100%);
    background-image: url('https://images.unsplash.com/photo-1564760055775-d63b17a55c44?w=1920');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 90px 20px 0;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s 0.6s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        opacity: 0;
        top: 10px;
    }

    50% {
        opacity: 1;
        top: 25px;
    }
}

/* ================================
   DESTINATION TABS
   ================================ */

.destination-tabs {
    padding: 40px 0;
    background: #fff;
    position: sticky;
    top: 90px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--light-cream);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #fff;
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.tab-icon {
    font-size: 24px;
}

.tab-name {
    font-size: 14px;
}

/* ================================
   ITINERARIES SECTIONS
   ================================ */

.itineraries-section {
    display: none;
    padding: 80px 0 100px;
    background: var(--light-cream);
}

.itineraries-section.active {
    display: block;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
}

.section-tag.light {
    color: #fff;
    border-color: #fff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ================================
   ITINERARY CARDS
   ================================ */

.itineraries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.itinerary-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.itinerary-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.itinerary-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.itinerary-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 20px;
    text-transform: uppercase;
}

.itinerary-content {
    padding: 35px;
}

.itinerary-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-brown);
    line-height: 1.4;
    margin-bottom: 20px;
}

.itinerary-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--text-light);
}

.meta-icon {
    font-size: 16px;
}

.itinerary-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

.itinerary-highlights {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light-cream);
    border-radius: 8px;
}

.itinerary-highlights h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-brown);
    margin-bottom: 12px;
}

.itinerary-highlights ul {
    list-style: none;
}

.itinerary-highlights ul li {
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.itinerary-highlights ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.itinerary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.itinerary-price {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-gold);
}

.btn-view-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-brown);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    color: var(--primary-gold);
    padding-right: 8px;
}

/* ================================
   CUSTOM SAFARI CTA
   ================================ */

.custom-safari-cta {
    padding: 120px 0;
    background: var(--dark-brown);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-gold);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #E5C158;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ================================
   FOOTER
   ================================ */

.experience-footer {
    padding: 60px 0 30px;
    background: var(--dark-brown);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.footer-brand p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
}

.social-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.3s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.6s;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 30px;
        height: 80px;
    }

    .nav-menu {
        gap: 25px;
    }

    .itineraries-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }

    .destination-tabs {
        top: 80px;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .logo-img {
        height: 45px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Mobile menu open state - white background for navigation bar */
    .main-navigation.mobile-menu-open {
        background: rgba(250, 248, 243, 0.98) !important;
    }

    .main-navigation.mobile-menu-open .nav-menu li a {
        color: #3E2723 !important;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(62, 39, 35, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-menu li a {
        font-size: 16px;
        display: block;
        padding: 12px 0;
    }

    .nav-menu li a.nav-cta {
        display: inline-block;
        padding: 15px 40px;
    }

    .hero-itineraries {
        height: 55vh;
    }

    .destination-tabs {
        padding: 20px 0;
        top: 70px;
        position: relative;
    }

    .tabs-wrapper {
        gap: 10px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .tab-icon {
        font-size: 20px;
    }

    .itineraries-section {
        padding: 60px 0;
    }

    .itineraries-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .itinerary-content {
        padding: 25px;
    }

    .itinerary-title {
        font-size: 22px;
    }

    .itinerary-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .custom-safari-cta {
        padding: 80px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 11px;
    }

    .tab-name {
        display: none;
    }

    .itinerary-image {
        height: 220px;
    }
}