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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #8b0000;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: var(--primary-color); /* Fallback color instead */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.slide.active {
    opacity: 1;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-buttons {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--white);
}

/* News Section */
.news-section {
    padding: 60px 0;
    background-color: var(--white);
}

.news-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.news-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-image:hover img {
    transform: scale(1.05);
}

.news-box {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.news-box p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.news-box p:last-of-type {
    margin-bottom: 0;
}

.news-date {
    color: #666;
    font-style: italic;
    font-size: 0.95rem !important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

/* Instagram Section */
.instagram-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.instagram-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.instagram-handle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.instagram-post {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.instagram-post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.instagram-placeholder {
    text-align: center;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    grid-column: 1 / -1;
}

.instagram-placeholder .note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* Lessons Section */
.lessons-section {
    padding: 60px 0;
}

.discount-note {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.discount-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.discount-note strong {
    color: var(--primary-color);
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
    align-items: stretch;
}

.lesson-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lesson-card:hover {
    transform: translateY(-5px);
}

.lesson-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.lesson-card h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.lesson-description {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
    flex-grow: 0;
    min-height: 140px;
}

.pricing {
    margin: 2rem 0;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-option h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.price-details {
    color: #666;
    font-size: 0.9rem;
    flex-grow: 1;
    margin-top: auto;
}

.class-features {
    list-style: none;
    margin-top: 2rem;
}

.class-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.class-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-section p {
    margin-bottom: 2rem;
    color: #666;
}

/* Location Section */
.location-section {
    padding: 60px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.address-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.address-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.address {
    margin-bottom: 1.5rem;
}

.address p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.map-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.google-map {
    border-radius: 8px;
    width: 100%;
}

.map-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.hours-section {
    margin-top: 40px;
}

.hours-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.hours-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 5px;
}

.hours-item .day {
    font-weight: 600;
    color: var(--primary-color);
}

.hours-item .time {
    color: var(--accent-color);
    font-weight: 500;
}

.hours-note {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.hours-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.hours-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.hours-note a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

.contact-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Schedule Section */
.schedule-section {
    padding: 60px 0;
    background-color: var(--white);
}

.schedule-container {
    max-width: 1400px;
    margin: 0 auto;
}

.schedule-legend {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.schedule-legend h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.legend-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.class-adult {
    background-color: #4a90e2;
    color: var(--white);
}

.class-kids {
    background-color: #f5a623;
    color: var(--white);
}

.class-open-mat {
    background-color: #7ed321;
    color: var(--white);
}

.class-competition {
    background-color: #bd10e0;
    color: var(--white);
}

.schedule-embed-wrapper {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    position: relative;
}

.schedule-embed {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.schedule-note {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.schedule-note p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.schedule-note strong {
    color: var(--primary-color);
}

.schedule-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.schedule-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--primary-color);
        flex-direction: column;
        gap: 0;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
    }

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

    /* Overlay using body pseudo-element approach */
    body.nav-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        width: 100%;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .slider-buttons {
        flex-direction: column;
        width: 80%;
    }

    .slider-buttons .btn {
        width: 100%;
        text-align: center;
    }

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

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

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

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

    .news-image {
        min-height: 300px;
    }

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

    .hours-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-embed-wrapper {
        border-radius: 0;
    }

    .schedule-embed {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .lesson-card {
        padding: 20px;
    }

    .schedule-embed-wrapper {
        border-radius: 0;
    }

    .schedule-embed {
        height: 500px;
    }
}

