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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Header Styles */
header {
    background-color: #202020;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    height: 80px;
    /* Removed filter to show original logo colors (red and black) */
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #fff;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ff4500;
    border-bottom: 2px solid #ff4500;
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 8rem 0;
    overflow: hidden;
}

#hero-video,
#hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Desktop/Mobile Display Classes */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #ff4500;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e03e00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.feature {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #ff4500;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f4f4f4;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-box {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-box h3 {
    color: #ff4500;
    margin-bottom: 1rem;
}

.cta {
    text-align: center;
    padding: 3rem;
    background-color: #333;
    color: #fff;
    border-radius: 10px;
}

.cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

.cta .btn {
    background-color: #ff4500;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo,
.footer-links,
.footer-social {
    flex: 1;
    min-width: 250px;
}

.logo-small {
    height: 50px;
    margin-bottom: 1rem;
    /* Removed filter to show original logo colors (red and black) */
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: #ff4500;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4500;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    color: #ccc;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ff4500;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Schedule Page Specific Styles */
.schedule-container {
    padding: 5rem 0;
}

.schedule-container h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.schedule-img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Kids Page Specific Styles */
.kids-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Assets/kids_header.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 8rem 0;
}

.kids-programs {
    padding: 5rem 0;
    background-color: #fff;
}

.program-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    color: #ff4500;
    margin-bottom: 1rem;
}

/* Gym Page Specific Styles */
.gym-facilities {
    padding: 5rem 0;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* News Page Specific Styles */
.news-container {
    padding: 5rem 0;
}

.news-item {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

.news-image {
    flex: 1;
    min-width: 300px;
}

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

.news-content {
    flex: 2;
    min-width: 300px;
}

.news-date {
    color: #777;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.news-excerpt {
    margin-bottom: 1.5rem;
}

.read-more {
    color: #ff4500;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e03e00;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 101;
    width: 40px;
    height: 40px;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Responsive Styles */
@media (max-width: 768px) {

    /* Switch hero video to image on mobile */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* Hide logo on index page for mobile */
    body:has(> header + .hero) .logo-container {
        display: none;
    }

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

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

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #202020;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    nav ul.show {
        right: 0;
    }

    nav li {
        width: 100%;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    .features,
    .contact-info {
        flex-direction: column;
    }

    .feature,
    .info-box {
        margin-bottom: 2rem;
    }
}