/* CSS Variables */
:root {
    --primary-color: #ffd700;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark Grey */
    --accent-color: #d32f2f;
    /* Red */
    --text-light: #f4f4f4;
    --text-dark: #333;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Utilities */
.mt-2 {
    margin-top: 2rem;
}

.center-text {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

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

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/header.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Increased opacity for better text visibility */
    background: rgba(0, 0, 0, 0.60);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border-radius: 2px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Sections Global */
.section {
    padding: 5rem 0;
}

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

.bg-card {
    background-color: var(--bg-card);
}

/* Grid Systems */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

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

/* About / Philosophy Content */
.text-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.image-content img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
}

/* Benefits Section */
.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Value Cards (Why Us) */
.value-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #333;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Class Cards */
.class-card {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: 5px;
    border-left: 5px solid var(--primary-color);
}

/* Trainers Section */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.trainer-card {
    text-align: center;
    background-color: var(--bg-dark);
    /* Card background on top of section bg */
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trainer-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

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

.trainer-card p {
    font-size: 1rem;
    color: var(--text-light);
}

.class-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Gallery */
.gallery-grid img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Schedule Section */
.schedule-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

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

.schedule-table th {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.schedule-table td.class-type {
    font-weight: 500;
}

.beginner {
    color: #4caf50;
}

.kids {
    color: #2196f3;
}

.advanced {
    color: var(--accent-color);
}

/* Contact / Location Section */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--section-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.map-container iframe {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: #000;
    text-align: center;
    margin-top: auto;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

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

    .hero p {
        font-size: 1rem;
    }

    .grid-2-col,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-left {
        text-align: center;
    }
}