/* style.css - Actualizado para Alma de Verbena */

/* --- Reset Básico y Estilos Globales --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Variables de Marca --- */
:root {
  /* ** REEMPLAZA ESTOS #XXXXXX CON TUS COLORES EXACTOS DE MARCA ** */
  --color-brand-pink-light: #E1B0B0; /* Rosa pálido (supuesto) */
  --color-brand-pink-medium: #D17E8F; /* Rosa medio (supuesto) */
  --color-brand-red: #C05050;       /* Rojo/Terracota (supuesto) */
  --color-brand-orange: #E69B6B;    /* Naranja (supuesto) */
  --color-brand-purple: #8B5E8F;    /* Morado (supuesto) */
  --color-brand-blue: #5E8F8F;      /* Azul verdoso (supuesto) */
  --color-brand-green-light: #8FB08F;/* Verde claro (supuesto) */
  --color-brand-green-dark: #3F5A5A; /* Verde oscuro (supuesto) */
  --color-brand-dark: #2E2E2E;      /* Casi negro (supuesto del fondo logo) */

  /* Colores funcionales (usando la paleta) */
  --color-primary: var(--color-brand-pink-medium); /* Elige tu color principal */
  --color-secondary: var(--color-brand-blue);    /* Elige tu color secundario */
  --color-text-body: #333; /* O usa var(--color-brand-dark) si prefieres */
  --color-text-headings: var(--color-brand-dark);
  --color-text-light: #ffffff;
  --color-background-light: #fdfcfb; /* Un blanco ligeramente roto o #fff */
  --color-background-dark: var(--color-brand-dark);
  --color-border-light: rgba(0, 0, 0, 0.1); /* Borde suave */

  /* ** ELIGE E IMPORTA ESTA FUENTE EN header.php (ej. Google Fonts) ** */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-background-light);
  display: flex; /* Para sticky footer con flexbox */
  flex-direction: column; /* Para sticky footer con flexbox */
  min-height: 100vh; /* Para sticky footer con flexbox */
}

main {
  flex-grow: 1; /* Empuja el footer hacia abajo (alternativa a min-height calc) */
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--color-secondary); /* O una versión más oscura del primario */
  text-decoration: none; /* Evitar subrayado general en hover */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-headings);
    font-weight: 600; /* Un poco más de peso para títulos */
    margin-bottom: 0.75rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Clases de Layout (Flexbox Grid) --- */
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-md-4, .col-md-6 {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* --- Clases de Utilidad --- */
.text-center { text-align: center !important; }
.text-white { color: var(--color-text-light) !important; }
.text-black { color: black !important; }

.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.bg-light { background-color: var(--color-background-light) !important; }
.bg-dark { background-color: var(--color-background-dark) !important; }

.lead { font-size: 1.25rem; font-weight: 300; }
.display-4 { font-size: 3rem; font-weight: 600; line-height: 1.2; color: var(--color-primary); /* Título principal con color primario */}

/* --- Estilos de Componentes --- */

/* Barra de Navegación (Ejemplo Básico - Añadir a header.php) */
.main-header {
    /* background-color: var(--color-background-light); */ /* O el color que prefieras */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */ /* Sombra sutil */
    /* position: sticky; */ /* O fixed si la quieres siempre visible */
    /* top: 0; */
    /* z-index: 1000; */
    /* width: 100%; */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 60px; /* Ajusta la altura de tu logo */
    width: auto;
}

.navbar-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1rem; /* Espacio entre elementos del menú */
}

.nav-link {
    color: var(--color-text-headings);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative; /* Para posible efecto hover */
}
.nav-link:hover,
.nav-link.active { /* Si añades clase active a la sección actual */
    color: var(--color-primary);
}

