/* =============================================
   SAFARI TYPE ARCHIVE STYLES
   Journey Type Pages - African Trails Expeditions
   Brand Colors: #0e8b23, #DDF9C1
   Fonts: Cinzel (headings), Lora (script), Public Sans (body)
   ============================================= */

/* =============================================
   HERO SECTION
   ============================================= */

.safari-type-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safari-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.safari-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.safari-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 24px;
    letter-spacing: 2px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.safari-hero-subtitle {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 60px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* =============================================
   INTRODUCTION SECTION
   ============================================= */

.safari-type-intro {
    padding: 120px 0;
    background: #FDFBF7;
}

.safari-intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.safari-intro-content {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.safari-intro-content p {
    margin-bottom: 20px;
}

.safari-intro-content strong {
    color: #0e8b23;
    font-weight: 600;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */

.safari-type-benefits {
    padding: 120px 0;
    background: #F5F1E8;
}

.safari-benefits-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.benefit-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* =============================================
   SAFARIS GRID SECTION
   Uses existing safari-cards-style.css via carousel
   ============================================= */

.safari-type-safaris {
    padding: 120px 0;
    background: #FDFBF7;
}

.safari-safaris-container {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: center;
}

/* Carousel wrapper */
.safari-type-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Safari cards use existing safari-cards-style.css via carousel shortcode */

.no-safaris-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.no-safaris {
    text-align: center;
    padding: 80px 20px;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    color: #666;
}

.no-safaris a {
    color: #0e8b23;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.no-safaris a:hover {
    color: #0a6b1c;
}

/* =============================================
   IDEAL FOR SECTION
   ============================================= */

.safari-type-ideal {
    padding: 120px 0;
    background: #F5F1E8;
}

.safari-ideal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.ideal-content {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-top: 40px;
}

.ideal-content p {
    margin-bottom: 20px;
}

/* =============================================
   DESTINATIONS MINI GRID
   ============================================= */

.safari-type-destinations {
    padding: 120px 0;
    background: #FDFBF7;
}

.safari-destinations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.destinations-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.destination-mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.destination-mini-card:hover {
    transform: translateY(-8px);
}

.destination-mini-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-mini-card:hover img {
    transform: scale(1.1);
}

.destination-mini-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 400;
    padding: 40px 20px 20px;
    margin: 0;
}

.destination-mini-card a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */

.safari-type-testimonials {
    padding: 120px 0;
    background: #F5F1E8;
}

.safari-testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0 0 24px;
}

.testimonial-author {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.testimonial-author strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* =============================================
   FINAL CTA SECTION
   ============================================= */

.safari-type-cta {
    position: relative;
    padding: 150px 0;
    background: #1a1a1a;
}

.safari-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.safari-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.safari-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    color: #ffffff;
}

.safari-cta-title {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 24px;
    line-height: 1.2;
    color: #ffffff;
}

.safari-cta-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 48px;
    opacity: 0.95;
}

.safari-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0e8b23;
    color: #ffffff;
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 18px 36px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.safari-cta-button:hover {
    background: #0a6b1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 139, 35, 0.4);
}

.safari-cta-button svg {
    transition: transform 0.3s ease;
}

.safari-cta-button:hover svg {
    transform: translateX(4px);
}

/* =============================================
   GLOBAL SECTION STYLING
   ============================================= */

.section-script {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 16px;
    color: #0e8b23;
    margin: 0 0 16px;
    font-weight: 400;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 32px;
    letter-spacing: 1px;
}

.section-intro {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    color: #ffffff;
    font-family: 'Public Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Safari cards grid responsive handled by safari-cards-style.css */
}

@media (max-width: 992px) {
    .safari-hero-title {
        font-size: 38px;
    }
    
    .safari-hero-subtitle {
        font-size: 18px;
    }
    
    .safari-type-intro,
    .safari-type-benefits,
    .safari-type-safaris,
    .safari-type-ideal,
    .safari-type-destinations,
    .safari-type-testimonials {
        padding: 80px 0;
    }
    
    .safari-type-cta {
        padding: 100px 0;
    }
    
    .destinations-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .safari-hero-title {
        font-size: 32px;
    }
    
    .safari-hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .safari-type-intro,
    .safari-type-benefits,
    .safari-type-safaris,
    .safari-type-ideal,
    .safari-type-destinations,
    .safari-type-testimonials {
        padding: 60px 0;
    }
    
    .safari-type-cta {
        padding: 80px 0;
    }
    
    .safari-intro-container,
    .safari-benefits-container,
    .safari-safaris-container,
    .safari-ideal-container,
    .safari-destinations-container,
    .safari-testimonials-container,
    .safari-cta-content {
        padding: 0 20px;
    }
    
    .safaris-grid-wrapper {
        padding: 0 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Safari cards grid responsive handled by safari-cards-style.css */
    
    .destinations-mini-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .safari-cta-title {
        font-size: 32px;
    }
    
    .safari-cta-description {
        font-size: 16px;
    }
}