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

html, body {
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  color: #000;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(70, 70, 70, 0.15);
  tap-highlight-color: rgba(70, 70, 70, 0.15);
  transition: background-color 0.3s ease, color 0.2s ease;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: clamp(40px, 6vw, 70px);
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: black;
  margin-left: -5px;
  white-space: nowrap;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  color: black;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0.5px 0 0 currentColor;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8px;
  height: 2px; width: 100%;
  background: #444;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li a:hover::after { transform: scaleX(1); }

/* DROPDOWN (desktop) - FIXED */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: block;
  position: absolute;
  background: #fff;
  min-width: 180px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  z-index: 999;
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: #000;
  text-align: center;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.dropdown-content li a:hover {
  background: #f5f5f5;
  color: #000;
}

/* Create invisible hover bridge */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-links li.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* DROPDOWN ARROW STYLES */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 2px;
}

.nav-links li.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Point down when dropdown is active/tapped */
.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* BURGER MENU */
.burger {
  position: absolute;
  right: clamp(0.8rem, 3vw, 1.2rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(36px, 7vw, 64px);
  height: clamp(36px, 7vw, 64px);
  z-index: 1101;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 0.9vw, 8px);
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 100%;
  height: clamp(3px, 0.6vw, 4px);
  background: black;
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem 1rem;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.mobile-nav a {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: black;
  display: block;
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0.5px 0 0 currentColor;
}

/* MOBILE DROPDOWN STYLES - FIXED */
.mobile-nav .dropdown-content {
  display: none;
  position: static;
  background: transparent;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  max-height: none;
  overflow: visible;
}

.mobile-nav .mobile-dropdown.active .dropdown-content {
  display: block;
}

.mobile-nav .dropdown-content li a {
  font-size: 1.2rem;
  color: #000;
  padding: 8px 0;
  opacity: 1;
  visibility: visible;
  font-weight: 600;
}

.mobile-nav .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-nav .dropdown-arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.mobile-nav .mobile-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* EVENT TIMETABLE PAGE STYLES */

/* HERO SECTION */
.timetable-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/images/timetable-hero.jpg') center/cover;
  margin-top: 80px;
}

.timetable-hero .hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  z-index: 3;
  position: relative;
}

