@charset "UTF-8";
/* 
   ==========================================================================
   VIP THEME INDEX STYLES
    Homepage-specific styling for Ikon Safaris
   ==========================================================================
*/

/* 
   Hero Section 
*/
.hero-section {
    position: relative;
    min-height: min(780px, 88vh);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(72px, 12vw, 144px) 20px;
    color: var(--theme-white);
    overflow: hidden;
}

/* Hero Section uses global .hero-slider-container from header.css */


.hero-content {
    width: min(100%, 960px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(40px, 6.2vw, 84px);
    margin: 0 0 24px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
    text-align: center;
    letter-spacing: 0;
    line-height: 0.95;
    font-family: var(--font-heading);
    font-weight: 600;
}

.hero-copy {
    font-size: clamp(16px, 1.7vw, 20px);
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center !important; /* Override standard justification for hero */
    color: var(--theme-white, #ffffff);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    font-family: var(--font-body);
}

.hero-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.hero-actions .primary-button {
    background-color: var(--theme-orange);
    color: var(--theme-black);
    padding: 15px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all var(--header-transition);
    border: 2px solid var(--theme-orange);
}

.hero-actions .primary-button:hover {
    background-color: transparent;
    color: var(--theme-orange);
}

.hero-actions .green-cta {
    background-color: var(--theme-green);
    color: var(--theme-white);
    padding: 15px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--font-ui);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all var(--header-transition);
    border: 2px solid var(--theme-green);
}

.hero-actions .green-cta:hover {
    background-color: transparent;
    color: var(--theme-green);
}


/* 
   Feature Bands 
*/
.feature-band {
    padding-bottom: 10px;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 64px);
}

.section-heading h2 {
    font-size: clamp(34px, 4.6vw, 58px);
    color: var(--theme-orange);
    margin-bottom: 24px;
}

.section-heading p {
    max-width: var(--content-max-width);
    margin-right: auto;
    margin-left: auto;
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.section-link {
    display: table;
    margin: 48px 0 0 auto; /* aligns to the right */
    padding: 12px 30px;
    background-color: transparent;
    color: var(--theme-green);
    border: 2px solid var(--theme-green);
    border-radius: 2px;
    font-family: var(--font-ui);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all var(--header-transition);
}

.section-link:hover {
    background-color: var(--theme-green);
    color: var(--theme-white);
    text-decoration: none;
}



/* 
   Destination Grid 
*/
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.destination-grid a {
    text-decoration: none;
    display: block;
}

.destination-card {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}

.destination-card-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 10;
    text-align: center;
}

.destination-card h3 {
    color: var(--theme-white);
    margin: 0;
    font-size: 29px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    transition: color var(--header-transition);
}

.destination-card:hover h3 {
    color: var(--theme-orange);
}

/* 
   Split Section (Story) 
*/
.split-section {
    display: flex;
    background-color: var(--theme-white);
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding-bottom: 10px;
    gap: 64px;
}

.story-image {
    flex: 1;
    min-height: 500px;
    background-image: url('/images/safari_landscape2.webp');
    background-size: cover;
    background-position: center;
    border-radius: var(--header-radius);
    box-shadow: var(--header-shadow);
}

.story-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
}

.story-copy .eyebrow {
    color: var(--theme-orange);
    text-transform: uppercase;
    font-family: var(--font-ui);
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
}

.story-copy h2 {
    font-size: 48px;
    margin: 0 0 32px;
}

.story-copy p {
    color: #333;
    margin-bottom: 48px;
}

.style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.style-grid span {
    font-family: var(--font-ui);
    font-size: 15px;
    color: var(--theme-black);
    display: flex;
    align-items: center;
}

.style-grid span::before {
    content: '✓';
    color: var(--theme-green);
    margin-right: 10px;
    font-weight: bold;
}

/* 
   Responsive Overrides 
*/
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: clamp(40px, 7vw, 64px);
    }

    .split-section {
        flex-direction: column;
        gap: 32px;
        padding: 64px 5%;
    }
    
    .story-image {
        min-height: 350px;
        width: 100%;
    }
}

@media (max-width: 768px) {

    
    .hero-copy {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-actions .primary-button,
    .hero-actions .green-cta {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
    }
    
    .section-heading h2 {
        font-size: 35px;
    }
    
    .style-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider-container .slide,
    .destination-card img {
        animation: none;
        transition: none;
    }
}

/* 
   Partners Section 
*/
.partners-section {
    padding: 60px max(20px, 5%);
    background-color: var(--theme-smoke, #f5f5f5);
    border-top: 1px solid var(--border-color, #eaeaea);
}

.partners-container {
    max-width: var(--content-max-width, 1200px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.partner-logo-link:hover {
    opacity: 0.5;
    transform: translateY(-2px);
}

.partner-logo-link img {
    max-width: 150px;
    height: auto;
    max-height: 80px; /* Limits the height for very tall logos */
    object-fit: contain;
}
