/* Global Variables */
:root {
    --primary: #0077B6;
    --secondary: #90E0EF;
    --accent: #03045E;
    --light: #ecf0f1;
    --font-main: 'Open Sans', sans-serif;
    --font-alt: 'Roboto', sans-serif;
}

/* General Body Styles */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--light);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    background: var(--primary);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 1.5rem;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  

.adherer-button {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.adherer-button:hover {
    background: #c0392b;
}

/* Events Section */
.events-section {
    padding: 100px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Calendar */
.left-content {
    flex: 1;
}

.calendar {
    background-color: var(--secondary);
    padding: 20px;
    border-radius: 8px;
}

.calendar-month {
    font-size: 1.6rem;
    color: var(--accent);
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
    margin-top: 20px;
}

.day {
    padding: 10px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.day:hover {
    background-color: var(--primary);
    color: white;
}

/* Events List */
.right-content {
    flex: 1;
}

.events-list {
    list-style: none;
    padding: 0;
}

.event-item {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.event-item:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

.event-item strong {
    font-size: 1.4rem;
}

.event-item p {
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #90c8e0;
}

.social-media-links {
    margin-top: 15px;
}

.social-media-links a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .event-item {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .calendar-days {
        grid-template-columns: repeat(5, 1fr);
    }

    .event-item strong {
        font-size: 1.2rem;
    }
}
