/* VARIABLES */
:root {
  --rosa-principal: #d63384;
  --rosa-claro: #f8d7e8;
  --rosa-suave: #fce4f3;
  --gris-texto: #6c757d;
  --rosa-gradiente: linear-gradient(135deg, #f8d7e8, #fce4f3);
}

/* BASE */
body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  padding: 10px 0;
}

.logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--rosa-principal) !important;
}

/* TITULOS */
.section-title {
  font-weight: 700;
  color: var(--rosa-principal);
  margin-bottom: 20px;
}

.text-cahuic {
  color: var(--rosa-principal) !important;
}

/* BOTONES */
.btn-cahuic {
  background: var(--rosa-principal);
  color: white;
  border-radius: 25px;
  padding: 8px 20px;
  transition: 0.3s ease;
  border: none;
}

.btn-cahuic:hover {
  background: #b02a6a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214,51,132,0.4);
}

.btn-outline-cahuic {
  border: 2px solid var(--rosa-principal);
  color: var(--rosa-principal);
  border-radius: 25px;
  padding: 8px 20px;
  transition: 0.3s ease;
}

.btn-outline-cahuic:hover {
  background: var(--rosa-principal);
  color: white;
}

/* HERO */
.hero {
  margin-top: 80px;
}

/* CAROUSEL */
.carousel-item {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 1s ease, opacity 1s ease;
}

/* IMÁGENES */
.slide-1 {
  background-image: url('../imgs/cahuic1.jpeg');
}

.slide-2 {
  background-image: url('../imgs/cahuic2.png');
}

.slide-3 {
  background-image: url('../imgs/cahuic3.png');
}

/* OVERLAY */
.overlay {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* TEXTO HERO */
.overlay h1 {
  font-size: 3rem;
  font-weight: 700;
}

.overlay p {
  font-size: 1.2rem;
  margin-top: 15px;
}

/* FONDOS */
.bg-rosa-claro {
  background: var(--rosa-suave);
}

.bg-cahuic {
  background: var(--rosa-principal);
}

/* TARJETAS */
.servicio-card {
  border: none;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(214,51,132,0.25);
}

/* FOOTER */
footer {
  border-top: 2px solid var(--rosa-claro);
}

/* FIX CARRUSEL */
.carousel-item {
  overflow: hidden;
}

.carousel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: relative;
  z-index: 1;
}
