/* ==============================
   HEADER
   ============================== */

   .header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(27, 27, 27, 0.85);
    backdrop-filter: blur(6px);
    z-index: var(--z-header);
  }
  
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }
  
  /* ==============================
     HERO
     ============================== */
  
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
  }
  
  .hero-title {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-light);
  }
  
  .hero-text {
    font-size: var(--text-lg);
    color: #e0e0e0;
    margin-bottom: var(--space-xl);
  }
  /* ==============================
   ABOUT / NOSOTROS
   ============================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-content h2 {
  margin-bottom: var(--space-md);
}

.about-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.about-list li {
  margin-bottom: var(--space-sm);
  font-weight: 500;
}
/* ==============================
   GALLERY
   ============================== */

   .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
  }
  
  .gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  
  .gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  /* Header Top Bar */
.header-top {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
  color: var(--color-gray-dark);
}
.header-top .flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Ajuste para que el menú fijo no tape contenido */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  z-index: var(--z-header);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.ml-md { margin-left: 1rem; }
/* --- Agregar al final de assets/css/layout.css --- */

.header {
  /* Asegura que la transición sea suave */
  transition: transform 0.3s ease-in-out;
}

/* Esta clase se agregará con JS para ocultarlo */
.header-hidden {
  transform: translateY(-100%);
}
/* --- PEGAR AL FINAL DE assets/css/layout.css --- */

/* 1. ELIMINAR EL EFECTO GRIS (Usar degradados modernos) */
.hero-overlay {
  /* En vez de negro plano, un degradado sutil que deja ver la foto arriba */
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8)) !important;
}

.parallax-services::before {
  /* Degradado con un toque de color oscuro para los servicios */
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(20,0,0,0.8)) !important;
}

.cta-parallax::before {
  /* Fondo oscuro abajo para resaltar el botón y el teléfono */
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.95)) !important;
}

/* 2. MAGIA PARA LOS TEXTOS (Sombra fuerte) */
/* Esto hace que las letras blancas se lean sobre cualquier fondo claro */
h1, h2, h3, .hero-title, .hero-text, .section-text, p {
  text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
  opacity: 1 !important; /* Forzamos a que el texto sea 100% visible */
  color: #fff; /* Aseguramos blanco en secciones oscuras */
}

/* Excepción: Textos dentro de tarjetas blancas (para que no sean blancos) */
.service-card h3, .service-card p, 
.card h3, .card p,
.floating-card h4, .floating-card p {
  color: #333 !important;
  text-shadow: none !important;
}
