* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  background-color: #e6e4e5;
}

h1, h2, h3, h4{
  font-family: "Unbounded", sans-serif;
}




/* Header Styles */
.header {
  background: transparent; /* Hacer la barra transparente */
  backdrop-filter: blur(8px); /* Agregar un efecto de desenfoque */
  position: fixed; /* Fijar la barra al hacer scroll */
  top: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
  background: rgba(0, 0, 0, 0.20);

}

.header.scrolled {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.20); /* Sombra para destacar la barra */
}

.header-container {
  margin: 0 auto;
  padding: 0 15rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.aspect-ratio-container {
  position: relative;
  width: 100%;
  padding-bottom: 30%; /* 4:1 aspect ratio (muy panorámico) */
}

.selected-menu {
  text-decoration: underline !important;
}

.aspect-ratio-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/*
  PAGINA: services.html
*/

.row{
  --bs-gutter-x: 0 !important; /* Eliminar el espacio entre columnas */
}

.grid-video-styles {
  min-height: 500px; /* Minimum height fallback */
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.content-section {
  padding: 5rem 0;
  position: relative;
}

.services-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}


.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.services-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.services-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.services-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-services {
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-services:hover {
  transform: translateY(-3px);
}

/* Efectos adicionales */
/* .floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(238, 22, 22, 0.795);
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
} */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sección Galería de Servicios */
   .gallery-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 10px 10px 16px rgba(0, 0, 0, 0.534);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item-home {
  height: 100%;
  width: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(30px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-subtitle {
    transform: translateY(0);
}

@media (max-width: 999px) {
  .text-menu{
    padding: 100px 0;
  }
  .logo {
    height: 3rem;
  }
}

@media (min-width: 1000px) {
  .logo {
    height: 7rem;
  }
  .grid-video-styles {
    height: 100vh; /* Viewport height - works on all devices */
  }
}

/* Responsive para galería */
@media (max-width: 768px) {
    /* .gallery-section {
        padding: 4rem 0; 
        margin-top: 2rem;
    }*/
    
    .gallery-item {
        height: 280px;
        margin-bottom: 1rem;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-title {
        font-size: 1.5rem;
    }
    
    .gallery-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 250px;
    }
    
    .gallery-title {
        font-size: 1.3rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
}

/* Secciones de contenido */
.content-section {
  padding: 5rem 0;
  position: relative;
}

.glued {
  padding: 0 !important;
  margin: 0 !important;
}

.content-section:nth-child(even) {
  background: var(--light-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.feature-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.feature-image {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  object-fit: cover;
}

.feature-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.w-padding {
  padding: 0 !important;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
  
  .content-section {
      padding: 3rem 0;
  }
  
  .section-title {
      font-size: 2rem;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: #f8f8f8;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #f8f8f8;
  transform: scale(1.2);
  transition: transform 0.3s ease;
} 

.services-image-carrousel {
  margin-top: 30%;
}

.mobile-menu {
  display: block;
  background: #f8f8f8;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Asegura que el video esté detrás del contenido */
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 120%; /* Incrementar el ancho en un 20% */
  margin: 0 auto; /* Asegurar que esté centrado */
  transform: translateX(-11%); /* Centrar el contenido ajustando el desplazamiento */

}

.hero-text {
  text-align: center;
  margin: 20%;
}

.hero-title {
  font-size: 10rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.25em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: white;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 14rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 18rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 22rem;
  }
}

.container {
  /* max-width: 1152px; */
  margin: 0 auto;
  /* padding: 0 1rem; */
}

/* @media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
} */

.grid {
  display: grid;
  gap: 1rem;
  align-content: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-title {
  display: inline-block; /* Para que se ajuste al contenido */
  width: auto;
  color: #000000; /* Texto blanco */
  font-size: 1.5rem; /* Tamaño de fuente */
  font-weight: 500; /* Peso de la fuente */
  text-transform: uppercase; /* Texto en mayúsculas */
  letter-spacing: 0.1em; /* Espaciado entre letras */
  margin-bottom: 1.5rem; /* Espaciado inferior */
}

.text {
  color: #56605d;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.section-text {
  margin: 0 auto;
  width: 70%;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #1d1b19;
  color: #1d1b19;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: #1d1b19;
  color: white;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.section-image {
  width: 100%;
  /* border-radius: 0.5rem; */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.logo-small {
  width: 70%;
  margin-bottom: 1.5rem;
}

/* News Cards */
.news-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.news-category {
  font-size: 0.875rem;
  color: #926646;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1d1b19;
  margin-bottom: 0.75rem;
}

.news-text {
  color: #56605d;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #1d1b19;
  color: white;
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

.footer-logo {
  width: 6rem;
  margin-bottom: 1.5rem;
}

/* .text-menu{
  padding-left: 30px;
} */

.separator {
  height: 1px;
  background: #4b5563;
  margin: 2rem 0;
}

/* .fade-in {
  opacity: 0;
  transform: translateX(20px); /* Desplazar hacia abajo inicialmente 
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;} */


.fade-in.visible {
  opacity: 1;
  transform: translateX(0); /* Volver a la posición original */
}

.carousel-item img {
  object-fit: cover;
  height: 500px;
  width: 100%;
  border-radius: 10px;
}
.carousel-inner {
  border-radius: 15px;
  overflow: hidden;
}

/* FOOTER  */

.footer {
  background: linear-gradient(to right, #222, #333);
  color: #f5f5f5;
  padding: 20px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1500px;
  margin: auto;
}

.footer-about,
.footer-links,
.footer-contact,
.footer-socials {
  flex: 1;
  min-width: 150px;
}

.footer-about {
  padding-right: 100px;
}

.footer-links,
.footer-contact,
.footer-socials {
  margin-top: 25px;
}

.footer-about h3 {
  color: #f5f5f5;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px;
  color: #f5f5f5;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  margin: 8px 0;
}

.footer-social a img {
  width: 24px;
  margin-right: 12px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.footer-socials h4 {
  margin-bottom: 10px;
  color: #f5f5f5;
}

.footer-social-icons a {
  margin-right: 15px;
  display: inline-block;
}

.footer-social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer-social-icons a:hover img {
  transform: scale(1.15);
}

.logo-footer {
  height: 5rem;
}

.footer-newsletter {
  margin-top: 25px;
  max-width: 310px;
}

.newsletter-button {
  border-radius: 5px;
  padding: 1px 5px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px;
  background: #000; /* cámbialo al color de tu marca */
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.newsletter-form button:hover {
  background: #444;
}