.timetable-hero h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.timetable-hero p {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Event Timetable Section */
.event-timetable-section {
  padding: 4rem 1rem;
  background: #f5f5f5;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

/* Calendar Navigation */
.calendar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calendar-nav h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  color: #000;
  min-width: 120px;
  text-align: center;
}

.nav-btn {
  background: #b71c1c;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #8a1515;
  transform: scale(1.1);
}

/* Calendar View */
.calendar-view {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.calendar-controls {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}

.view-btn {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn.active {
  background: #b71c1c;
  color: white;
}

.view-btn:not(.active):hover {
  background: #f5f5f5;
}

/* Month Calendar */
.calendar-month {
  padding: 1.5rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.month-nav h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  min-width: 180px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  font-weight: 700;
  padding: 0.5rem;
  color: #666;
  border-bottom: 1px solid #e0e0e0;
}

.calendar-day {
  min-height: 140px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.calendar-day:hover {
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.calendar-day.empty {
  background: #f9f9f9;
  cursor: default;
}

.calendar-day.empty:hover {
  background: #f9f9f9;
  transform: none;
  box-shadow: none;
}

.day-number {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.has-events .day-number {
  font-weight: 700;
  color: #b71c1c;
}

/* Event Container in Calendar */
.event-container {
  margin-top: 0.5rem;
  overflow-y: auto;
  max-height: 100px;
  flex-grow: 1;
}

.calendar-event {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.3;
  border-left: 3px solid;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.calendar-event.tournament {
  background: rgba(183, 28, 28, 0.08);
  border-left-color: #b71c1c;
}

.calendar-event.seminar {
  background: rgba(33, 150, 243, 0.08);
  border-left-color: #2196F3;
}

.calendar-event.grading {
  background: rgba(76, 175, 80, 0.08);
  border-left-color: #4CAF50;
}

.calendar-event.camp {
  background: rgba(255, 152, 0, 0.08);
  border-left-color: #FF9800;
}

.event-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-details {
  color: #555;
}

.event-date-info {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.event-location {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-participants {
  font-size: 0.65rem;
  font-style: italic;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* List View */
.calendar-list {
  padding: 1.5rem;
}

.event-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active {
  background: #b71c1c;
  color: white;
  border-color: #b71c1c;
}

.filter-btn:not(.active):hover {
  background: #e0e0e0;
}

.event-list {
  max-height: 600px;
  overflow-y: auto;
}

.event-month-header {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
  color: #000;
}

.event-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-list-item:hover {
  background: #f9f9f9;
  transform: translateX(5px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.event-day {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: #b71c1c;
  line-height: 1;
}

.event-day-name {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
}

.event-details {
  flex: 1;
}

.event-details h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.event-time {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 0.25rem 0;
}

.event-participants {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
  font-style: italic;
}

.event-type {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-type.tournament {
  background: rgba(183, 28, 28, 0.1);
  color: #b71c1c;
}

.event-type.seminar {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
}

.event-type.grading {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.event-type.camp {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.no-events {
  text-align: center;
  padding: 3rem;
  color: #666;
  font-style: italic;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-height: 80vh;
  overflow-y: auto;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

.modal-event {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.modal-event:last-child {
  border-bottom: none;
}

.modal-event h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000;
}

.event-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #666;
}

.event-info i {
  color: #b71c1c;
  width: 16px;
  margin-top: 2px;
}

.event-type-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.event-type-badge.tournament {
  background: rgba(183, 28, 28, 0.1);
  color: #b71c1c;
}

.event-type-badge.seminar {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
}

.event-type-badge.grading {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.event-type-badge.camp {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

/* CTA SECTION */
.timetable-cta {
  padding: 80px 20px;
  text-align: center;
  background: #c00;
  color: white;
}

.timetable-cta .content h2 {
  color: white;
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.timetable-cta p {
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: white;
  color: #c00;
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* FOOTER - UPDATED LAYOUT */
.footer {
  background:#111;color:#fff;padding:3rem 1.5rem 1.5rem;margin-top:3rem;font-size:0.95rem;
}
.footer-container {
  display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:2rem;max-width:1200px;margin:0 auto;
}

/* Consistent heading sizes */
.footer h3, .footer h4 {
  font-family:'Anton',sans-serif;
  margin-bottom:0.8rem;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer p,.footer a{color:#ccc;line-height:1.6;}
.footer a:hover{color:#b71c1c;}

/* Fixed footer brand alignment */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.8rem;
  width: 100%;
}
.footer-logo-container img {
  max-height: 3rem;
  width: auto;
}
.footer-logo-container h3 {
  font-size: 1.5rem;
  margin: 0;
}
.footer-brand .tagline {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color:#bbb;
  width: 100%;
  text-align: center;
}

.footer-links ul{list-style:none;}
.footer-links li{margin-bottom:0.5rem;}
.footer-links a{font-weight:600;}

/* SOCIAL MEDIA SECTION */
.footer-social-media {
  display: flex;
  flex-direction: column;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1rem;
}
.footer-socials a:hover {
  background: #b71c1c;
  transform: scale(1.1);
  color: #fff;
}

/* CONTACT SECTION */
.footer-contact p{margin-bottom:0.4rem;}
.footer-contact a{border-bottom:2px solid transparent;transition:border-color 0.3s ease;}
.footer-contact a:hover{border-bottom-color:#b71c1c;}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.footer-contact-icon {
  color: #b71c1c;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom{
  text-align:center;
  margin-top:2.5rem;
  font-size:0.85rem;
  color:#999;
  border-top:1px solid #333;
  padding-top:1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.creator {
  font-size: 0.8rem;
  color: #777;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* MOBILE OPTIMIZED CALENDAR */
@media (max-width: 768px) {
  .event-timetable-section {
    padding: 2rem 0.5rem;
  }
  
  .calendar-grid {
    gap: 4px;
  }
  
  .calendar-day {
    min-height: 100px;
    padding: 0.3rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .calendar-nav h3 {
    font-size: 1.5rem;
  }
  
  .month-nav h4 {
    font-size: 1.2rem;
    min-width: 140px;
  }
  
  .event-title {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
  }
  
  .event-details {
    font-size: 0.65rem;
  }
  
  .event-date-info,
  .event-location,
  .event-participants {
    font-size: 0.6rem;
    -webkit-line-clamp: 1;
  }
  
  .event-container {
    max-height: 70px;
  }
  
  .calendar-event {
    padding: 0.3rem;
    margin-bottom: 0.3rem;
  }
  
  .event-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .event-date {
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
  }
  
  .event-day {
    font-size: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .footer-socials {
    justify-content: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  /* Mobile-specific calendar improvements */
  .calendar-day-header {
    font-size: 0.8rem;
    padding: 0.3rem;
  }
  
  .day-number {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .timetable-hero h1 {
    font-size: 2rem;
  }
  
  .timetable-hero p {
    font-size: 1rem;
  }
  
  .calendar-nav {
    gap: 1rem;
  }
  
  .calendar-nav h3 {
    min-width: 80px;
    font-size: 1.3rem;
  }
  
  .calendar-day {
    min-height: 90px;
  }
  
  .event-container {
    max-height: 60px;
  }
  
  .calendar-event {
    padding: 0.25rem;
    margin-bottom: 0.25rem;
  }
  
  .event-title {
    font-size: 0.65rem;
  }
  
  .event-details {
    font-size: 0.6rem;
  }
  
  .event-filters {
    justify-content: center;
  }
  
  .footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-container {
    gap: 2rem;
  }
  
  /* Extra small devices */
  .calendar-grid {
    gap: 2px;
  }
  
  .calendar-day {
    min-height: 80px;
    padding: 0.2rem;
  }
  
  .event-container {
    max-height: 50px;
  }
  
  .event-title {
    -webkit-line-clamp: 1;
  }
}

/* Ensure calendar displays all days properly */
.calendar-grid {
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  min-height: 140px;
}

/* Fix for text overflow in events */
.event-title,
.event-location,
.event-participants {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Make sure all calendar days are visible */
.calendar-day.empty {
  visibility: visible;
}