/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 1rem 2rem;
}

nav .logo h1 {
    color: #fff;
    margin: 0;
}

nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav .nav-links li {
    margin-left: 1rem;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav .nav-links a:hover {
    color: #f4c10f;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Space between logo and text */
}

.logo-img {
    width: 40px;
    /* Adjust size as needed */
    height: 40px;
    /* Adjust size as needed */
    border-radius: 50%;
    /* Makes the logo round */
    object-fit: cover;
    /* Ensures the image fits within the circle */
}

.logo h1 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    /* Adjust font size as needed */
}

.hero {
    background: url('gym-hero-desktop.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-content h2 {
    font-size: 3rem;
    margin: 0;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.btn {
    background-color: #f4c10f;
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.btn:hover {
    background-color: #e0b10e;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    /* Space between icons */
    margin-top: 1.5rem;
}

.social-icons p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    /* White text to match the hero section */
    font-weight: bold;
}

.social-icons a {
    color: #fff;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f4c10f;
    /* Change color on hover */
}

/* Mobile Background Image */
.mobile-bg {
    display: none;
}

/* Services Section */
.services {
    padding: 2rem;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: #f4f4f4;
    padding: 1rem;
    margin: 1rem;
    border-radius: 5px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 2rem;
    text-align: center;
    background-color: #f4f4f4;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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


/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

footer p {
    margin: 0.5rem 0;
}

/* About Section */
.about {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    /* White background */
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    color: #555;
    /* Darker text for better readability */
}

/* Map Section */
.map-section {
    padding: 2rem;
    text-align: center;
    background-color: #f4f4f4;
    /* Light gray background */
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.map-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding: 1rem;
}

.map-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.map-info p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f4c10f;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.nav:hover {
    color: #f4c10f;
}

.nav.prev {
    left: 30px;
}

.nav.next {
    right: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        background: none;
    }

    .mobile-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('gym-hero-mobile.jpg') no-repeat center center/cover;
        z-index: -1;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

    .service-cards {
        flex-direction: column;
        margin: 3;
    }

    .card {
        width: 100%;
        margin: 1rem 0;
    }

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

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

    .social-icons a {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 30px;
        /* Smaller logo for mobile */
        height: 30px;
    }

    .logo h1 {
        font-size: 1.2rem;
        /* Smaller text for mobile */
    }

    .map-content {
        flex-direction: column;
    }

    .map-container {
        width: 100%;
        padding-top: 75%;
        /* Adjust aspect ratio for mobile */
    }

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

}

