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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/vOiUWk4.png') no-repeat center center/cover;
    filter: blur(8px); /* Blurs only the background */
    z-index: -1;
    }

.container {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

#calendar-section {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


a {
    text-decoration: none;
    color: inherit;
}

/* Header Styling */
header {
    position: sticky;
    width: 100%;
}

/* Top Bar */
.top-bar {
    position: sticky;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 30px;
    border-bottom: 3px solid #4CAF50; /* Green accent line */
}

/* Left Section (Logo & Name) */
.left {
    position: sticky;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    position: sticky;
    width: 80px;
    height: auto;
}

.team-name {
    position: sticky;
    font-size: 1.8rem;
    font-weight: bold;
    color: black;
}

/* Right Section (Links & Icons) */
.right {
    position: sticky;
    display: flex;
    align-items: center;
    gap: 15px;
}

.right a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.right a:hover {
    color: #4CAF50;
}

.divider {
    font-size: 1.2rem;
    color: #4CAF50;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 12px 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #4CAF50;
}

.language-icon {
    width: 30px; /* Adjust size */
    height: auto;
    cursor: pointer;
}

/* Mobile Responsive Navigation */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
}



#calendar-section {
    padding: 30px;
    max-width: 1200px;
    margin: auto;
}

.calendar-header {
    text-align: center;
}

.calendar-header h2 {
    color: #1a7321;
}

.calendar-header p {
    font-size: 1.1rem;
}

.date-picker {
    text-align: center;
    margin-top: 20px;
}

#calendarWrapper {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

#currentMonthLabel {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

#calendarGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.empty {
    background-color: transparent;
}

.event-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #1a7321;
    display: block;
    margin-top: 5px;
}

.event-list {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.event-list ul {
    padding-left: 20px;
}

.cta-button {
    font-family: 'Poppins', sans-serif;
    background-color: #175b19;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 900;
    display: block;
    margin-top: 20px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #388e3c;
    transform: scale(1.05);
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-button {
    font-family: 'Poppins', sans-serif;
    background-color: #1a7321;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 900;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

footer {
    background: url("https://i.imgur.com/yjuCGaV.png") no-repeat center center;
            background-size: 1000%;
            color: #fff;
            text-align: center;
            padding: 20px 0;
            width: 100%;
            margin-top: auto;
            position: relative;
}

footer .footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* Mobile Devices - Below 600px */
@media (max-width: 600px) {
    #calendar-section {
        padding: 15px;
    }

    #calendarWrapper {
        padding: 10px;
    }

    #currentMonthLabel {
        font-size: 1.5rem;
    }

    #calendarGrid {
        grid-template-columns: repeat(3, 1fr); /* Adjust for smaller screens */
        gap: 5px;
    }

    .calendar-day {
        padding: 10px;
        font-size: 0.8rem;
    }

    .event-list {
        padding: 15px;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .calendar-navigation {
        flex-direction: column;
        align-items: center;
    }

    .nav-button {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Tablets - 600px to 900px */
@media (min-width: 600px) and (max-width: 900px) {
    #calendar-section {
        padding: 20px;
    }

    #calendarWrapper {
        padding: 15px;
    }

    #currentMonthLabel {
        font-size: 1.75rem;
    }

    #calendarGrid {
        grid-template-columns: repeat(5, 1fr); /* Adjust for tablet-sized screens */
    }

    .calendar-day {
        padding: 15px;
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .calendar-navigation {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-button {
        width: auto;
    }
}

/* Desktops - Above 900px */
@media (min-width: 900px) {
    #calendar-section {
        padding: 30px;
    }

    #calendarWrapper {
        padding: 20px;
    }

    #currentMonthLabel {
        font-size: 2rem;
    }

    #calendarGrid {
        grid-template-columns: repeat(7, 1fr); /* Full grid for desktop */
    }

    .calendar-day {
        padding: 20px;
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .calendar-navigation {
        flex-direction: row;
    }
}
