/* Global reset for margin, padding, and box model consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensure consistent box model */
}

/* Body Styles */
body {
    font-family: 'Montserrat', sans-serif; /* Use a clean, readable font */
    background-color: #2a2a2a; /* Dark gray background */
    color: white; /* Default text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: #126e51;  /* Green background for the header */
    padding: 10px 0;  /* Some padding around the header */
}

/* Navbar Container */
/*
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;  /* Adjust the width of the navbar */
    /*margin: 0 auto;*/  /* Center the navbar */
    /*padding: 0 20px;*/  /* Padding on the left and right *//*
}
*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Logo Section */
.logoSection img {
    width: 150px;  /* Adjust the logo size */
    height: auto;
}

/* Hide navigation links by default on mobile */
.navLinks {
    display: flex;
}

/* Navigation Links */
.navLinks ul {
    list-style-type: none;  /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex;  /* Make the links appear in a row */
}

.navLinks ul li {
    margin-left: 20px;  /* Space between the menu items */
}

.navLinks ul li a {
    color: white;  /* White text color */
    text-decoration: none;  /* Remove underline */
    font-size: 18px;  /* Font size */
    padding: 10px;
    transition: background-color 0.3s;  /* Smooth transition for hover effect */
}

.navLinks ul li a:hover {
    background-color: #555;  /* Darken background on hover */
    border-radius: 5px;  /* Round the corners */
}

.logoContainer {
    height: 100px; /* Height for the logo container */
    width: 200px; /* Adjust width as necessary */
    overflow: hidden; /* Hide any overflow */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Center logo horizontally */
    align-items: center; /* Center logo vertically */
}

.navbar img {
    height: auto;
    width: 100%; /* Make the image responsive */
    min-height: 100%; /* Ensure it covers the container */
    object-fit: contain; /* Prevent the image from being stretched */
}

/* Main Content Styles */
main {
    width: 100%;
    padding: 20px;
    background-color: #2a2a2a; /* Dark gray background for the main section */
}

main h1 {
    color: white;
    margin-top: 20px;
    text-align: center; /* Center the main heading */
    font-size: 2em; /* Larger title */
}

main h2 {
    color: white;
    margin-top: 20px;
    text-align: center; /* Center subheadings */
}

/* Search Filters Styling (Dropdowns) */
.searchFilters {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px; /* Limit width */
    margin: 20px auto; /* Center the filters */
}

.searchFilters select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #333; /* Dark background for the dropdowns */
    color: white;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.searchFilters select:focus {
    border-color: #126e51; /* Highlight border on focus */
    outline: none;
}

.searchFilters label {
    font-size: 1.1em;
    color: white;
    font-weight: bold;
}

/* WhatsApp Group Section (Flex Layout) */
.partner-card {
    margin: 20px 0; /* Add spacing between items */
    /*background-color: rgba(255, 255, 255, 0.1); /* Transparent background for contrast */
    padding: 15px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    display: flex; /* Flexbox for layout */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Vertically center the content */
    background-color: #3a3a3a !important; /* Slightly lighter dark background for group items */
    word-wrap: break-word; /* Ensure text wraps to avoid overflow */
    overflow: hidden; /* Prevent text from overflowing */
}

.linkGrupoWhatsapp {
    display: flex; /* Flexbox for images and text */
    align-items: center; /* Vertically center image and text */
    text-decoration: none; /* Remove underline from the link */
}

.escudoTime {
    width: 150px; /* Width of the logo */
    height: 150px; /* Height of the logo */
    border-radius: 50%; /* Circular logo */
    overflow: hidden; /* Hide overflow of image */
    margin-right: 15px; /* Space between the image and the text */
}

.escudoTime img {
    width: 100%; /* Fill the container */
    height: 100%; /* Maintain circular shape */
    object-fit: cover; /* Crop the image to fit */
}

.partner-card h2 {
    font-size: 1.4em; /* Larger title for the group */
    color: white;
    margin: 0; /* Remove default margin */
    font-weight: 600; /* Make title bold */
}

.partner-card p {
    font-size: 1.1em; /* Adjust font size for the description */
    color: #bbb; /* Lighter text for description */
    margin-top: 5px; /* Space between title and description */
}

/* Contact Form Styles */
.contact-container {
    display: flex;
    justify-content: center; /* Center the form horizontally */
    padding: 40px 0;
}

