/* =============================================
   LUXURY HOMEPAGE STYLES
   African Trails Expeditions
   Brand Colors: #0e8b23 (Green), #DDF9C1 (Light Green)
   Fonts: Cinzel (Headings), Public Sans (Body)
   ============================================= */

/* =============================================
   SECTION 1: CINEMATIC HERO
   ============================================= */

.hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 50px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 0px;
}

.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;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Public Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
	text-transform: uppercase;
    margin: 0 0 16px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 60px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Public Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.6s both, bounce 2s ease-in-out infinite 2s;
    cursor: pointer;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================
   SECTION 2: BRAND PHILOSOPHY
   ============================================= */

.brand-philosophy {
    background: #F5F1E8;
    padding: 80px 40px;
    text-align: center;
}

.philosophy-container {
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-script,
.section-script {
    font-family: 'Sacramento', serif;
    font-size: 30px;
    color: #0e8b23;
    margin: 0 0 16px;
    font-weight: 500;
    font-style: italic;
}

.philosophy-headline,
.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;
}

.philosophy-intro {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    color: #333;
}

.badge-item img {
    height: 60px;
    width: auto;
}

.badge-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.cta-subtle {
    display: inline-block;
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0e8b23;
    text-decoration: none;
    padding: 16px 40px;
    border: 2px solid #0e8b23;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.cta-subtle:hover {
    background: #0e8b23;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 139, 35, 0.2);
}

/* =============================================
   SECTION 3: SIGNATURE EXPERIENCES
   ============================================= */

.signature-experiences {
    padding: 120px 40px;
    background: #ffffff;
}

.experiences-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-intro {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.experience-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-8px);
}

.experience-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

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

.experience-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.experience-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #ffffff;
    z-index: 2;
}

.experience-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 12px;
    line-height: 1.3;
}

.experience-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    opacity: 0.95;
}

.experience-link {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #DDF9C1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.experience-link:hover {
    gap: 12px;
    color: #ffffff;
}

/* =============================================
   SECTION 4: DESTINATIONS SHOWCASE
   ============================================= */

.destinations-showcase {
    padding: 120px 40px;
    background: #F5F1E8;
}

.destinations-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.destination-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.destination-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

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

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.destination-content {
    padding: 32px;
}

.destination-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.destination-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px;
}

.destination-cta {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #0e8b23;
    display: inline-block;
    transition: all 0.3s ease;
}

.destination-card:hover .destination-cta {
    padding-left: 8px;
}

/* =============================================
   SECTION 5: FEATURED SAFARIS
   ============================================= */

.featured-safaris {
    padding: 120px 40px;
    background: #ffffff;
}

.safaris-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.safaris-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Safari carousel will use the styles from safari-cards-style.css */
.safaris-carousel-wrapper .safari-cards-grid {
    padding: 40px 0 0;
}

/* Remove old grid styles if using carousel */
.safaris-carousel {
    /* Deprecated - using shortcode now */
}

.safari-card-luxury {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.safari-card-luxury:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

.safari-card-luxury:hover .safari-image img {
    transform: scale(1.08);
}

.safari-duration {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(14, 139, 35, 0.9);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Public Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.safari-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.safari-content {
    padding: 28px;
}

.safari-title {
    margin: 0 0 12px;
}

.safari-title a {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.safari-title a:hover {
    color: #0e8b23;
}

.safari-excerpt {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px;
}

.safari-link {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #0e8b23;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.safari-link:hover {
    padding-left: 8px;
}

/* =============================================
   SECTION 6: WHY CHOOSE US
   ============================================= */

.why-choose-us {
    padding: 120px 40px;
    background: #F5F1E8;
}

.why-header {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.why-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 
        0 8px 32px 0 rgba(14, 139, 35, 0.08),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px 0 rgba(14, 139, 35, 0.15),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.6);
}

.why-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.why-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* =============================================
   SECTION 7: FINAL CTA
   ============================================= */

.final-cta {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 700px;
    padding: 0 20px;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 400;
    margin: 0 0 24px;
    line-height: 1.2;
    color: #ffffff;
}

.cta-description {
    font-family: 'Public Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e4e3d5;
    background: rgba(221, 249, 193, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 18px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px 0 rgba(70, 161, 24, 0.15),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
    background: rgba(221, 249, 193, 0.5);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px 0 rgba(70, 161, 24, 0.25),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 1200px) {
    .experiences-grid,
    .destinations-grid,
    .safaris-carousel,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .philosophy-headline,
    .section-title {
        font-size: 32px;
    }
    
    .experiences-grid,
    .destinations-grid,
    .safaris-carousel,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-philosophy,
    .signature-experiences,
    .destinations-showcase,
    .featured-safaris,
    .why-choose-us {
        padding: 80px 20px;
    }
    
    .trust-badges {
        flex-direction: column;
    }
    
    .badge-divider {
        width: 100%;
        height: 1px;
    }
    
    .cta-title {
        font-size: 36px;
    }
}

/* =============================================
   UTILITIES
   ============================================= */

.site-main {
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default margins */
#luxury-homepage section {
    margin: 0;
}

/* =============================================
   EXPERIENCE CARDS - HOVER REVEAL STYLE
   ============================================= */

.experience-card-hover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 400px;
}

.experience-card-hover:hover {
    transform: translateY(-8px);
}

.experience-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

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

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

/* Subtle overlay for text readability */
.experience-overlay-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* Content positioning */
.experience-content-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    color: #ffffff;
    z-index: 2;
}

/* Title - always visible */
.experience-title-white {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Details - hidden by default, show on hover */
.experience-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0;
}

.experience-card-hover:hover .experience-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 16px;
}

.experience-description-white {
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: #ffffff;
    opacity: 0.95;
}

.experience-link-white {
    font-family: 'Public Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #DDF9C1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.experience-link-white:hover {
    gap: 12px;
    color: #ffffff;
}

/* Grid for 7 cards - responsive */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .experiences-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card-hover {
        height: 350px;
    }
}