/* Apply fonts */
body {
    
    background: url('../img/ping_pong_background.jpg') center center fixed;
    color: #fff; /* Ensure text is readable (white) */
    font-family: 'Numans', sans-serif; /* Default font for the body */
    padding: 20px;
    line-height: 1.8em;
    overflow-x: hidden; /* Optional: To prevent horizontal scrolling */
        margin: 20px auto;

    

}

}

nav {
    display: flex;
    justify-content: space-between; /* Distributes space evenly between items */
    align-items: center; /* Centers items vertically */
    background: linear-gradient(90deg, #726C6C); /* Optional background */
    padding: 10px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

        /* Logo Container Styling */
        .logo-container {
            text-align: center;
            margin: 20px 0; /* Add some spacing above and below the logo */
    text-align: center; /* Centers the logo horizontally */

        }

       .logo {
    width: 150px; /* Set logo width */
    height: auto; /* Maintain aspect ratio */
}

/* Apply padding to headings in Membership Questions section */
.membership-questions h3 {
    padding-left: 100px; /* Adjust the padding value as per your preference */
}


h1, h2, h3, h4, h5, h6 {
    color: gold; /* gold headings */
    font-family: 'Averia Sans Libre', sans-serif; /* Heading font */
    font-weight: 700; /* Bold headings */
        padding-left: 65px; /* Add padding to move the heading to the right */

    
    
}

/* Style for Membership Questions section */
.membership-questions {
    background-color: #222;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.membership-questions h3 {
    font-family: 'Averia Sans Libre', sans-serif;
    color: cyan;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    margin: 0;
    background-color: #444;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.membership-questions h3:hover {
    background-color: #333;
}



}



    
}


/* Ensure your other styles remain intact */
.intro-text h2 {
    word-spacing: 0.25em;
    letter-spacing: -0.01em;
    font-size: 28px;
    line-height: 1em;
    margin-bottom: 15px;
    color: #fff; /* Changed to ensure readability */
    font-family: 'Averia Sans Libre', sans-serif; /* Override to use heading font */
}

.intro-text p {
    font-size: 16px;
    line-height: 1.5;
    color: #ccc; /* Adjusted for better readability */
    font-family: 'Numans', sans-serif; /* Use Numans font for regular text */
}

/* .calendar-button:hover - Fixed Missing Bracket */
.calendar-button:hover {
    background-color: #555;
}

/* .club-history - Ensure Proper Closing */
.club-history {
    background-color: #000; /* Black background around the content */
    color: #fff; /* White text to ensure readability */
    padding: 20px; /* Optional: Add padding around the section */
}



.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px; /* Unified grid gap */
}

.col3, .col4 {
    background-color: #505050;
    border-radius: 8px;
    padding: 80px;
    margin-bottom: 20px; /* Adds space below each grid column */
}

/* If the footer is directly below the grid, add margin to the grid container */
.grid {
    margin-bottom: 40px; /* Adjust this value to control the space between grid and footer */
}

nav {
    background: #999;
    padding: 5px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline;
    text-align: center;
}

a {
    text-decoration: none;
    padding: 10px 20px;
    color: #000;
    background: #ddd;
    display: inline-block;
    width: 100px;
    transition: all 0.7s;
}

a:hover {
    color: #fff;
    background: #333;
    transform: translateY(-5px) scale(1.05);
}

.featured {
    height: 80vh;
    background: url('../img/hero.webp') center center no-repeat fixed;
   background-size: cover;
    display: grid;
}
}

.button-container {
    margin-top: 460px;
}

.join-button {
    width: 160px;
    height: 40px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    line-height: 40px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s;

    /* New positioning styles */
    position: relative; /* Enables offset positioning */
    left: 650px; /* Moves the button 20px to the right */
    top: 250px; /* Moves the button 10px down */
}

}

.join-button:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-5px) scale(1.1);
}

.intro-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    gap: 20px;
    background-color: #000000;
}

.intro-image, .facility-item img {
    width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.5;
}


