/* Base Styles */
:root {
    --primary: #ff6b00;
    --secondary: #005792;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.ball-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    margin-right: 10px;
}

.ball-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid white;
    border-radius: 50%;
}

.ball-icon.small {
    width: 30px;
    height: 30px;
}

.ball-icon.small::before {
    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    background-color: var(--secondary);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.court-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.court-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: white;
}

.court-lines::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: white;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2, .team h2, .schedule h2, .contact h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about h2::after, .team h2::after, .schedule h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.stat-item {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    height: 200px;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.member-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.team-member h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.team-member p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background-color: white;
}

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

.match {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.match-date {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.month {
    font-size: 1rem;
    text-transform: uppercase;
}

.match-details {
    padding: 20px;
    flex: 1;
}

.match-details h3 {
    margin-bottom: 5px;
}

.match-details p {
    color: var(--gray);
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: white;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.5s ease-in-out;
    }

    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .about-content, .contact-content {
        flex-direction: column;
    }

    .match {
        flex-direction: column;
    }

    .match-date {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px 20px;
    }

    .day {
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
    }

    .hero {
        padding: 60px 0;
    }

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

    section {
        padding: 60px 0;
    }
}