/* Botones */
.btn {
  display: inline-block;
  font-weight: 500; /* Ligeramente más grueso */
  color: var(--color-text-body);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 1.25rem; /* Un poco más de padding */
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 30px; /* Bordes redondeados, más suaves */
  transition: all .2s ease-in-out;
  text-decoration: none;
}
.btn:hover {
    text-decoration: none;
    transform: translateY(-2px); /* Efecto sutil al pasar el ratón */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.15rem;
}

.btn-primary {
  color: var(--color-text-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  color: var(--color-text-light);
  background-color: color-mix(in srgb, var(--color-primary) 85%, black); /* Oscurecer un poco */
  border-color: color-mix(in srgb, var(--color-primary) 85%, black);
}

.btn-secondary {
  color: var(--color-text-light);
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-secondary:hover {
  color: var(--color-text-light);
  background-color: color-mix(in srgb, var(--color-secondary) 85%, black);
  border-color: color-mix(in srgb, var(--color-secondary) 85%, black);
}

.btn-success { /* WhatsApp */
  color: #fff;
  background-color: #25D366;
  border-color: #25D366;
}
.btn-success:hover {
  color: #fff;
  background-color: #1DA851;
  border-color: #1DA851;
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover {
  color: var(--color-text-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Tarjetas (Cards) */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff; /* Fondo blanco limpio para tarjetas */
  background-clip: border-box;
  border: 1px solid var(--color-border-light); /* Borde muy sutil */
  border-radius: 8px; /* Bordes ligeramente redondeados */
  box-shadow: 0 4px 15px rgba(0,0,0,.05); /* Sombra suave */
  height: 100%;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card:hover {
    /* transform: translateY(-5px); */ /* Opcional: Levantar la tarjeta al pasar el ratón */
    /* box-shadow: 0 8px 20px rgba(0,0,0,.08); */ /* Sombra más pronunciada al pasar el ratón */
}

.card-body {
  flex: 1 1 auto;
  padding: 1.5rem; /* Más padding interno */
}

.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-secondary); /* Títulos de tarjeta con color secundario */
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(8px - 1px); /* Ajustar a border-radius de card */
  border-top-right-radius: calc(8px - 1px);
  aspect-ratio: 16 / 10; /* Ajustar proporción si es necesario */
  object-fit: cover;
}

.h-100 {
  height: 100% !important;
}


/* --- Estilos Específicos de Secciones --- */

/* Hero Section */
.hero-section {
  /*background-color: var(--color-background-light);*/
  /* Podrías añadir una imagen de fondo sutil o un patrón aquí */
  /* background-image: url('../img/hero-pattern.png'); */
  /* background-size: cover; */
}
.hero-section .display-4 {
    margin-bottom: 1rem;
}
.hero-section .lead {
    color: var(--color-text-body);
    margin-bottom: 2rem;
    max-width: 700px; /* Limitar ancho del texto introductorio */
    margin-left: auto;
    margin-right: auto;
}
.hero-section .btn {
  margin: 0.5rem;
}

/* Features Section */
.features-section {
    /* Fondo claro por defecto con .bg-light */
}
.features-section h2 {
    margin-bottom: 3rem; /* Más espacio bajo el título */
}
.features-section .card {
  border: none; /* Quitar borde en tarjetas de características */
  box-shadow: none; /* Quitar sombra si prefieres un look más plano aquí */
  background-color: transparent; /* Fondo transparente si está sobre .bg-light */
}
.feature-icon {
  margin-bottom: 1rem; /* Espacio bajo el icono */
  text-align: center; /* Centrar icono si no ocupa todo el ancho */
}
.feature-icon img {
    height: 50px; /* ** AJUSTA EL TAMAÑO DE TUS ICONOS SVG/PNG ** */
    width: auto;
    display: inline-block; /* Para que text-align funcione */
}
.features-section .card-title {
    color: var(--color-primary); /* Usar color primario para títulos de características */
}

/* Services Section */
.services-section h2 {
     margin-bottom: 3rem;
}
.services-section .card {
  margin-bottom: 2rem; /* Espacio entre tarjetas de servicio */
}

/* Contact Section */
.contact-section h2 {
    margin-bottom: 1rem;
}
.contact-section .lead {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.telefono-contacto {
    font-size: 1rem;
    color: var(--color-secondary); /* Usar color secundario */
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.telefono-numero {
    font-size: 2.5rem; /* Número grande */
    font-weight: 600; /* Más peso */
    color: var(--color-primary); /* Color primario para el número */
    margin-bottom: 2rem;
    letter-spacing: 1px; /* Un poco de espacio entre números */
}
.contact-section .btn-success svg { /* Estilo para el icono dentro del botón WhatsApp */
    vertical-align: -0.125em;
    margin-right: 0.5em;
}

/* Footer Section */
.footer-section {
  background-color: var(--color-background-dark);
  color: rgba(255, 255, 255, 0.7); /* Texto blanco semi-transparente */
  margin-top: auto; /* Para sticky footer con flexbox */
}
.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-section img { /* Estilo para el logo blanco en el footer */
    height: 70px; /* Ajusta según necesites */
    width: auto;
    opacity: 0.8; /* Ligeramente transparente si quieres */
    margin-bottom: 1rem;
}
.footer-link {
  color: rgba(255, 255, 255, 0.7); /* Color de enlace igual al texto */
  text-decoration: underline;
  text-decoration-color: var(--color-primary); /* Subrayado con color primario */
  text-underline-offset: 3px; /* Separar un poco el subrayado */
}
.footer-link:hover {
  color: var(--color-text-light); /* Blanco al pasar el ratón */
  text-decoration-color: var(--color-secondary); /* Cambiar color subrayado al pasar */
}


/* --- Media Queries Adicionales --- */
@media (max-width: 991.98px) {
    .navbar-nav {
        /* Aquí podrías implementar un menú hamburguesa para tablet/móvil */
    }
}

@media (max-width: 767.98px) {
  .display-4 {
    font-size: 2.25rem;
  }
  .lead {
    font-size: 1.1rem;
  }
  .hero-section .btn {
      display: block;
      width: 80%;
      max-width: 300px; /* Limitar ancho máximo en móvil */
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 1rem;
  }
  .hero-section .btn:last-of-type {
       margin-bottom: 0;
  }

  /* Ajustes para layout en móvil */
  .row {
      margin-left: 0;
      margin-right: 0;
  }
  .col-md-4, .col-md-6 {
      padding-left: 10px; /* Reducir padding en móvil */
      padding-right: 10px;
      margin-bottom: 2rem; /* Asegurar espacio entre elementos apilados */
      flex: 0 0 100%; /* Asegurar que ocupen todo el ancho */
      max-width: 100%;
  }
   .features-section .col-md-4:last-child,
   .services-section .col-md-6:last-child {
        margin-bottom: 0;
   }

   /* Ajustes específicos móvil */
   .feature-icon img {
       height: 40px; /* Iconos un poco más pequeños en móvil */
   }
   .telefono-numero {
       font-size: 2rem; /* Reducir tamaño teléfono */
   }
   .card-body {
       padding: 1.25rem; /* Reducir padding tarjetas */
   }
   .navbar {
       flex-direction: column; /* Apilar logo y menú si no hay hamburguesa */
       align-items: center;
   }
   .navbar-brand {
       margin-bottom: 0.5rem;
   }
   .nav-item {
       margin-left: 0;
       margin: 0 0.5rem; /* Espacio horizontal entre items */
   }
   .navbar-nav {
       /* Considera ocultar y mostrar con botón hamburguesa */
       flex-wrap: wrap; /* Permitir que los items pasen a la siguiente línea */
       justify-content: center;
   }
}

#servicios {
  background-color: #b98689;
}
#servicios.green {
  background-color: #4f8678 !important;
}
#servicios.greeen {
  background-color: #34606e !important;
}

section {
  position: relative;
}
.bg img {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0.7;
  height: 100%;
  object-fit: cover;
  filter: brightness(20%);
}
section .container {
  position: relative;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}


.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-list li {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.service-list li:hover {
  transform: translateY(-4px);
}

.service-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a202c;
  padding: 10px;
}

.service-list img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
}

.service-list span {
  font-weight: 500;
  font-size: 16px;
}

.service-list a:hover span {
  color: #007acc;
  text-decoration: underline;
}

.bg-random-figures {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.video, .swiper-slide img {
  /*object-fit: contain;
  width: 500px;
  height: auto;*/
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Nuevos estilos para responsive --- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.main-header {
  padding: 1rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-brand img {
  height: 60px;
}

.navbar-nav {
  list-style-type: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
}

.bg-random-figures img {
  position: absolute;
  opacity: 0.3;
  z-index: -1;
  width: 50px;
  height: 50px;
}

.footer-section {
  background-color: #343a40;
  color: white;
}

.footer-section img {
  max-height: 70px;
}

.footer-section p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .navbar {
      flex-direction: column;
      align-items: center;
  }

  .navbar-nav {
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;
  }

  .video {
      width: 80%;
  }

  .bg-random-figures img {
      width: 40px;
      height: 40px;
  }

  .footer-section p {
      font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .navbar-nav {
      gap: 1.5rem;
  }

  .bg-random-figures img {
      width: 45px;
      height: 45px;
  }
}

.bi-whatsapp {
  vertical-align: -0.125em;
  margin-right: 0.5em;
}

.effect-figure {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.3;
  z-index: -1;
}

/* menu mobile */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  transition: 0.3s;
}

/* Menú responsive oculto por defecto */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
}

.mobile-menu a {
  padding: 0.5rem 0;
  color: black;
}

/* Responsive: mostrar hamburguesa y ocultar links en desktop */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    float: right;
  }

  .hamburger img {
    width: 75px;
    height: 43px;
    position: absolute;
    top: 5px;
    left: 10px;
  }

  .mobile-menu.show {
    display: flex;
  }
  .row-content {
    flex-direction: column-reverse;
  }
  .swiper {
    width: 100% !important;
  }
  .container-video {
    aspect-ratio: auto !important;
  }
  .video {
    width: 100% !important;
  }
  body {
    overflow-y: auto !important;
  }
  .content-body {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .home .container {
    padding-right: 15px !important;
  }
  .hamburger img {
    left: 10px !important;
  }
  section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .content-body h1 {
    font-size: 70px !important;
  }
}

.img-agency-events {
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

.nav-item {
  text-align: center;
  font-size: 17px;
}
.nav-item div {
  font-size: 12px;
  margin-top: -6px;
}

.home {
  background: linear-gradient(135deg, 
    #ffb6c1,   /* rosado */
    #87ceeb,   /* celeste */
    #9370db,   /* morado */
    #add8e6,   /* azul claro */
    #ffffff    /* blanco */
  );
  background-size: 400% 400%;
  animation: moverGradiente 15s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes moverGradiente {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.swiper-pagination-bullet-active {
  width: 10px !important;
  height: 10px !important;
}
.swiper-pagination-bullet {
  background: white !important;
  opacity: 1 !important;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.swiper-pagination {
  bottom: 5% !important;
}

.content-body {
  padding-left: 70px;
  padding-right: 70px;
}
.content-body h1 {
  font-weight: normal;
  font-size: 120px;
}
.content-body h1 span {
  font-weight: bold !important;
}

.content-body h2 {
  font-size: 16px;
}

.content-body .row {
  justify-content: space-between;
  padding-top: 50px;
}

.row-content {
  display: flex;
}

.swiper {
  width: 50%;
}

.container-video, .container-image {
  aspect-ratio: 16 / 21;
  width: 100%;
  /* background-color: black; */
  overflow: hidden;
}

.swiper-slide.img, img {
  object-fit: fill ;
}