.upcoming-events, .testimonial-item {
    padding: 20px;
    background-color: #fff;
    text-align: center;
    border: 1px solid #ddd;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.footer-section h3 {
    color: #ddd;
    margin-bottom: 10px;
}

.footer-section p, .footer-section ul {
    color: #bbb;
    font-size: 14px;
    margin: 0;
}

.social-media a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #fff;
}

.rsp {
    width: 100%;
    height: auto;
}

.facilities, .testimonials {
    padding: 50px;
    text-align: center;
}

.testimonial-container, .facility-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item, .testimonial-item {
    max-width: 300px;
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .sm1 { grid-column-end: span 12; }
    .sm2 { grid-column-end: span 6; }
    .sm3 { grid-column-end: span 4; }
    .sm4 { grid-column-end: span 3; }
    .sm6 { grid-column-end: span 2; }
    .sm12 { grid-column-end: span 1; }
}

@media only screen and (min-width: 601px) {
    .md1 { grid-column-end: span 12; }
    .md2 { grid-column-end: span 6; }
    .md3 { grid-column-end: span 4; }
    .md4 { grid-column-end: span 3; }
    .md6 { grid-column-end: span 2; }
    .md12 { grid-column-end: span 1; }
}

@media only screen and (min-width: 1025px) {
    .grid { max-width: 1400px; margin: 0 auto; }
    .col1 { grid-column-end: span 12; }
    .col2 { grid-column-end: span 6; }
    .col3 { grid-column-end: span 4; }
    .col4 { grid-column-end: span 3; }
    .col6 { grid-column-end: span 2; }
    .col12 { grid-column-end: span 1; }
}

}

/* Container for side-by-side layout */
.container {
    display: flex;
    gap: 20px; /* Space between sections */
    padding: 20px;
    justify-content: center;
}

/* Opening Hours Box */
.opening-hours {
    background-color: #505050;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hours-box p {
    font-size: 16px;
    margin: 10px 0;
}

/* Contact Form Styling */
.contact-form {
    background-color: #505050;
    border-radius: 8px;
    padding: 20px;
    width: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button.submit-button:hover {
    background-color: #45a049;
}

.calendar-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    height: 100vh; /* Full viewport height */
    text-align: center; /* Optional for aligning text */
}

.calendar {
    margin-bottom: 20px; /* Space between calendar and button */
}

.calendar-image {
    width: 700px; /* Increase the width */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't overflow the container */
}

.calendar-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.calendar-button:hover {
    background-color: #555;


.club-history {
    background-color: #000; /* Black background around the content */
    color: #fff; /* White text to ensure readability */
    padding: 20px; /* Optional: Add padding around the section */
}

.image-text-container {
    display: flex; /* Align image and text side by side */
    justify-content: space-between; /* Space between the image and text */
    align-items: center; /* Align items vertically in the center */
    background-color: #000; /* Black background for the container */
    color: #fff; /* Ensure text is white inside the container */
    padding: 20px; /* Optional: Add some padding inside the container */
}

.history-text {
    margin-left: 20px; /* Space between the image and text */
    max-width: 500px; /* Optional: Limit the width of the text for better readability */
}

@media (max-width: 1200px) {
    /* Adjustments for medium screens */
}

@media (max-width: 768px) {
    /* Adjustments for tablets and smaller screens */
    nav ul {
        flex-direction: column;
        text-align: left;
    }

    .logo {
        width: 100px; /* Adjust logo size */
    }

    .intro-image, .facility-item img {
        width: 100%; /* Make images full-width */
        height: auto; /* Maintain aspect ratio */
    }

    .container {
        flex-direction: column; /* Stack elements */
    }
}

@media (max-width: 480px) {
    /* Adjustments for mobile screens */
    h1, h2, h3 {
        font-size: 1.5em; /* Reduce font sizes */
    }

    .calendar-image {
        width: 100%; /* Make images responsive */
    }

    .contact-form, .opening-hours {
        width: 90%; /* Adjust form and box widths */
        margin: 0 auto; /* Center align */
    }
}
