/* --- Reset básico y fuentes --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* --- Navbar --- */
.navbar {
  background: #222;
  padding: 10px 20px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin-right: 20px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
}

.navbar-brand span {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.nav-link {
  margin-left: 15px;
  font-weight: 500;
}

.nav-link:hover {
  color: #f8f9fa !important;
}

/* --- Hero Slider --- */
.hero-slider {
  width: 100%;
}

.slide {
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Texto en sliders y banners --- */
.slide-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  max-width: 400px;
}

/* --- Swiper Slider --- */
.swiper {
  width: 100%;
  height: 500px;
  position: relative;
  padding-bottom: 30px;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img,
.main-slider video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ============================= */
/* === BEFORE-AFTER SLIDER ==== */
/* ============================= */
.before-after-wrapper {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
}

.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  border: 2px solid #ccc;
  cursor: ew-resize;
}

.before-after img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.before-after img:last-of-type {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
  transition: clip-path 0.2s ease;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #000;
  z-index: 3;
  transform: translateX(-2px);
  transition: left 0.2s ease;
}




/* ============================= */
/* === SERVICIOS==== */
/* ============================= */


#servicios .card i {
  transition: transform 0.3s ease;
}

#servicios .card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.service-icon {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* --- Posters --- */
.poster-thumb {
  width: 140px;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.poster-thumb:hover {
  transform: scale(1.05);
}

/* ============================= */
/* === TITULO PAGINA ==== */
/* ============================= */


.brand-text {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 900 !important;
  font-size: 28px !important;
}

/* ============================= */
/* === SECCION NOSOTROS ==== */
/* ============================= */

.nosotros-section {
  text-align: center;
}

.nosotros-titulo {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; /* Roboto Black */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsivo */
  margin-bottom: 1.5rem;
}

.nosotros-texto {
  font-family: 'Roboto', sans-serif;
  font-weight: 400; /* Roboto regular */
  font-size: clamp(1rem, 2.5vw, 1.3rem); /* Responsivo */
  max-width: 900px;
  margin: auto;
  line-height: 1.7;
}

/* ============================= */
/* === TEXTO VERTICAL DE PORTAFOLIO ==== */
/* ============================= */

.vertical-label h2 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 3rem;
  font-weight: bold;
  color: #c38757;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

/* ============================= */
/* === NUESTROS SERVICIOS ==== */
/* ============================= */

.servicios-titulo {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; /* Roboto Black */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsivo */
  margin-bottom: 1.5rem;
}

/* ============================= */
/* === PORTAFOLIO ==== */
/* ============================= */

.portafolio-titulo {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; /* Roboto Black */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsivo */
  margin-bottom: 1.5rem;
}

/* ============================= */
/* === PRODUCTION ==== */
/* ============================= */

.production-titulo {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; /* Roboto Black */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsivo */
  margin-bottom: 1.5rem;
}

/* ============================= */
/* === LINEAS SERVICIOS ==== */
/* ============================= */


/* Decorativos de carretes */
.decor-reel {
  position: absolute;
  z-index: 0; /* detrás del contenido */
  pointer-events: none;
  opacity: 0.07;
  filter: brightness(2);
  animation: spinSlow 60s linear infinite;
  transition: transform 0.3s ease-out;
}

/* Tamaños y posiciones distintas para cada carrete */
.reel-1 {
  top: -200px;
  left: -100px;
  width: 350px;
}
.reel-2 {
  bottom: -250px;
  right: 100px;
  width: 400px;
}
.reel-3 {
  top: 250px;
  right: -80px;
  width: 300px;
}

/* Animación de giro */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


