/* Home Page Styles */

/* Hero Banner Carousel Styles */
.hero-carousel { 
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

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

.carousel-slide.slide-1 {
    background-image: url('/images/banners/hero-banner-1.jpg');
}

.carousel-slide.slide-2 {
    background-image: url('/images/banners/hero-banner-2.jpg');
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Hero Content Below Banner */
.hero-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0 3rem 0;
    text-align: center;
}

.hero-title { 
    font-size: 3rem; 
    margin-bottom: 1rem; 
    font-weight: bold;
    color: #333;
}

.hero-subtitle { 
    font-size: 1.25rem; 
    margin-bottom: 3rem; 
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero section buttons only - not header buttons */
.hero-content-section .btn, 
.hero-content-section .cta-button,
.content-card .btn,
.content-card .cta-button { 
    display: inline-block; 
    padding: 15px 30px; 
    margin: 0 10px; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 600;
    transition: all 0.3s ease;
    vertical-align: middle;
    font-size: 1.1rem;
}

.hero-content-section .btn:hover, 
.hero-content-section .cta-button:hover,
.content-card .btn:hover,
.content-card .cta-button:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.hero-content-section .btn-outline,
.content-card .btn-outline { 
    background: transparent; 
    color: #667eea; 
    border: 2px solid #667eea; 
}

.hero-content-section .btn-outline:hover,
.content-card .btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-title {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.timeline-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b35, #667eea, #28a745, #ffc107, #dc3545, #6c757d);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    max-width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 4px solid;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
    z-index: 2;
}

.timeline-year.year-2008 { border-color: #6c757d; background: #6c757d; }
.timeline-year.year-2014 { border-color: #17a2b8; background: #17a2b8; }
.timeline-year.year-2015 { border-color: #28a745; background: #28a745; }
.timeline-year.year-2016 { border-color: #ffc107; background: #ffc107; color: #333; }
.timeline-year.year-2017 { border-color: #dc3545; background: #dc3545; }
.timeline-year.year-2018 { border-color: #007bff; background: #007bff; }

.timeline-title-item {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

.timeline-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.section { 
    padding: 4rem 0; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

.content-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-content {
        max-width: none;
        margin-left: 5rem !important;
        margin-right: 1rem !important;
    }
    
    .timeline-year {
        left: 40px;
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
}