/* Keeping all previous styles and adjusting dropdown link sizes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-color: #000000;
  --secondary-color: #333333;
  --accent-color: #ffffff;
  --text-color: #ffffff;
  --background-color: #1a1a1a;
  --img-logo: url('Ícone GodHuond.png');
  --img-logo-tp: url('GodHuond TP Ícone.png.png');
  --img-banner-marco: url('Marco\ Histórico\ GH.png');
  --img-banner-revolução: url('Revolução\ GH.png');
  --img-banner-inovação: url('Inovação\ GH.png');
  --img-welcome: url('Começo\ de\ GodHuond.png.png');
  --img-transição: url('O\ Poder\ do\ Reino.Png.png');
  --img-sobre: url('Contínuo\ da\ Evolução.png.png');
  --img-final: url('O\ Fim\ e\ Um\ Começo.png.png');  
}

body {
  background: var(--background-color);
  color: var(--text-color);
}

nav {
  background: var(--primary-color);
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--accent-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background-image: var(--img-logo);
}

.logo-text {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: bold;
}

/* Updated search container styles */
.search-container {
  margin-left: auto;
  position: relative;
  transform: scale(0.8);
  order: 3;
  z-index: 1001;
}

.search-icon {
  cursor: pointer;
  padding: 5px;
  background: transparent;
  border: none;
  color: var(--text-color);
}

.search-icon svg {
  width: 14px;
  height: 14px;
}

.search-input {
  position: absolute;
  right: 100%;
  width: 0;
  padding: 5px;
  border: none;
  border-radius: 12px;
  background: var(--secondary-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  font-size: 0.8rem;
}

.search-input.active {
  width: 160px;
  opacity: 1;
  visibility: visible;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .search-container {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
  }

  .nav-container {
    position: relative;
  }
}

/* Enhanced Desktop Navigation */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-item {
    position: relative;
  }

  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.95rem;
  }

  .nav-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.1);
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.1);
    z-index: 1002;
    border-radius: 5px;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
  }

  .dropdown-content a {
    color: var(--text-color);
    padding: 5px 8px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-size: 0.7rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: -0.3px;
  }

  .dropdown-content a:hover {
    background-color: var(--secondary-color);
    transform: translateX(10px);
  }

  .dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Enhanced Mobile Navigation */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    animation: slideIn 0.3s ease-out;
    z-index: 999;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.8rem;
    display: block;
    transition: all 0.3s;
  }

  .dropdown-content {
    position: relative;
    width: 100%;
    background: transparent;
    margin-top: 0.5rem;
    display: none;
  }

  .dropdown-content a {
    padding: 0.6rem;
    font-size: 0.9rem;
    color: #cccccc;
  }

  .logo-text {
    font-size: 1.5rem;
  }
  
  .nav-links a {
    padding: 15px;
    margin: 5px 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    font-size: 1.2rem;
  }

  .dropdown-content {
    background: rgba(0,0,0,0.8);
    padding: 10px 0;
    margin: 5px 0;
  }

  .dropdown-content a {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 6px;
    margin: 3px 10px;
  }

  .nav-item.dropdown > a,
  .nested-dropdown > a {
    padding: 15px !important;
    margin: 5px 0 !important;
    background: rgba(255,255,255,0.08);
    border-radius: 8px !important;
  }
}

