/* 
 * Compañía Encanto - Estilos Personalizados
 * Diseño mágico y resplandeciente
 */

/* Animaciones brillantes */
@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700; }
  50% { text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700, 0 0 40px #FFD700, 0 0 50px #FFD700; }
}

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

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Colores principales */
:root {
  --encanto-purple: #8A2BE2;
  --encanto-gold: #FFD700;
  --encanto-pink: #FF1493;
  --encanto-cyan: #00BFFF;
  --encanto-dark: #1a0033;
}

/* Body con fondo mágico */
body {
  background: linear-gradient(135deg, #1a0033 0%, #2d1b4e 50%, #1a0033 100%);
  font-family: 'Montserrat', 'Open Sans', sans-serif !important;
}

/* Preloader personalizado */
#preloader {
  background: linear-gradient(135deg, var(--encanto-purple) 0%, var(--encanto-pink) 100%);
}

#load {
  border-top-color: var(--encanto-gold) !important;
  animation: sparkle 1.5s ease-in-out infinite;
}

/* Intro section con efecto brillante */
#intro {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.9) 0%, rgba(255, 20, 147, 0.9) 100%), 
              url('../img/bg1.jpg') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

/* Logo con efecto brillante */
.slogan img {
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

/* Iconos con efecto de brillo */
.fa-angle-down {
  color: var(--encanto-gold) !important;
  animation: float 2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px var(--encanto-gold));
}

/* Navegación mejorada */
.navbar-custom {
  background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(138, 43, 226, 0.3);
  border-bottom: 2px solid var(--encanto-gold);
}

.navbar-custom .nav > li > a {
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--encanto-gold), var(--encanto-pink));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav > li > a:hover {
  color: var(--encanto-gold) !important;
  text-shadow: 0 0 10px var(--encanto-gold);
}

.navbar-custom .nav > li > a:hover::after {
  width: 100%;
}

.navbar-custom .nav > li.active > a {
  color: var(--encanto-gold) !important;
  text-shadow: 0 0 15px var(--encanto-gold);
}

/* Títulos con efecto brillante */
h2 {
  background: linear-gradient(90deg, var(--encanto-purple), var(--encanto-pink), var(--encanto-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 3s linear infinite;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Tarjetas de servicios con efecto 3D */
.service-box {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(255, 20, 147, 0.1) 100%);
  border-radius: 20px;
  padding: 40px 30px;
  margin: 20px 0;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--encanto-purple), var(--encanto-pink), var(--encanto-gold), var(--encanto-cyan));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 300% 300%;
  animation: rainbow 3s ease infinite;
}

.service-box:hover::before {
  opacity: 1;
}

.service-box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.5);
}

.service-box i {
  font-size: 60px;
  background: linear-gradient(135deg, var(--encanto-gold), var(--encanto-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: inline-block;
  animation: sparkle 2s ease-in-out infinite;
}

.service-box h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
}

/* Botones mágicos */
.btn-skin {
  background: linear-gradient(135deg, var(--encanto-purple), var(--encanto-pink)) !important;
  border: 2px solid var(--encanto-gold) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 15px 40px !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4) !important;
}

.btn-skin::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-skin:hover::before {
  left: 100%;
}

.btn-skin:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(255, 20, 147, 0.6) !important;
  border-color: var(--encanto-gold) !important;
}

/* Sección parallax mejorada */
#separator {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(255, 20, 147, 0.9)), 
              url('../img/parallax-bg.jpg') center center fixed;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

#separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 191, 255, 0.2) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.txt-shadow {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.icon i {
  color: var(--encanto-gold) !important;
  filter: drop-shadow(0 0 20px var(--encanto-gold));
  animation: float 3s ease-in-out infinite;
}

/* Galería mejorada */
#gallery {
  background: linear-gradient(180deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%);
}

#owl-works .item img {
  border-radius: 15px;
  border: 3px solid transparent;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#owl-works .item:hover img {
  border-color: var(--encanto-gold);
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.6);
  filter: brightness(1.2);
}

/* Sección de contacto */
#contact {
  background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.95) 100%);
}

.contact-info {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(255, 20, 147, 0.2));
  border-radius: 20px;
  padding: 40px;
  margin: 20px 0;
  border: 2px solid var(--encanto-gold);
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.3);
  transition: all 0.4s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(255, 20, 147, 0.5);
  border-color: var(--encanto-pink);
}

.contact-info i {
  font-size: 48px;
  color: var(--encanto-gold);
  margin-bottom: 20px;
  animation: sparkle 2s ease-in-out infinite;
}

.contact-info a {
  color: #fff !important;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--encanto-gold) !important;
  text-shadow: 0 0 20px var(--encanto-gold);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 40px !important;
  font-size: 20px !important;
  border-radius: 60px !important;
  border: 3px solid #fff !important;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5) !important;
  transition: all 0.4s ease !important;
}

.whatsapp-btn:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.8) !important;
}

/* Footer elegante */
footer {
  background: linear-gradient(135deg, rgba(26, 0, 51, 0.98), rgba(45, 27, 78, 0.98));
  border-top: 3px solid var(--encanto-gold);
  padding: 30px 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--encanto-purple), var(--encanto-pink), var(--encanto-gold), var(--encanto-cyan));
  background-size: 300% 300%;
  animation: rainbow 3s linear infinite;
}

footer .credits {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

footer .credits a {
  color: var(--encanto-gold);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

footer .credits a:hover {
  color: var(--encanto-pink);
  text-shadow: 0 0 10px var(--encanto-pink);
}

/* Efectos de partículas brillantes */
.sparkles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
  .service-box {
    margin: 15px 0;
  }
  
  h2 {
    font-size: 28px !important;
  }
  
  .contact-info {
    padding: 25px;
  }
  
  .whatsapp-btn {
    font-size: 16px !important;
    padding: 15px 30px !important;
  }
}

/* Texto en color blanco para mejor contraste */
.color-white {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

p, .lead {
  color: rgba(255, 255, 255, 0.95) !important;
}

.bg-gray {
  background: transparent !important;
}
