:root {
  --primary-color: #ff6b8b;
  --secondary-color: #ffd166;
  --dark-color: #2b2d42;
  --light-color: #f8f9fa;
  --accent-color: #06d6a0;

  /* Variables de Tema (Modo Claro por defecto) */
  --bg-body: #ffffff;
  --text-body: #333333;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --card-bg: #ffffff;
  --section-bg: #f8f9fa;
  --input-bg: #ffffff;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.navbar {
  background-color: var(--navbar-bg) !important;
  backdrop-filter: blur(10px);
  /* Efecto vidrio */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--navbar-bg) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-brand {
  font-size: 1.8rem;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--text-body) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.hero-section {
  background: linear-gradient(135deg, rgba(249, 120, 163, 0) 0%, rgba(255, 209, 102, 0.1) 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/img/imagen1.jpg');
  background-position: center;
  background-repeat: no-repeat;

  background-size: cover;
  z-index: -1;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-weight: 300;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
}

.btn-primary:hover {
  background-color: #ff4d73;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  color: var(--dark-color);
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.3);
}

.btn-secondary:hover {
  background-color: #ffc233;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
  color: var(--dark-color);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  color: var(--dark-color);
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  bottom: -15px;
  left: 25%;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0, 1);
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  color: var(--primary-color);
  font-weight: 700;
}

.price-tag {
  background: var(--secondary-color);
  color: var(--dark-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Agrega esto en tu sección de estilos */
#imageModal .modal-content {
  background-color: rgba(255, 255, 255, 0.9);
  /* Sutil transparencia */
  border-radius: 15px;
  /* Esquinas redondeadas */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  /* Sombra elegante */
  border: 1px solid rgba(255, 255, 255, 0.8);
}

#imageModal .modal-body {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#imageModal .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
  opacity: 0.8;
  background-color: #FF69B4;
  /* Fondo semitransparente */
  color: white;
  border: none;
  border-radius: 50%;
  /* Botón circular */
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  /* Animación suave */
}

#imageModal .btn-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
  /* Fondo más oscuro al pasar el cursor */
}

@media (max-width: 768px) {
  #imageModal .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  #imageModal .modal-content {
    height: 100%;
    border-radius: 0;
    /* Sin esquinas redondeadas en móviles */
  }

  #imageModal .modal-body {
    height: 100%;
  }

  #imageModal img {
    max-height: 100vh !important;
    width: auto !important;
    max-width: 100%;
    border-radius: 10px;
    /* Añade un toque de redondez en las imágenes */
  }
}

.form-control {
  border-radius: 12px;
  padding: 15px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--input-bg);
  color: var(--text-body);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--input-bg);
  color: var(--text-body);
  box-shadow: 0 0 0 4px rgba(255, 107, 139, 0.15);
  transform: translateY(-2px);
}

.form-select {
  border-radius: 12px;
  padding: 15px 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--input-bg);
  color: var(--text-body);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--primary-color);
  background-color: var(--input-bg);
  color: var(--text-body);
  box-shadow: 0 0 0 4px rgba(255, 107, 139, 0.15);
}

option.disabled-option {
  color: #dc3545;
  font-weight: bold;
}

/* Botón del formulario de contacto ajustado */
#contactForm .btn-primary {
  border-radius: 12px;
  padding: 15px;
  font-size: 1.1rem;
}

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #ff4d73;
  transform: translateY(-3px);
}

/* Animaciones personalizadas */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Efecto de onda */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.wave .shape-fill {
  fill: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

:root {

  --whatsapp-color: hotpink;
  --primary-color: #ff6b8b;
  --secondary-color: rgb(245, 45, 145);
}

.whatsapp-float {
  position: fixed;

  width: 55px;
  height: 55px;
  bottom: 30px;
  left: 30px;
  background-color: var(--whatsapp-color);
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px hotpink;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: bounceBtn 2.5s infinite ease-in-out;
}

.whatsapp-float:hover {
  background-color: #fd34ce;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgb(245, 41, 164);
}

.whatsapp-float.scrolled {
  background-color: #f93ec7;
  /* Verde WhatsApp para contraste al bajar */
  box-shadow: 0 5px 15px rgb(237, 64, 165);
}

@keyframes bounceBtn {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.whatsapp-modal .modal-content {
  border-radius: 25px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.whatsapp-modal .modal-header {
  background: linear-gradient(135deg, var(--primary-color), #ff1493);
  color: white;
  border-bottom: none;
  padding: 25px;
  position: relative;
}

.whatsapp-modal .modal-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-right: 15px;
}

.whatsapp-modal .modal-header .brand-info {
  display: flex;
  align-items: center;
}

.whatsapp-modal .modal-header .brand-text h5 {
  font-weight: 700;
  margin-bottom: 0;
  font-family: 'Playfair Display', serif;
}

.whatsapp-modal .modal-header .brand-text p {
  margin-bottom: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.whatsapp-modal .modal-header .btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  opacity: 0.8;
}

.whatsapp-modal .modal-body {
  padding: 30px;
  background-color: var(--card-bg);
}

.whatsapp-modal .btn-whatsapp {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 25px;
  font-weight: 700;
  font-size: 1.1rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 107, 139, 0.4);
}

.whatsapp-modal .btn-whatsapp:hover {
  background-color: #ff1493;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 139, 0.6);
}

/* Mejoras estéticas Galería */
#galeria .ratio {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#galeria .ratio:hover {
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.4);
}