/* Update mobile dropdown styles */
@media (max-width: 768px) {
  .nav-links .dropdown-content {
    display: none; 
    position: relative;
    width: 100%;
    padding: 0.5rem;
    margin-top: 0;
    background: rgba(0,0,0,0.95);
    border-radius: 8px;
    user-select: none;
  }

  .nav-links .dropdown.active .dropdown-content {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  .nav-links .nested-content {
    display: none;
    margin-left: 1rem;
    border-left: 2px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0;
    user-select: none;
  }

  .nav-links .nested-dropdown.active .nested-content {
    display: block;
    animation: slideIn 0.3s ease;
  }

  .nav-links a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

/* Add touch interaction styles for mobile */
@media (max-width: 768px) {
  .nav-links .dropdown-content {
    display: none;
    position: relative;
    width: 100%;
    background: rgba(0,0,0,0.95);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
  }

  .nav-links .dropdown.touch-active .dropdown-content,
  .nav-links .nested-dropdown.touch-active .nested-content {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from { 
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1; 
      transform: translateY(0);
    }
  }

  .nav-links .nested-content {
    position: relative;
    left: 0;
    width: 100%;
    margin-left: 1rem;
    border-left: 2px solid rgba(255,255,255,0.1);
  }
}

/* Update mobile dropdown content styles */
@media (max-width: 768px) {
  .dropdown-content {
    position: relative !important;
    left: 0 !important; 
    width: 100% !important;
    padding-left: 20px !important;
    margin-top: 5px !important;
  }

  .nested-content {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    padding-left: 20px !important; 
    margin-top: 5px !important;
  }

  .dropdown-content .nested-dropdown .nested-content {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    padding-left: 20px !important;
    margin-top: 5px !important;
  }
  
  /* Adjust spacing and borders */
  .nested-dropdown > .nested-content {
    border-left: 2px solid rgba(255,255,255,0.1) !important;
    margin-left: 10px !important;
  }

  /* Improve visibility of nested items */
  .dropdown-content a,
  .nested-content a {
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
    margin: 2px 0 !important;
    background: rgba(255,255,255,0.05);
    border-radius: 6px !important;
  }

  /* Add visual hierarchy */
  .nested-dropdown .nested-content {
    margin-left: 15px !important;
    border-left: 2px solid rgba(255,255,255,0.1) !important;
  }

  /* Improve tap targets */
  .nav-item.dropdown > a,
  .nested-dropdown > a {
    padding: 15px !important;
    margin: 5px 0 !important;
    background: rgba(255,255,255,0.08);
    border-radius: 8px !important;
    position: relative !important;
  }
}

/* Add styles for better mobile tap targets */
@media (max-width: 768px) {
  .nav-links a {
    padding: 10px;
    margin: 3px 0;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    font-size: 1rem;
  }

  .dropdown-content {
    background: rgba(0,0,0,0.8);
    padding: 8px 0;
    margin: 3px 0;
  }

  .dropdown-content a {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 4px;
    margin: 2px 8px;
  }

  .nav-item.dropdown > a,
  .nested-dropdown > a {
    padding: 12px !important;
    margin: 3px 0 !important;
    background: rgba(255,255,255,0.08);
    border-radius: 6px !important;
  }

  .nav-item.dropdown.active > a,
  .nested-dropdown.active > a {
    background: rgba(255,255,255,0.15);
    transform: scale(1.02);
    transition: all 0.2s ease;
  }

  .dropdown-content .nested-dropdown .nested-content {
    padding-left: 12px;
    margin-left: 8px;
  }

  .dropdown-content .nested-dropdown a {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .dropdown-content .nested-dropdown.active a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .nested-content {
    margin-left: 10px !important;
    border-left: 1px solid rgba(255,255,255,0.1) !important;
  }
}

.banner {
  margin-top: 70px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide p {
  font-size: 1.5rem;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.7);
  padding: 1rem;
  border-radius: 10px;
}

.marco-slide { 
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              var(--img-banner-marco);
}

.revolução-slide { 
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              var(--img-banner-revolução);
}

.inovação-slide { 
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              var(--img-banner-inovação);
}

.mixed-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  padding: 4rem 2rem;
  text-align: center;
}

/* Adding new styles for welcome section */
.welcome-section {
  padding: 4rem 2rem;
  background: var(--background-color);
  text-align: center;
}

.welcome-image {
  max-width: 800px;
  width: 90%;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(255,255,255,0.1);
  display: block;
}

.welcome-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-color);
  background: rgba(0,0,0,0.5);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.welcome-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.welcome-text p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .welcome-text {
    font-size: 1rem;
    padding: 1.5rem;
  }

  .welcome-text h2 {
    font-size: 1.75rem;
  }
}

/* New styles for content sections */
.content-sections {
  padding: 2rem;
  background: var(--background-color);
}

.content-section {
  max-width: 800px;
  margin: 0 auto 4rem;
  background: rgba(0,0,0,0.5);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 16px rgba(255,255,255,0.1);
  position: relative;
}

.content-section img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-section:hover img {
  transform: scale(1.05);
}

.content-section:hover {
  transform: translateY(-5px);
}

.content-image-container {
  position: relative;
  overflow: hidden;
}

.content-text {
  padding: 2rem;
  color: var(--text-color);
}

.content-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.content-text p {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .content-section {
    margin-bottom: 2rem;
  }
  
  .content-text {
    padding: 1.5rem;
  }
  
  .content-text h2 {
    font-size: 1.75rem;
  }
  
  .content-text p {
    font-size: 1rem;
  }
}

/* New storytelling section styles */
.storytelling-sections {
  padding: 2rem;
  background: var(--background-color);
}

.story-section {
  max-width: 800px;
  margin: 0 auto 4rem;
  background: rgba(0,0,0,0.5);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 16px rgba(255,255,255,0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.story-section:hover {
  transform: translateY(-5px);
}

.story-image-container {
  position: relative;
  overflow: hidden;
}

.story-section img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.story-section:hover img {
  transform: scale(1.05);
}

.story-text {
  padding: 2rem;
  color: var(--text-color);
}

.story-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.story-text p {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .story-section {
    margin-bottom: 2rem;
  }
  
  .story-text {
    padding: 1.5rem;
  }
  
  .story-text h2 {
    font-size: 1.75rem;
  }
  
  .story-text p {
    font-size: 1rem;
  }
}

/* New schedule section styles */
/* Removed */

.footer {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 4rem;
  border-top: 2px solid var(--accent-color);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.footer-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.footer-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .footer-content {
    padding: 1.5rem;
  }
  
  .footer-content h2 {
    font-size: 1.75rem;
  }
  
  .footer-content p {
    font-size: 1.1rem;
  }
}

/* Nested dropdown styles */
.dropdown-content .nested-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-content .nested-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--primary-color);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.1);
  z-index: 1002;
  border-radius: 5px;
  margin-top: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.nested-dropdown:hover .nested-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Add these styles to handle the third-level dropdown */