.contact-left {
    background-color: #444; /* Slightly darker background for the form */
    padding: 30px;
    border-radius: 10px; /* Rounded corners for the form */
    width: 100%;
    max-width: 500px; /* Ensure the form does not become too wide */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}

.contact-left-title h2 {
    text-align: center;
    font-size: 1.8em; /* Larger text for the form title */
    color: white;
    margin-bottom: 20px; /* Space below the title */
}

/* Input Fields and Textarea */
.contact-inputs {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #333; /* Dark background for inputs */
    color: white; /* White text */
    font-size: 1.1em; /* Slightly larger text */
    transition: all 0.3s ease; /* Smooth transition for focus effect */
    font-family: 'Montserrat', sans-serif; /* Ensure same font-family for all inputs */
}

.contact-inputs::placeholder {
    color: #bbb; /* Lighter color for the placeholder text */
}

.contact-inputs:focus {
    border-color: #126e51; /* Highlight the border on focus with the brand's green */
    outline: none; /* Remove the default outline */
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #126e51; /* Green color for the button */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0e4f39; /* Darken the green on hover */
}

button[type="submit"]:focus {
    outline: none;
}

/* Footer Styles */
footer {
    background-color: #126e51; /* Match footer background with navbar */
    width: 100%;
    padding: 20px;
    text-align: center; /* Center footer text */
    color: white; /* Set footer text color */
}

footer p {
    margin: 5px 0; /* Spacing for footer paragraphs */
}

footer a {
    color: white; /* Set icon color to white */
    text-decoration: none; /* Remove underline from the links */
    font-size: 24px; /* Set the size of the social media icons */
    margin: 0 10px; /* Add spacing between icons */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

footer a:hover {
    color: #ff6f61; /* Change icon color on hover */
}



/* Styling for the calendar page */
.calendar {
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#matchDate {
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}

.filters select {
    padding: 10px;
    margin-right: 10px;
}

.matches-list {
    margin-top: 20px;
}

.match-item {
    margin-bottom: 15px;
}

button {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

button:hover {
    background-color: #0056b3;
}



/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: flex-start;
        padding: 10px;
    }

    .navLinks ul {
        flex-direction: column; /* Stack navigation links */
        align-items: flex-start;
    }

    .navLinks ul li {
        margin-left: 0;
        margin-top: 10px;
    }

    .contact-left {
        padding: 20px;
        width: 90%; /* Make the form more responsive on mobile */
    }

    .contact-left-title h2 {
        font-size: 1.5em; /* Smaller title on mobile */
    }

    .escudoTime {
        width: 50px; /* Resize logo on mobile */
        height: 50px; /* Resize logo on mobile */
    }

    .partner-card {
        background-color: #3a3a3a !important;  /* Ensure background color for mobile */
        padding: 10px; /* Slightly smaller padding */
        width: 100%; /* Ensure cards don't overflow */
    }

    .partner-card h2 {
        font-size: 1.2em; /* Slightly smaller title on mobile */
    }

    .partner-card h2, .partner-card p {
        font-size: 1em; /* Slightly smaller font size for better readability */
    }

    main h1, main h2 {
        font-size: 1.5em; /* Adjust font size for smaller screens */
    }
}

/* Hamburger Menu styles */
.hamburger-menu {
    display: none;  /* Hide the hamburger menu by default */
    cursor: pointer;
}

.hamburger-menu.active {
    display: block; /* Show hamburger when active */
}

.hamburger-menu div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
}

/* Show hamburger on small screens */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .navLinks {
        display: none; /* Hide links initially */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #126e51; /* Green background for dropdown */
        border-radius: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        padding: 20px;
    }

    .navLinks.active {
        display: flex; /* Show links when active */
    }

    .navLinks ul li {
        margin: 10px 0;
    }

    .partner-card {
        background-color: #3a3a3a !important;  /* Ensure background color for mobile */
        padding: 10px; /* Slightly smaller padding */
        width: 100%; /* Ensure cards don't overflow */
    }

    .partner-card h2 {
        font-size: 1.2em; /* Slightly smaller title on mobile */
    }

    .partner-card h2, .partner-card p {
        font-size: 1em; /* Slightly smaller font size for better readability */
    }
}
