/* Base styles */
:root {
    --primary: #eab308;
    --primary-hover: #facc15;
    --text: #111827;
    --text-light: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.5;
  }
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: black;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
  }

  .logo-image {
    height: 120px; /* Logo más grande */
    width: auto;
    margin-top: -45px;  /* Mueve el logo hacia arriba para que sobresalga */
    margin-bottom: -45px; /* Ajusta si es necesario para equilibrar el espacio debajo */
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}
  
  .nav-menu {
    display: flex;
    gap: 2rem;
  }
  
  .nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1.5rem; /* Ajusta este valor según lo necesites */
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary);
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  display: flex;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0; /* Asegúrate de que las imágenes estén detrás */
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  color: var(--white);
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Centra horizontalmente */
  text-align: center;  /* Alinea el texto al centro */
  min-height: calc(90vh - 4rem);
  z-index: 2; /* Asegúrate de que esté encima de la capa oscura */

}

.hero h1 {
  font-size: 4rem; /* Tamaño más grande */
  font-weight: 700; /* Negrita */
  margin-bottom: 1.5rem;
  text-transform: uppercase; /* Texto en mayúsculas */
  letter-spacing: 2px; /* Espaciado entre letras */
  line-height: 1.2; /* Espaciado entre líneas */
}

.hero p {
  font-size: 1.5rem; /* Tamaño del texto más grande */
  max-width: 36rem;
  margin-bottom: 2rem;
  font-weight: 400; /* Texto normal */
}


.hero a {
  z-index: 3; /* Botón por encima */
  animation: fadeIn 2.5s ease-in-out;
}

/* Overlay for darkening the background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1; /* Capa detrás del contenido */
}

/* Keyframes for Fade-in effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

  
/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.feature-card i {
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-image h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  text-align: center;
  font-size: 1.5rem;
}

.services-cta {
  text-align: center;
  margin-top: 2rem;
}

.services-cta .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

  /* Footer */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.contact-item i {
  color: var(--primary);
}

.footer-hours p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}
  
  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
  }
  
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
  }
  
  .visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero h1 {
      padding-top: 80px;  /* Aumenta el padding superior para empujar el hero hacia abajo */
      font-size: 2rem;
    }

    .hero{
      font-size: 1.10rem;
    }
  
    .mobile-menu-btn {
      display: block;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
    }
  
    .nav-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--white);
      padding: 1rem;
      box-shadow: var(--shadow);
      flex-direction: column;
      gap: 1rem;
    }
  
    .nav-menu.active {
      display: flex;
    }
  
    .contact-grid {
      grid-template-columns: 1fr;
    }

    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .social-links {
      justify-content: center;
    }
  
    .contact-item {
      justify-content: center;
    }
  
    .footer-bottom-links {
      flex-direction: column;
      gap: 1rem;
    }
  }