/* Reset básico */
body, h1, h2, h3, p, ul, li, a, form, input, textarea, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía y fondo general */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f4f6;
  color: #1f1f1f;
  margin: 0;
}


/* NAVBAR */
.navbar-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .navbar-link {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* CARRUSEL */
  .carrusel-container {
    width: 100vw;
    height: 100vh;
    margin: 0;
    position: relative; 
  }
  
  .slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .slide.active {
    display: block;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2rem;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .overlay h2 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 5px #000;
}
  
.overlay h3.fecha {
    font-size: 2.5rem;
    color: #eb0a0a;
    margin-top: 0.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow:
      -2px -2px 0 #fff,
       2px -2px 0 #fff,
      -2px  2px 0 #fff,
       2px  2px 0 #fff,
       0px  0px 6px #fff;
}
  
  .overlay p {
    margin-top: 1rem;
    color: #f0f0f0;
    font-size: 1.3rem;
    max-width: 600px;
  }
  
  .overlay button {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background-color: #e60000;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
  }
.animate-boton {
  transition: transform 0.3s ease, background 0.3s ease;
}

.animate-boton:hover {
  transform: scale(1.05);
  background-color: #b80000;
}

/* Flechas carrusel */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  color: black;
}

.arrow.left {
  left: 1rem;
}

.arrow.right {
  right: 1rem;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Animación de entrada */
@keyframes fade {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade {
  animation: fade 0.6s ease-in-out;
}

/* Sección de inicio */
.section-inicio {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.section-inicio h1 {
  font-size: 2.5rem;
  color: #e60000;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-inicio p {
  font-size: 1.2rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

/* Sección contacto */
.section-contacto {
  background: #f3f4f6;
  padding: 4rem 1rem;
  text-align: center;
}

.section-contacto h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
}

/* Sección contacto - formulario formal para empresa */
.contact-form {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 5px solid #b30000; /* rojo oscuro más formal */
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-form::before {
  content: "✉️";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #b30000;
  color: white;
  padding: 0.6rem 1rem;
  font-size: 1.8rem;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.contact-form label {
  font-weight: 600;
  color: #333333;
  font-size: 1rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border: 1.8px solid #ccc;
  border-radius: 0.6rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fafafa;
  color: #222222;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b30000;
  box-shadow: 0 0 6px 3px rgba(179, 0, 0, 0.25);
  background-color: #fff;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.4;
}

.submit-button {
  background-color: #b30000;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 0;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(179, 0, 0, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.submit-button:hover,
.submit-button:focus {
  background-color: #800000;
  box-shadow: 0 6px 18px rgba(128, 0, 0, 0.6);
  outline: none;
}


/* Divisor */
.divisor {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #e60000, #000, #e60000);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Pie de página */
footer {
  background-color: #000;
  color: white;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

footer h3, footer h4 {
  color: #ef4444;
}

footer a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

footer a:hover {
  color: #ef4444;
}

footer i {
  transition: transform 0.3s ease;
}

footer i:hover {
  transform: scale(1.2);
}

footer .text-gray-400 {
  color: #9ca3af;
}

footer .text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

footer .border-t {
  border-top: 1px solid #374151;
}

footer .shadow-inner {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
