/* ===== VARIABLES DE COLORES PASTELES ===== */
:root {
  /* Colores pasteles principales */
  --amarillo-pastel: #fff9e6;
  --amarillo-pastel-medio: #ffeaa7;
  --amarillo-pastel-fuerte: #fdcb6e;
  --rosa-pastel: #ffe8f0;
  --rosa-pastel-medio: #ffb3d9;
  --rosa-pastel-fuerte: #ff7fb3;
  
  /* Colores complementarios */
  --blanco: #ffffff;
  --gris-claro: #f8f9fa;
  --gris-medio: #6c757d;
  --gris-oscuro: #343a40;
  --verde-pastel: #d4f8d4;
  --verde-whatsapp: #25d366;
  --morado-pastel: #e8d5ff;
  
  /* Sombras */
  --sombra-suave: 0 4px 12px rgba(255, 127, 179, 0.1);
  --sombra-media: 0 8px 25px rgba(255, 127, 179, 0.15);
  --sombra-fuerte: 0 12px 35px rgba(255, 127, 179, 0.2);
}

/* ===== ESTILOS GENERALES ===== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--amarillo-pastel) 0%, var(--rosa-pastel) 50%, var(--morado-pastel) 100%);
  min-height: 100vh;
}

.nail-gradient {
  background: linear-gradient(45deg, var(--rosa-pastel-fuerte), var(--amarillo-pastel-fuerte), var(--rosa-pastel-medio));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
header {
  background-color: var(--blanco);
  box-shadow: var(--sombra-suave);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-backdrop {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.9);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--rosa-pastel-fuerte);
}

.logo-image {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: blur(0.5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-image:hover {
  filter: blur(0.3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo-image {
    height: 35px;
    width: 35px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 30px;
    width: 30px;
  }
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gris-oscuro);
}

.nav-links {
  display: none;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--gris-medio);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--rosa-pastel-fuerte);
}

.mobile-menu-btn {
  display: block;
  color: var(--gris-medio);
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  margin-top: 1rem;
  gap: 0.5rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.5rem 0;
}

/* ===== SECCIÓN HERO ===== */
.hero-section {
  padding: 4rem 1rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gris-medio);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-whatsapp {
  background-color: var(--verde-whatsapp);
  color: var(--blanco);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: var(--sombra-media);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  background-color: #22c55e;
  transform: scale(1.05);
}

.btn-instagram {
  background: linear-gradient(to right, var(--rosa-pastel-fuerte), var(--amarillo-pastel-fuerte));
  color: var(--blanco);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: var(--sombra-media);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-instagram:hover {
  background: linear-gradient(to right, #ff6b9d, #ffd93d);
  transform: scale(1.05);
}

.phone-display {
  background-color: var(--blanco);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--sombra-fuerte);
  max-width: 28rem;
  margin: 0 auto;
}

.phone-icon {
  font-size: 1.875rem;
  color: var(--rosa-pastel-fuerte);
  margin-bottom: 0.75rem;
}

.phone-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  margin-bottom: 0.5rem;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gris-oscuro);
}

.phone-hours {
  font-size: 0.875rem;
  color: var(--gris-medio);
  margin-top: 0.5rem;
}

/* ===== SECCIONES GENERALES ===== */
.section {
  padding: 4rem 1rem;
}

.section-white {
  background-color: var(--blanco);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: var(--gris-medio);
  max-width: 32rem;
  margin: 0 auto;
}

/* ===== SERVICIOS ===== */
.services-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: linear-gradient(to bottom right, var(--amarillo-pastel), var(--rosa-pastel));
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--sombra-media);
  text-align: center;
  transition: all 0.3s ease;
  transform: scale(1);
}

.service-card:hover {
  transform: scale(1.05);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--rosa-pastel-fuerte);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--gris-medio);
}

