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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
    color: #2C2C2C;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

/* Header */
.header {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 2px solid #0066FF;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2C2C;
    text-decoration: none;
}

.header-contact .phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0066FF;
    text-decoration: none;
}

/* Hero Section */
.centered-content {
    text-align: center;
}

.centered-content .container > * {
    margin-left: auto;
    margin-right: auto;
}

.hero {
    background: linear-gradient(135deg, #0066FF 0%, #2C2C2C 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(57,255,20,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content h1 {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.feature:hover {
    background: rgba(57, 255, 20, 0.1);
    transform: translateY(-5px);
    border-color: rgba(57, 255, 20, 0.4);
}

.feature-icon {
    font-size: 2rem;
}

.feature span {
    font-weight: 600;
    text-align: center;
}

.cta-button {
    background: #39FF14;
    color: #2C2C2C;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #32E612;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.4);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #0066FF;
}

.about-card h3 {
    color: #0066FF;
    margin-bottom: 1rem;
}

/* Programs Sections */
.day-programs, .evening-programs {
    padding: 4rem 0;
}

.day-programs {
    background: white;
}

.evening-programs {
    background: #2C2C2C;
    color: white;
}

.evening-programs h2 {
    color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.program-image {
    background: #f0f0f0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    border-bottom: 3px solid #0066FF;
}

.program-card h3,
.program-card p {
    padding: 0 1.5rem;
}

.program-card h3 {
    margin-top: 1.5rem;
    color: #0066FF;
}

.program-features {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li:before {
    content: "✓";
    color: #39FF14;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.esports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.esports-card {
    background: #0066FF;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #39FF14;
}

.esports-card h3 {
    color: #39FF14;
    margin-bottom: 1rem;
}

.esports-card p {
    color: white;
}

.esports-image {
    margin-bottom: 1rem;
}

.esports-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Coaching Section */
.coaching {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.coach-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.coach-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #39FF14;
}

.coach-image {
    background: #e0e0e0;
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Facilities Section */
.facilities {
    padding: 4rem 0;
    background: white;
}

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

.facility-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.facility-item:hover {
    border-color: #0066FF;
    transform: translateY(-5px);
}

.facility-item h3 {
    color: #0066FF;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: #2C2C2C;
    color: white;
}

.services h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    color: #2C2C2C;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #39FF14;
}

.service-card h3 {
    color: #0066FF;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #39FF14;
    margin: 1.5rem 0;
}

.service-button {
    background: #0066FF;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.service-button:hover {
    background: #0052CC;
    transform: translateY(-2px);
}

/* Schedule Section */
.schedule {
    padding: 4rem 0;
    background: #f8f9fa;
}

.schedule-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.schedule-info ol {
    padding-left: 1.5rem;
}

.schedule-info li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.schedule-table table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.schedule-table th {
    background: #0066FF;
    color: white;
}

.schedule-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Contacts Section */
.contacts {
    padding: 4rem 0;
    background: white;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0066FF;
}

.contact-item h3 {
    color: #0066FF;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066FF;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background: #39FF14;
    color: #2C2C2C;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #32E612;
}

/* Footer */
.footer {
    background: #2C2C2C;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
    align-items: start;
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-section h4 {
    color: #39FF14;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: #39FF14;
    text-decoration: underline;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
    color: #999;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

#orderForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

#orderForm input,
#orderForm select,
#orderForm textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#orderForm button {
    background: #0066FF;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .feature {
        min-width: 250px;
        max-width: 300px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .coaching-content {
        grid-template-columns: 1fr;
    }
    
    .schedule-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .feature {
        min-width: 200px;
        padding: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .service-card,
    .program-card,
    .facility-item {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}