/* Logo History Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 546px;
    background: url('https://quimbaya-tours.com/wp-content/uploads/2023/12/iStock-1357649377-min.jpg') center/cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: start;
    max-width: 600px;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* Timeline Section */
.timeline-section {
    padding: 0 0 80px 0;
    background: white;
}

/* Desktop Timeline */
.timeline-desktop {
    display: block;
}

.timeline-carousel-wrapper {
    margin: 0 auto;
    position: relative;
}

.timeline-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.timeline-slides {
    position: relative;
    height: 500px;
}

.timeline-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.timeline-slide.active {
    opacity: 1;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    padding: 40px;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    min-height: 300px;
}

.logo-image img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slide-text {
    padding: 20px;
}

.slide-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* Year Navigation */
.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.year-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 5px;
}

.year-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0px;
    background: #6ec1e4;
    transition: width 0.3s ease;
}

.year-btn:hover {
    color: #6ec1e4;
}

.year-btn.active {
    color: #6ec1e4;
}

.year-btn.active::after {
    width: 100%;
}

/* Progress Bar */
.timeline-progress {
    position: relative;
    height: 4px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #6ec1e4;
    width: 14.28%; /* 100% / 7 years */
    transition: width 0.5s ease;
}

/* Mobile Timeline */
.timeline-mobile {
    display: none;
}

.mobile-timeline-item {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-logo-image {
    text-align: center;
    margin-bottom: 25px;
    padding: 30px;
    background: white;
    border-radius: 15px;
}

.mobile-logo-image img {
    max-width: 200px;
    height: auto;
}

.mobile-content h2 {
    color: #6ec1e4;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.mobile-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .logo-image {
        min-height: 200px;
    }

    .timeline-nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .year-btn {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 0;
        padding-top: 60px;
        padding-bottom: 115px;
    }

    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }

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

@media (max-width: 575px) {

    .mobile-timeline-item {
        padding: 20px;
    }

    .mobile-logo-image {
        padding: 20px;
    }
}