/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero .date {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-color);
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.element-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* History Section */
.history {
    padding: 5rem 0;
    background: var(--light-color);
}

.history h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.history .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.history-toggle {
    text-align: center;
    margin-bottom: 2rem;
}

.toggle-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.toggle-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.toggle-button.active .toggle-icon {
    transform: rotate(180deg);
}

.history-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.history-content.active {
    max-height: 5000px;
}

.stats-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.stats-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.table-container {
    overflow-x: auto;
    margin: 3rem 0;
    box-shadow: var(--shadow);
    border-radius: 15px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.stats-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.stats-table th {
    padding: 1.2rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.stats-table tbody tr {
    border-bottom: 1px solid var(--light-color);
    transition: all 0.3s ease;
}

.stats-table tbody tr:hover {
    background: var(--light-color);
    transform: scale(1.01);
}

.stats-table td {
    padding: 1rem 1.2rem;
    font-size: 1rem;
}

.stats-table tbody tr:nth-child(even) {
    background: rgba(236, 240, 241, 0.3);
}

.stats-table tbody tr:nth-child(even):hover {
    background: var(--light-color);
}

.total-row {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) !important;
    color: var(--white) !important;
    font-size: 1.2rem !important;
}

.total-row td {
    padding: 1.5rem 1.2rem !important;
    font-weight: 700;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.summary-card h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.summary-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background: var(--white);
}

.schedule h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: var(--light-color);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--white);
}

.schedule-content {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-day {
    display: none;
    animation: fadeIn 0.5s ease;
}

.schedule-day.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.schedule-item.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.time {
    font-weight: 700;
    font-size: 1.1rem;
}

.activity {
    font-size: 1.1rem;
}

/* Sports Section */
.sports {
    padding: 5rem 0;
    background: var(--light-color);
}

.sports h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sport-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sport-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.session-time {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sport-list {
    list-style: none;
    font-size: 1.2rem;
}

.sport-list li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sport-list li:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Event Details Section */
.event-details {
    padding: 5rem 0;
    background: var(--white);
}

.event-details h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.details-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.info-list li {
    padding: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--white);
}

.info-list li:last-child {
    border-bottom: none;
}

.details-note {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-info h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        margin-top: 80px;
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero .date {
        font-size: 1.2rem;
    }

    .hero-logo {
        width: 150px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .element-logo {
        margin: 0 auto;
        display: block;
    }

    .schedule h2,
    .sports h2,
    .about h2,
    .history h2,
    .event-details h2 {
        font-size: 2rem;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .details-content {
        padding: 2rem;
    }

    .table-container {
        margin: 2rem -20px;
        border-radius: 0;
    }

    .stats-table th,
    .stats-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    .stats-summary {
        grid-template-columns: 1fr 1fr;
    }

    .summary-card h3 {
        font-size: 2rem;
    }

    .toggle-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        height: 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .schedule-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .stats-table th,
    .stats-table td {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
    }

    .stats-summary {
        grid-template-columns: 1fr;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .summary-card h3 {
        font-size: 2.5rem;
    }

    .stats-intro p {
        font-size: 1rem;
    }
}
