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

:root {
    --primary-color: #009C3B;
    --primary-hover: #ef6c00;
    --secondary-color: #2e7d32;
    --dark-color: #1a1a1a;
    --light-color: #f9f9f9;
    --gray-color: #666;
    --light-gray: #eee;
    --white: #ffffff;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.3;
    color: #333;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* --- Navigation --- */
.navbar {
    background-color: var(--dark-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Header / Hero Section --- */
/* --- Header / Hero Section --- */
.hero {
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); /* Replaces the previous dark linear-gradient */
    z-index: 2;
}

.hero .hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ddd;
}

/* --- General Section Styles --- */
section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

/* --- First Class & Schedule Section --- */
.split-section {
    background-color: var(--light-color);
}

#schedule .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#schedule .info-card {
    max-width: 740px;
    width: 100%;
    flex: 1;
}

.info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.map-placeholder {
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 500;
}

.map-placeholder iframe {
    width: 100%;
    max-height: 450px;
}

.schedule-list {
    list-style: none;
    margin-top: 15px;
}

.schedule-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

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

.schedule-list strong {
    color: var(--dark-color);
}

/* --- Classes Overview Section --- */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.class-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.class-card h3 {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

/* --- About Section --- */
.about-section {
    background-color: var(--light-color);
}

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

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    border-radius: 8px;
    font-weight: bold;
}

.imgs{
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: solid thin #333;
    overflow: hidden;
}

.video01 {
    width: 100%;
    height: 440px;
}

.video01 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img_abara{
    width: 100%;
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background-color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    background-color: #d1d5db;
    font-weight: 600;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Helper class for section title in dark areas */
.text-white {
    color: var(--white) !important;
}

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

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

.footer-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.footer-text a {
    color: var(--white);
    transition: color 0.3s ease;
}

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

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

.copyright {
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

/* Add inside your @media (max-width: 768px) block for responsiveness */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

a {
    color: var(--white);
}

a.whatsapp {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Media Queries (Tablet & Mobile Responsiveness) --- */
@media (max-width: 900px) {
    #schedule .container {
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.95rem;
    }

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

    .hero h3 {
        font-size: 1.1rem;
    }

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

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