
/***====================================================================
Template Name: Konfer | Event & Conference HTML Template  
Author:        https://themeforest.net/user/expert-themes
Description:   ASIFO 2026 Custom Overrides
Version:       1.1  
License:       Copyright Commercial  
Primary use:   Event & Conference 
Tags:          event, conference, marketing, business
====================================================================***/

/* ==========================================================================
   1. NAVIGATION - Single line menu + logo white background
   ========================================================================== */

/* Logo white background container */
.main-header .logo-box .logo {
    background: #ffffff;
    border-radius: 10px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
}

.main-header .logo-box .logo img {
    max-height: 50px;
    width: auto;
}

/* Force all nav items on one line */
.main-header .main-menu .navigation {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0;
    position: static;
    margin: 0;
}

.main-header .main-menu .navigation > li {
    white-space: nowrap;
    float: none;
    margin-right: 5px !important;
    padding: 20px 0;
}

.main-header .main-menu .navigation > li > a {
    font-size: 13px;
    padding: 10px 10px;
    white-space: nowrap;
}

/* Ensure header elements align horizontally */
.main-header .main-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-header .header-navbar {
    display: flex;
    align-items: center;
    flex: 1;
}

.main-header .header-navbar .nav-outer {
    flex: 1;
}

/* Sticky header logo white bg */
.sticky-header .logo-box .logo img {
    max-height: 45px;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
}

/* ==========================================================================
   2. BANNER SLIDER - Proper text alignment
   ========================================================================== */

/* Add a dark overlay to make text readable on busy banner images */
.banner-section .banner-slide .bg {
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-section .banner-slide .bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 1;
}

.banner-section .banner-slide .auto-container {
    position: relative;
    z-index: 2;
}

.banner-section .content-box {
    position: relative;
    z-index: 5;
    padding-top: 80px;
}

.banner-section .content-box .title {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.banner-section .content-box .title span {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.banner-section .content-box .designation {
    font-size: 16px;
    letter-spacing: 3px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.banner-section .location-box .text {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
}

/* ==========================================================================
   3. ABOUT SECTION - Fix layout and heading display
   ========================================================================== */

.about-section {
    padding: 80px 0;
    overflow: hidden;
}

.about-section .outer-box {
    margin-bottom: 0;
}

.about-section .outer-box.two {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.about-section .outer-box.two .image-box {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-section .outer-box.two .content-box {
    flex: 0 0 50%;
    max-width: 50%;
}

.about-section .content-box .sec-title h2 {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-section .content-box .sec-title .text {
    font-size: 15px;
    line-height: 1.7;
}

/* Speaker box (50+ Intervenants) fix */
.about-section .speaker-box {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: #6c3baa;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.about-section .speaker-box .count {
    font-size: 28px;
    font-weight: 700;
}

.about-section .speaker-box .text {
    font-size: 12px;
    line-height: 1.3;
}

.about-section .image-box {
    position: relative;
}

.about-section .image-box .image-outer {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.about-section .image-box .image-outer img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

/* Hide the duplicate third outer-box on smaller viewports */
@media (max-width: 1399px) {
    .about-section .outer-box.show-xl {
        display: none !important;
    }
}

/* ==========================================================================
   4. SPEAKER IMAGES - Standardized dimensions
   ========================================================================== */

.speakers-section .speaker-block .image-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.speakers-section .speaker-block .image-box figure.image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
}

.speakers-section .speaker-block .image-box figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
}

.speakers-section .speaker-block .info-box {
    padding: 15px 10px;
    text-align: center;
}

.speakers-section .speaker-block .info-box .name {
    font-size: 16px;
    margin-bottom: 5px;
}

.speakers-section .speaker-block .info-box .designation {
    font-size: 13px;
}

/* ==========================================================================
   5. GALLERY IMAGES - Uniform dimensions
   ========================================================================== */

.gallery-section .gallery-block .inner-box {
    overflow: hidden;
    border-radius: 8px;
}

.gallery-section .gallery-block figure.image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-section .gallery-block figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-section .gallery-block figure.image:hover img {
    transform: scale(1.05);
}

/* Footer gallery swiper images uniform */
.main-footer .gallery-widget .insta-gallery figure.image {
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
}

.main-footer .gallery-widget .insta-gallery figure.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   6. FLAMME TOUR SECTION - Fix text visibility
   ========================================================================== */

.video-section .outer-box {
    position: relative;
}

/* Strong dark overlay on the Flamme Tour parallax background */
.video-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-section .parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.video-section .auto-container {
    position: relative;
    z-index: 3;
}

.video-section .image-box {
    position: relative;
    z-index: 2;
}

.video-section .content-column .inner-column {
    position: relative;
    z-index: 5;
}

.video-section .sec-title h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-size: clamp(28px, 4vw, 48px);
}

.video-section .sec-title .sub-title {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.video-section .sec-title .text {
    color: #f0f0f0 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

/* Flamme Tour left image styling */
.video-section .image-box .image-outer {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.video-section .image-box .image-outer img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ==========================================================================
   7. GENERAL IMPROVEMENTS
   ========================================================================== */

/* Smoother section transitions */
section {
    overflow: hidden;
}

/* Better responsive handling */
@media (max-width: 1200px) {
    .main-header .main-menu .navigation > li > a {
        font-size: 11px;
        padding: 10px 6px;
    }
    
    .main-header .main-menu .navigation > li {
        margin-right: 2px !important;
    }
    
    .about-section .outer-box.two .image-box,
    .about-section .outer-box.two .content-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .banner-section .content-box .title {
        font-size: 32px;
    }
    
    .speakers-section .speaker-block .image-box figure.image {
        height: 260px;
    }
    
    .gallery-section .gallery-block figure.image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .banner-section .content-box .title {
        font-size: 26px;
    }
    
    .speakers-section .speaker-block .image-box figure.image {
        height: 220px;
    }
    
    .gallery-section .gallery-block figure.image {
        height: 180px;
    }
}

/* Footer logo styling */
.main-footer .about-widget .logo img {
    max-height: 60px;
    background: #fff;
    border-radius: 8px;
    padding: 5px 10px;
}