/**
 * Gazprom Stadiums & Facilities Section Styles
 * Showcasing iconic stadiums powered by Gazprom
 */

.stadiums-section {
    position: relative;
    background: linear-gradient(180deg, #001022 0%, #001a3d 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* Background geometric grid effect */
.stadiums-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 191, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.stadiums-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.stadiums-header {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.stadiums-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #00c8ff;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.stadiums-header p {
    color: #b9d7f5;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stadium Slider Container */
.stadiums-slider-container {
    position: relative;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 50px rgba(0, 191, 255, 0.2);
}

/* Slider Track */
.stadiums-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Stadium Slide */
.stadium-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.stadium-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.stadium-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease-out;
}

.stadium-slide.active .stadium-slide-bg {
    transform: scale(1.1);
}

.stadium-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 16, 34, 0.3) 0%,
        rgba(0, 16, 34, 0.6) 50%,
        rgba(0, 16, 34, 0.95) 100%
    );
    z-index: 1;
}

.stadium-slide-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.stadium-slide.active .stadium-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.stadium-slide-content h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 191, 255, 0.5);
    letter-spacing: 1px;
}

.stadium-slide-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #aee4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigation Buttons */
.stadium-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 16, 34, 0.6);
    border: 2px solid rgba(0, 191, 255, 0.4);
    color: #00c8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(15px);
}

.stadium-nav:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00c8ff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
}

.stadium-nav svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.stadium-nav-prev {
    left: 30px;
}

.stadium-nav-next {
    right: 30px;
}

/* Dots Navigation */
.stadium-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

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

.stadium-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.stadium-dot.active {
    background: #00c8ff;
    border-color: #00c8ff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
    width: 35px;
    border-radius: 6px;
}

.stadium-icon {
    width: 20px;
    height: 20px;
    stroke: #00c8ff;
}

/* Footer Section */
.stadiums-footer {
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-radius: 50px;
    background: linear-gradient(90deg, #009cff, #00e0ff);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-view:hover::before {
    width: 300px;
    height: 300px;
}

.btn-view:hover {
    box-shadow: 0 6px 30px rgba(0, 224, 255, 0.5);
    transform: translateY(-2px);
}

.btn-view svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-view:hover svg {
    transform: translateX(5px);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .stadiums-slider-container {
        height: 500px;
    }
    
    .stadium-slide-content {
        bottom: 40px;
        left: 40px;
        right: 40px;
    }
    
    .stadium-nav {
        width: 50px;
        height: 50px;
    }
    
    .stadium-nav-prev {
        left: 20px;
    }
    
    .stadium-nav-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .stadiums-section {
        padding: 60px 0;
    }
    
    .stadiums-header {
        margin-bottom: 40px;
    }
    
    .stadiums-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .stadiums-header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .stadiums-slider-container {
        height: 450px;
        border-radius: 20px;
    }
    
    .stadium-slide-content {
        bottom: 30px;
        left: 25px;
        right: 25px;
    }
    
    .stadium-slide-content h3 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }
    
    .stadium-slide-content p {
        font-size: 1rem;
    }
    
    .stadium-nav {
        width: 45px;
        height: 45px;
    }
    
    .stadium-nav svg {
        width: 22px;
        height: 22px;
    }
    
    .stadium-nav-prev {
        left: 15px;
    }
    
    .stadium-nav-next {
        right: 15px;
    }
    
    .stadium-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .stadium-dot {
        width: 10px;
        height: 10px;
    }
    
    .stadium-dot.active {
        width: 28px;
    }
    
    .stadiums-footer {
        margin-top: 40px;
    }
    
    .btn-view {
        padding: 12px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stadiums-section {
        padding: 50px 0;
    }
    
    .stadiums-slider-container {
        height: 400px;
        border-radius: 15px;
    }
    
    .stadium-slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .stadium-slide-content h3 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .stadium-slide-content p {
        font-size: 0.9rem;
    }
    
    .stadium-nav {
        width: 40px;
        height: 40px;
    }
    
    .stadium-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .stadium-nav-prev {
        left: 10px;
    }
    
    .stadium-nav-next {
        right: 10px;
    }
    
    .btn-view {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}
