/* ========================================
   HOME PAGE STYLES
======================================== */

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(255, 117, 31, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.5;
    color: var(--primary-orange-light);
    animation: fadeInUp 1.2s ease;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 15px;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
}

/* PLAY SECTION */
.play-section {
    text-align: center;
    padding: 80px 0;
}

.play-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    color: var(--color-dark);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 30px;
}

/* SPORTS GALLERY */
.sports-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--color-white);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-orange);
}

/* STATISTICS SECTION */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 117, 31, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: rgba(255, 117, 31, 0.1);
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s ease infinite;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: var(--font-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--color-gray-lighter);
    line-height: 1.6;
    margin: 0;
}

/* TOURNAMENTS SECTION */
.tournaments-section {
    padding: 80px 0;
    background: var(--color-light-bg);
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.tournament-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.tournament-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange);
}

.tournament-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.tournament-title {
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-align: center;
}

.tournament-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 25px;
}

.tournament-details {
    background: var(--color-light-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-orange);
}

.tournament-details p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--color-gray);
}

.tournament-details p:last-child {
    margin-bottom: 0;
}

.tournament-details strong {
    color: var(--color-dark);
}

.tournament-card .btn {
    width: 100%;
}

/* WHY CHOOSE SECTION */
.why-choose-section {
    padding: 80px 0;
}

.why-choose-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-text {
    text-align: center;
}

.features-list {
    text-align: left;
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.features-list li {
    padding: 15px 15px 15px 45px;
    font-size: 1.1rem;
    color: var(--color-gray);
    position: relative;
    transition: all var(--transition-fast);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.3rem;
}

.features-list li:hover {
    color: var(--primary-orange);
    padding-left: 50px;
}

/* FACILITIES SECTION */
.facilities-section {
    padding: 80px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.facility-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.facility-item:hover img {
    transform: scale(1.1);
}

/* VISIT SECTION */
.visit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: var(--color-white);
    text-align: center;
}

.visit-content {
    max-width: 700px;
    margin: 0 auto;
}

.visit-section .section-title {
    color: var(--color-white);
}

.visit-section .section-title::after {
    background: var(--color-white);
}

.visit-subtitle {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.opening-hours-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.opening-hours-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.opening-hours-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.opening-hours-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 992px) {
    .hero-section {
        min-height: 70vh;
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tournaments-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-item {
        padding: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .facility-item {
        height: 350px;
    }
    
    .tournament-card {
        padding: 30px;
    }
    
    .features-list {
        padding: 20px;
    }
    
    .features-list li {
        font-size: 1rem;
        padding: 12px 12px 12px 40px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .section,
    .tournaments-section,
    .stats-section,
    .play-section,
    .why-choose-section,
    .visit-section {
        padding: 50px 0;
    }
}

