.tabs-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 8px; /* Space for fixed top bar with title and menu items (mobile) */
  padding-bottom: 120px; /* Space for fixed bottom nav and footer */
}

/* Desktop: less padding needed */
@media (min-width: 768px) {
  .tabs-container {
    padding-top: 120px; /* Space for fixed top bar (desktop horizontal layout) */
  }
}

/* TopBar styles are now in app/components/TopBar.css */

.tabs-content {
  flex: 1;
  width: 100%;
  max-width: 100%;
  padding: 32px 24px;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tabs-content > * {
  width: 100%;
  max-width: 1200px;
}

/* High contrast, large text styling */
.tabs-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #000000; /* Text always stays black */
  margin-bottom: 16px;
}

.tabs-content h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000; /* Text always stays black */
  margin-bottom: 12px;
}

.tabs-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #000000; /* Text always stays black */
}

.events-list {
  margin-top: 24px;
}

/* Fixed bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background-color: var(--background-color);
  border-top: 2px solid var(--accent-color);
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  min-height: 70px;
  width: 100%;
}

.nav-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  min-height: 70px;
  min-width: 0;
  background-color: var(--background-color);
  color: #000000; /* Text always stays black */
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.nav-tab:hover {
  background-color: #f5f5f5;
}

.nav-tab.active {
  background-color: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
}

.nav-tab-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.nav-tab.active .nav-tab-label {
  font-weight: 700;
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
  .tabs-content {
    padding: 24px 16px;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .tabs-content {
    max-width: 100%;
    padding: 32px 24px;
  }
  
  .tabs-content > * {
    max-width: 1200px;
  }

  .tabs-content h1 {
    font-size: 40px;
  }

  .tabs-content h2 {
    font-size: 24px;
  }

  .nav-tab-label {
    font-size: 18px;
  }
}

/* Footer */
.app-footer {
  position: fixed;
  bottom: 70px; /* Above bottom nav */
  left: 0;
  right: 0;
  text-align: center;
  padding: 12px 20px;
  background-color: var(--background-color);
  border-top: 1px solid #e0e0e0;
  z-index: 999;
}

.app-footer p {
  font-size: 16px;
  color: #666666;
  margin: 0;
  font-family: 'Playfair Display', 'Libre Baskerville', 'Georgia', 'Times New Roman', 'Times', serif;
}

.footer-link {
  color: #000000; /* Text always stays black */
  text-decoration: underline;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

/* Ensure safe area for devices with notches */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .top-bar {
    padding-top: calc(12px + env(safe-area-inset-top));
  }

  .tabs-container {
    padding-top: calc(120px + env(safe-area-inset-top));
    padding-bottom: calc(120px + env(safe-area-inset-bottom));
  }
  
  @media (min-width: 768px) {
    .tabs-container {
      padding-top: calc(80px + env(safe-area-inset-top));
    }
  }
}

/* TopBar styles are now in app/components/TopBar.css */

