/* global/css/base.css */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #333;
}

/* --- HEADER --- */
.main-header {
    font-family: 'Barlow', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Hamburguesa por defecto oculta en pantallas grandes */
.hamburger {
    display: none;
}



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

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- NAVBAR --- */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s ease;
}


.navbar ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -4px;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar ul li a.active::after {
    opacity: 1;
}

/* --- SLIDER --- */
.slider {
    font-family: 'Quicksand', sans-serif;
    position: relative;
    width: 100%;
    height: 90vh; /* Ajusta según tu necesidad (90% de la altura visible del navegador) */
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
/* --- DARK OVERLAY SOBRE SLIDER --- */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* oscurece sin tapar */
    z-index: 1;
}

.overlay-text {
    position: absolute;
    z-index: 2;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.overlay-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 1.2rem;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #555;
    background-color: #f4f4f4;
}

/* MEDIA QUERY para pantallas pequeñas (ejemplo: <= 768px) */
@media (max-width: 900px) {

  /* Botón hamburguesa */
  .hamburger {
    display: inline-block;
    cursor: pointer;
    z-index: 9999; /* Para que el botón siempre esté encima */
  }

  /* Contenedor del menú */
  .navbar {
    position: fixed;   /* Fijo a la pantalla */
    top: 0;
    left: 0;
    width: 100%;       /* Ocupa todo el ancho */
    height: 100%;      /* y toda la altura */
    background-color: rgba(255, 255, 255, 0.97);
    display: flex;
    flex-direction: column; /* Todo en columna */
    align-items: center;    /* Centrado horizontal */
    justify-content: center;/* Centrado vertical */
    transition: transform 0.3s ease;
    transform: translateX(100%);
    /* Por defecto, lo mandamos fuera de la pantalla a la derecha */
    z-index: 9998; /* Un poco menos que el botón si quieres, o igual */
  }

  /* Cuando abrimos el menú, lo traemos al 0% (visible) */
  .navbar.open {
    transform: translateX(0);
  }

  /* Ajuste a los <ul> e <li> */
  .navbar ul {
    flex-direction: column;
    gap: 1.5rem;  /* separación entre links */
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .navbar ul li a {
    display: block;
    font-size: 1.3rem;
    color: #000; /* o el color que gustes */
    text-decoration: none;
    font-weight: 600;
  }

  /* Hamburguesa animada si quieres */
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #000;
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
.navbar ul li a::after {
  position: static;      /* ya no es absoluto */
  bottom: auto;
  left: auto;
  transform: none;

  content: '';
  display: inline-block;
  margin-top: 6px;  /* espacio encima de la bolita */
  margin-left: 0px;      /* separación a la derecha del texto */
  width: 6px;
  height: 6px;
  background-color: #000;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.navbar ul li a.active::after {
  opacity: 1;
}
.navbar ul li a {
  display: flex;
  flex-direction: column; /* bolita debajo */
  align-items: center;
  justify-content: center;
  text-align: center;
}

}