/* ===== GALERÍA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 112rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--sombra-media);
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--sombra-fuerte);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== SECCIÓN DE VIDEOS ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 112rem;
  margin: 0 auto;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card {
  background-color: var(--blanco);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--sombra-media);
  transition: all 0.3s ease;
  transform: scale(1);
}

.video-card:hover {
  transform: scale(1.02);
  box-shadow: var(--sombra-fuerte);
}

.video-thumbnail-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.video-card:hover .video-thumbnail-container img {
  transform: scale(1.1);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 1.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.video-card:hover .video-play-btn {
  background: var(--rosa-pastel-fuerte);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: var(--sombra-media);
}



.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--blanco);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gris-oscuro);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.video-description {
  color: var(--gris-medio);
  font-size: 0.875rem;
  line-height: 1.5;
}

.btn-load-more {
  background: linear-gradient(to right, var(--rosa-pastel-fuerte), var(--amarillo-pastel-fuerte));
  color: var(--blanco);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: var(--sombra-media);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.btn-load-more:hover {
  background: linear-gradient(to right, #ff6b9d, #ffd93d);
  transform: scale(1.05);
}



/* ===== CONTACTO ===== */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-buttons {
    flex-direction: row;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--gris-oscuro);
  color: var(--blanco);
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  font-size: 1.5rem;
  color: var(--rosa-pastel-fuerte);
}

.footer-logo-image {
  height: 35px;
  width: 35px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: blur(0.5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-logo-image:hover {
  filter: blur(0.3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer-logo-image {
    height: 30px;
    width: 30px;
  }
}

@media (max-width: 480px) {
  .footer-logo-image {
    height: 25px;
    width: 25px;
  }
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-location i {
  color: var(--rosa-pastel-fuerte);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-location:hover i {
  color: var(--rosa-pastel-saturado);
}

@media (max-width: 480px) {
  .footer-location {
    font-size: 0.85rem;
  }
  
  .footer-location i {
    font-size: 0.9rem;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--blanco);
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ===== MODAL DE GALERÍA ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-modal.show {
  display: flex;
}

.gallery-modal-content {
  position: relative;
  max-width: 64rem;
  width: 100%;
  max-height: 100%;
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--blanco);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  border: none;
  cursor: pointer;
}

.gallery-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blanco);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  border: none;
  cursor: pointer;
}

.gallery-modal-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-modal-prev {
  left: 1rem;
}

.gallery-modal-next {
  right: 1rem;
}

.gallery-modal-image-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.gallery-modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: var(--sombra-fuerte);
}

.gallery-modal-video {
  max-width: 95%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: var(--sombra-fuerte);
  background-color: #000;
  display: block;
  margin: 0 auto;
}

/* Asegurar que el video se centre correctamente en diferentes tamaños */
@media (max-width: 768px) {
  .gallery-modal-video {
    max-width: 100%;
    max-height: 70vh;
  }
  
  .gallery-modal-image-container {
    min-height: 50vh;
  }
}

.gallery-modal-info {
  margin-top: 1rem;
}

.gallery-modal-title {
  color: var(--blanco);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-modal-counter {
  color: #d1d5db;
  font-size: 0.875rem;
}



/* ===== UTILIDADES ===== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.animate-pulse {
  animation: pulse 0.2s ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.95); }
}

/* ===== MENSAJE DE ÉXITO ===== */
.success-message {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: var(--verde-pastel);
  color: var(--gris-oscuro);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--sombra-media);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--verde-whatsapp);
}

.success-message.show {
  transform: translateX(0);
}

/* ===== EFECTOS DE TRANSICIÓN ===== */
* {
  transition-property: color, background-color, border-color, transform, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ÍCONOS FLOTANTES DE REDES SOCIALES ===== */
.floating-social-icons {
  position: fixed;
  left: 20px;
  bottom: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100px);
  transition: all 0.4s ease;
}

.floating-social-icons.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-icon:hover::before {
  opacity: 1;
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.floating-instagram {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4, #F56040);
}

.floating-instagram:hover {
  background: linear-gradient(135deg, #F56040, #833AB4, #C13584, #E4405F);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(228, 64, 95, 0.4);
}

.floating-icon i {
  z-index: 1;
  position: relative;
}

/* Animación de pulsación */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.floating-icon:active {
  animation: pulse 0.3s ease;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .floating-social-icons {
    left: 10px;
    bottom: 20px;
    gap: 10px;
  }
  
  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .floating-social-icons {
    left: 5px;
    bottom: 15px;
  }
  
  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