.dropdown-content .nested-dropdown .nested-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-content .nested-dropdown .nested-dropdown .nested-content {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--primary-color);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.1);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
}

.nested-dropdown .nested-dropdown:hover .nested-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Mobile adjustments for nested dropdowns */
@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content,
  .dropdown-content .nested-dropdown .nested-dropdown .nested-content {
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  
  .dropdown-content .nested-dropdown .nested-content a,
  .dropdown-content .nested-dropdown .nested-dropdown .nested-content a {
    padding-left: 10px;
  }
}

.dropdown-content .nested-dropdown .nested-content a {
  font-size: 0.65rem;
  letter-spacing: -0.4px;
  padding: 4px 6px;
}

.dropdown-content .nested-dropdown .nested-dropdown .nested-content a {
  font-size: 0.6rem;
  padding-left: 25px;
}

@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  /* Mobile-specific adjustments for religious items */
  .dropdown-content .nested-dropdown .nested-content a {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Add specific styling for astronomy links */
.dropdown-content .nested-dropdown a.astronomy-link {
  font-size: 0.65rem;
  letter-spacing: -0.4px;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Adjust spacing for astronomy items */
.dropdown-content .nested-dropdown .nested-content a.astronomy-item {
  padding-left: 15px;
  font-size: 0.6rem;
}

/* Mobile adjustments for astronomy categories */
@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content.astronomy {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  .dropdown-content .nested-dropdown a.astronomy-link {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  
  .dropdown-content .nested-dropdown .nested-content a.astronomy-item {
    font-size: 0.8rem;
  }
}

/* Add specific styling for philosophy links */
.dropdown-content .nested-dropdown a.philosophy-link {
  font-size: 0.65rem;
  letter-spacing: -0.4px;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Adjust spacing for philosophy items */
.dropdown-content .nested-dropdown .nested-content.philosophy {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content.philosophy {
    padding-left: 15px;
  }
  
  .dropdown-content .nested-dropdown a.philosophy-link {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Add specific styling for philosophy thinkers */
.dropdown-content .nested-dropdown a.philosophy-thinker {
  font-size: 0.65rem;
  letter-spacing: -0.4px;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile adjustments for philosophy thinkers */
@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content.philosophy-thinkers {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  .dropdown-content .nested-dropdown a.philosophy-thinker {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Add specific styling for philosophy concepts */
.dropdown-content .nested-dropdown a.philosophy-concept {
  font-size: 0.65rem;
  letter-spacing: -0.4px;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile adjustments for philosophy concepts */
@media (max-width: 768px) {
  .dropdown-content .nested-dropdown .nested-content.philosophy-concepts {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  .dropdown-content .nested-dropdown a.philosophy-concept {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* Cookie banner styles */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 400px;
  z-index: 10000;
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-overlay.hidden {
  display: none;
}

.overlay-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: 20px;
  color: #333; /* Add black text color for overlay content */
}

.cookie-content {
  color: #333; /* Already black, but making it explicit */
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.cookie-header h3 {
  color: #333;
}

.cookie-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cookie-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.policy-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #0066cc; /* Keep links blue for better visibility and web conventions */
  text-decoration: none;
  font-size: 0.9rem;
}

.policy-link:hover {
  text-decoration: underline;
}

.link-separator {
  color: #666;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 15px;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #000000;
  color: white;
}

.cookie-btn.accept:hover {
  background: #333333;
}

.cookie-btn.reject {
  background: #f0f0f0;
  color: #333;
}

.cookie-btn.reject:hover {
  background: #e0e0e0;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
    padding: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

  .cookie-links {
    flex-direction: column;
    text-align: center;
  }

  .cookie-overlay .overlay-content {
    margin: 10px;
    padding: 20px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .cookie-overlay .cookie-buttons {
    margin-top: 20px;
  }

  .timer-display {
    bottom: 90px;
    right: 10px;
    font-size: 14px;
    padding: 8px 15px;
  }
}

/* Add styles to better handle text overflow and sizing */
.dropdown-content a {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.7rem;
  letter-spacing: -0.3px;
  padding: 5px 8px;
}

@media (max-width: 768px) {
  .dropdown-content a {
    font-size: 0.85rem;
    padding: 8px 12px;
    white-space: normal;
    line-height: 1.3;
  }

  .nested-content a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .nav-links a {
    padding: 12px;
    font-size: 1rem;
  }

  .nav-item.dropdown > a {
    padding: 12px !important;
    font-size: 1.1rem !important;
  }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  .nav-links .dropdown-content,
  .nav-links .nested-content {
    padding: 8px 0;
    margin: 4px 0;
  }

  .dropdown-content .nested-dropdown > a {
    padding-right: 25px !important;
  }
}
.banner {
  margin-top: 80px;
  height: 500px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide p {
  font-size: 1.5rem;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  background: rgba(0,0,0,0.7);
  padding: 1rem;
  border-radius: 10px;
}
