/* Fixtures Images Display Styles */

.fixtures-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Large screens (laptops and desktops) - 60% width */
@media (min-width: 1025px) {
    .fixtures-section .container {
        max-width: 60%;
        width: 60%;
        margin: 0 auto;
    }
}

/* Default container styling */
.fixtures-section .container {
    margin: 0 auto;
}

.fixtures-content-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease;
}

.fixtures-content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

.fixtures-image-wrapper {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.fixtures-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.2);
}

.fixtures-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

/* Grid Layout for Multiple Images */
.fixtures-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Tournament Rules - 3 columns in single row for large screens */
.tournament-rules-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (min-width: 1025px) {
    .tournament-rules-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fixtures-section .container {
        max-width: 85%;
        width: 85%;
    }

    .fixtures-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }

    .tournament-rules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .fixtures-section .container {
        max-width: 95%;
        width: 95%;
    }

    .fixtures-section {
        padding: 2rem 0;
    }

    .fixtures-content-section {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .fixtures-image-wrapper {
        border-radius: 12px;
    }

    .fixtures-image {
        border-radius: 10px;
    }

    .fixtures-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tournament-rules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fixtures-section .container {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }

    .fixtures-section {
        padding: 1.5rem 0;
    }

    .fixtures-content-section {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .fixtures-image-wrapper {
        border-radius: 10px;
    }

    .fixtures-image {
        border-radius: 8px;
    }

    .fixtures-images-grid {
        gap: 1rem;
    }

    .tournament-rules-grid {
        gap: 1rem;
    }
}

@media (max-width: 360px) {
    .section-title {
        font-size: 1.35rem;
    }

    .fixtures-image-wrapper {
        border-radius: 8px;
    }

    .fixtures-image {
        border-radius: 6px;
    }
}

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

/* Dark Mode Support */
[data-theme="dark"] .fixtures-image-wrapper {
    background: transparent;
    box-shadow: none;
}

[data-theme="dark"] .fixtures-image-wrapper:hover {
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.2);
}

[data-theme="dark"] .section-title {
    color: var(--text-primary);
}
