/* General Styles */
:root {
    --primary-dark: #1A202C; /* Example dark background color */
    --secondary-green: #4CAF50; /* Example button green */
    --text-light: #f0f0f0; /* Example light text color */
    --text-dark: #333; /* Example dark text color */
    --accent-brown: #8B5F42; /* Example accent brown for trainer cards */
    --accent-blue: #70A0B0; /* Example accent blue for trainer cards */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; /* Replace with your desired font from Google Fonts */
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-green);
}

button {
    cursor: pointer;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Navbar */
.navbar {
    background-color: rgba(26, 32, 44, 0.9); /* Slightly transparent dark */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.navbar .logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
}

.logoimage {
    width: 150px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    border-radius: 10%; /* Optional: for a circular logo */
    margin-right: 10px; /* Space between logo and text */
}


.icons {
    width: 60px; /* Adjust as needed */
    height: 60px; /* Adjust as needed */
    border-radius: 10%; /* Optional: for a circular logo */
    margin-right: 10px; /* Space between logo and text */

}



.navbar .nav-links ul {
    list-style: none;
    display: flex;
}

.navbar .nav-links ul li {
    margin-left: 30px;
}

.navbar .nav-links ul li a {
    font-size: 1.1rem;
    position: relative; /* For underline effect */
}

.navbar .nav-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--secondary-green);
    transition: width 0.3s ease;
}

.navbar .nav-links ul li a:hover::after {
    width: 100%;
    left: 0;
    background: var(--secondary-green);
}

.navbar .c-button {
    background-color: var(--secondary-green);
    color: white;
}

.navbar .c-button:hover {
    background-color: #3e8e41; /* Darker green */
    transform: translateY(-2px);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: var(--text-light);
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden; /* For parallax effect if added */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}


.c-button {
    background-color: var(--secondary-green);
    color: white;
    font-size: 1.2rem;
    padding: 10px 25px;
    border-radius: 10px;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

button:focus,
a:focus {
    outline: 2px dashed var(--secondary-green);
    outline-offset: 4px;
}

.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 30px;
    background-color: var(--secondary-green);
    color: wheat;
    border: none;
    padding: 12px 18px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #2D3748; /* Slightly lighter dark for cards */
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-green);
}

.feature-item p {
    color: var(--text-light);
}

/* Trainers Section */
.trainers-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.trainers-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

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

.trainer-card {
    background-color: #2D3748;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.trainer-card img {
    width: 100%;
    height: 350px; /* Adjust as needed */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease; /* For image hover effect */
}

.trainer-card:hover img {
    transform: scale(1.05);
}

.trainer-card h3 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: var(--text-light);
}

.trainer-card p {
    color: var(--secondary-green);
    padding-bottom: 20px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Adjust as needed */
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #2D3748;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #4A5568;
    border-radius: 5px;
    background-color: #1A202C;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.send-message-button {
    background-color: var(--secondary-green);
    color: white;
    font-size: 1.1rem;
    padding: 12px 30px;
    width: auto;
    float: right; /* Align to the right as in the design */
}

.send-message-button:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #1A202C;
    color: #A0AEC0;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #2D3748;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer .social-links a {
    margin: 0 10px;
    color: #A0AEC0;
    font-size: 1.1rem;
}

footer .social-links a:hover {
    color: var(--secondary-green);
}

/* Responsive Design (Media Queries) */
@media (max-width: 992px) {
    .navbar .nav-links {
        display: none; /* Hide nav links by default on smaller screens */
    }

    .navbar .join-button {
        display: none; /* Hide join button on smaller screens, can be shown in dropdown */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu */
    }

    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background-color: rgba(26, 32, 44, 0.95);
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
    }

    .navbar.active .nav-links ul {
        flex-direction: column;
    }

    .navbar.active .nav-links ul li {
        margin: 15px 0;
    }

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

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

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

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .features-grid,
    .trainers-grid,
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack elements on very small screens */
    }

    .contact-form {
        padding: 25px;
    }
}