#galeria .ratio img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#galeria .ratio:hover img {
  transform: scale(1.1);
}

/* Estilos para el Carrusel de Galería */
#carouselGaleria .carousel-item {
  height: 500px;
  /* Altura fija para uniformidad */
}

#carouselGaleria .carousel-item img {
  height: 100%;
  object-fit: cover;
  /* La imagen cubre el área sin deformarse */
  object-position: center;
}

@media (max-width: 768px) {
  #carouselGaleria .carousel-item {
    height: 350px;
    /* Altura ajustada para móviles */
  }
}

/* --- MODO OSCURO --- */
body.dark-mode {
  --bg-body: #260812;
  /* Fondo Vino Oscuro elegante */
  --text-body: #ffe6f2;
  /* Texto Rosa Pálido (casi blanco) para lectura clara */
  --navbar-bg: rgba(38, 8, 18, 0.95);
  /* Navbar Vino translúcido */
  --card-bg: #3d0e1e;
  /* Tarjetas en un tono rosa oscuro más suave */
  --section-bg: #2e0b16;
  /* Secciones alternas */
  --dark-color: #ffe6f2;
  --input-bg: #4a1225;
  /* Inputs integrados en el tema */
}

/* Ajustes específicos para modo oscuro */
body.dark-mode .bg-white {
  background-color: var(--card-bg) !important;
  color: var(--text-body);
}

body.dark-mode .bg-light {
  background-color: var(--section-bg) !important;
  color: var(--text-body);
}

body.dark-mode .card {
  background-color: var(--card-bg);
  color: var(--text-body);
}

body.dark-mode .section-title {
  color: var(--text-body);
}

/* --- FIX MENÚ HAMBURGUESA Y BORDES --- */
/* Hace que el ícono del menú sea blanco brillante en modo oscuro */
body.dark-mode .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

body.dark-mode .navbar-toggler {
  border-color: rgba(255, 182, 193, 0.3);
}

/* Suavizar bordes y placeholders */
body.dark-mode .border-bottom {
  border-bottom-color: rgba(255, 105, 180, 0.2) !important;
}

body.dark-mode .form-control::placeholder {
  color: rgba(255, 230, 242, 0.6);
}

/* Botón de cambio de tema */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-body) !important;
  font-size: 1.3rem;
  padding: 0 15px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.theme-toggle:hover {
  color: var(--primary-color) !important;
  transform: rotate(360deg);
}

/* --- FOOTER MEJORADO --- */
footer {
  background: linear-gradient(to bottom, #2c0b16, #000000);
  /* Gradiente Vino oscuro a Negro */
  color: rgba(255, 255, 255, 0.9);
  padding: 80px 0 30px;
  font-size: 1rem;
  position: relative;
}

footer h4,
footer h5 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

footer ul li {
  margin-bottom: 12px;
}

footer ul li a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

footer .social-icon {
  background: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}

/* --- VALIDACIÓN VISUAL INPUTS --- */
.form-control.is-valid {
  border-color: #198754 !important;
  background-image: none !important;
  /* Limpio, solo borde */
}

.form-control.is-valid:focus {
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.2) !important;
}

.form-control.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2) !important;
}

/* --- CUSTOM LOADER (Spinner) --- */
.custom-loader {
  width: 50px;
  height: 50px;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-right-color: var(--primary-color);
  /* Color rosa de la marca */
  animation: spinner-a6 1s infinite linear;
}

.custom-loader::before,
.custom-loader::after {
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
  animation: spinner-a6 2s infinite;
}

.custom-loader::after {
  margin: 8px;
  animation-duration: 3s;
}

@keyframes spinner-a6 {
  100% {
    transform: rotate(1turn);
  }
}

/* Animación para el botón de actualizar */
#btnRefreshPrecios i {
  transition: transform 0.5s ease;
}

#btnRefreshPrecios:hover i {
  transform: rotate(180deg);
}

/* --- PROBADOR VIRTUAL --- */
.color-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.color-btn:hover {
  transform: scale(1.1);
}

.color-btn.active {
  border: 3px solid var(--dark-color);
  transform: scale(1.1);
}

.shape-btn.active {
  background-color: var(--dark-color);
  color: white;
}

.nail-shape {
  transition: fill 0.3s ease, d 0.3s ease;
  /* Animación suave de color y forma */
  opacity: 0.9;
  /* Efecto brillo natural */
}