/* =========================================================
   Look&Luxe – Luxe Hair Glass UI
   ========================================================= */

/* -------------------------
   PALETA / VARIABLES
------------------------- */
:root {
  --soft-pink: #f8c8dc;
  --peach: #ffd1b3;
  --gold: #ffd700;
  --gold-dark: #b8962f;
  --glass-bg: rgba(255,255,255,0.25);
  --glass-border: rgba(255,255,255,0.3);
  --text: #333;
  --text-muted: rgba(51,51,51,0.65);

  --light-bg: #fff7f5;
  --light-bg-alt: #fff1ed;

  --blur: 18px;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(0,0,0,0.1);

  --fast: 0.25s ease;
  --smooth: 0.45s ease;

  --font: 'Poppins', Arial, sans-serif;
}

/* -------------------------
   RESET + BASE
------------------------- */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  background: var(--light-bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--fast);
}

.container {
  max-width: 1150px;
  margin: auto;
  padding: 0 1rem;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: #ff9900; /* un color llamativo */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}
.h4-small {
  font-size: 1.2rem; /* ajusta el tamaño como quieras */
}

h2[data-aos], h4[data-aos] {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out;
}

h2[data-aos].aos-animate, h4[data-aos].aos-animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    h4 { font-size: 1.5rem; }
}

/* -------------------------
   NAVBAR
------------------------- */
.navbar {
  background: linear-gradient(
    135deg,
    rgba(184, 150, 47, 0.35) ,/* gold-dark más fuerte */
    rgba(248, 200, 220, 0.25), /* soft-pink translúcido */
    rgba(255, 209, 179, 0.25),/* peach translúcido */
    rgba(184, 150, 47, 0.35) /* gold-dark más fuerte */
      
  );
  backdrop-filter: blur(11px);
  border-bottom: 1px solid rgba(255,215,0,0.25);
  transition: background var(--smooth);
}


.navbar-brand img {
  width: 160px;
  filter: drop-shadow(0 4px 10px var(--gold));
  
}

.nav-link {
  font-weight: 600;
  padding: .6rem 1rem;
  position: relative;
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -4px;
  height: 2px;
  background: var(--peach);
  transform: scaleX(0);
  transition: transform var(--smooth);
}

.nav-link:hover { color: var(--soft-pink); }
.nav-link:hover::after { transform: scaleX(1); }

/* -------------------------
   HERO — Versión Mejorada
------------------------- */
header {
  height: 90vh;
  min-height: 460px;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow: hidden;
  padding-top: 80px;
}

/* VIDEO MUCHO MÁS CLARO Y VISIBLE */
.hero-video {
  position: absolute;
  
 
  width: auto;      /* ancho automático */
  height: 100%;     /* ocupa todo el alto */
  min-width: 100%;  /* asegura que cubra el ancho */
  
  object-fit: cover; /* mantiene proporción */
  opacity: 0.85;
  filter: brightness(0.75) contrast(1);
  z-index: 1;
}


/* CAPA DE GRADIENTE PARA LEER EL TEXTO SIN PERDER EL VIDEO */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.45)
  );
}

/* TARJETA MÁS PEQUEÑA, MÁS TRANSPARENTE, MÁS ELEGANTE */
.hero-content {
  position: relative;
  z-index: 5;
  padding: 1.8rem 2rem;
  max-width: 580px;
  border-radius: 16px;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* TÍTULO MÁS ELEGANTE */
.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* SUBTÍTULO SUTIL */
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* -------------------------
   MOBILE OPTIMIZACIÓN
------------------------- */
@media(max-width: 768px){

  header {
    height: 100vh; /* ocupamos toda la pantalla */
    padding-top: 0; /* quitamos padding del header */
    position: relative;
    overflow: hidden;
  }

  /* Video de fondo siempre cubre todo el header */
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(1.15) contrast(1.05);
    z-index: 1;
  }

  /* Contenido encima del video */
  .hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    margin-top: 70px; /* empuja el contenido debajo de la navbar */
    padding: 1rem 1.2rem;
    max-width: 85%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-content .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media(max-width: 480px){
  .hero-content {
    margin-top: 60px;
    padding: 0.8rem 1rem;
  }

  .hero-content h1 { font-size: 1.3rem; }
  .hero-content p  { font-size: 0.8rem; }
  .hero-content .btn { font-size: 0.85rem; padding: 0.4rem 0.9rem; }
}




@keyframes glow {
  0% { box-shadow: 0 0 15px var(--soft-pink); }
  50% { box-shadow: 0 0 20px var(--peach); }
  100% { box-shadow: 0 0 18px var(--gold); }
}


/* -------------------------
   CARRUSEL DE MARCAS MEJORADO
------------------------- */
.brands-carousel {
  overflow: hidden;
  position: relative;
  background: #111; /* fondo oscuro elegante */
  padding: 3rem 0;
}

.brands-carousel h2 {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.carousel-track {
  display: flex;
  width: max-content; /* se adapta al contenido duplicado */
}

.carousel-slide {
  display: flex;
  gap: 4rem; /* espacio entre logos */
  animation: scroll 30s linear infinite;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain; /* asegura que la imagen mantenga proporción */
  
  opacity: 0.85;
  transition: transform 0.3s, opacity 0.3s;

  border-radius: 8px;
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* duplicar contenido con CSS (opcional) */
.carousel-slide > * {
  flex-shrink: 0;
}

/* Responsive */
@media(max-width:992px){
  .carousel-slide { gap: 3rem; }
  .brand-logo { height: 70px; }
}

@media(max-width:768px){
  .carousel-slide { gap: 2rem; }
  .brand-logo { height: 60px; }
}

@media(max-width:480px){
  .carousel-slide { gap: 1.5rem; }
  .brand-logo { height: 50px; }
}

/* -------------------------
   SECCIONES
------------------------- */
section {
  padding: 5rem 0;
  background: var(--light-bg);
}

/* -------------------------
   TARJETAS
------------------------- */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--smooth), box-shadow var(--smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1), 0 0 10px var(--soft-pink);
}

.card img {
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card img:hover {
  transform: scale(1.03);
}


/*--GALERIA--*/
#gallery .yt-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 18px;
    overflow: hidden;
}

.yt-wrapper {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 */
    height: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.yt-wrapper .yt-lite,
.yt-wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.yt-lite {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover !important;
    background-position: center !important;
    cursor: pointer;
}



.play-btn {
    width: 65px;
    height: 45px;
    background-color: #ff0000;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.play-btn::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    left: 25px;
    top: 12px;
}

.card-container {
  perspective: 1500px;
  width: 70%;        /* se adapta al ancho del contenedor */
  max-width: 600px;  /* tamaño máximo en escritorio */
  height: auto;      /* se ajusta proporcionalmente */
  aspect-ratio: 5 / 3; /* mantiene proporción de 500x300 */
  margin: auto;
}


/* Contenedor flotante */
.card-float {
  width: 100%;
  height: 100%;
  animation: float 3s ease-in-out infinite alternate;
}

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

/* TARJETA FLIP */
.card-loyalty {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
  cursor: pointer;
}

.card-container:hover .card-loyalty {
  transform: rotateY(180deg) scale(1.05);
}

/* Lados de la tarjeta */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease;
}

/* Brillo dinámico */
.card-front::after, .card-back::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
  transform: rotate(25deg);
  transition: all 0.5s ease;
}

.card-container:hover .card-front::after,
.card-container:hover .card-back::after {
  transform: translateX(50%) rotate(25deg);
}

/* Trasera */
.card-back {
  transform: rotateY(180deg);
}


.team-list .member {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-list .member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.team-list .member img {
  border: 4px solid #e9e2d8;
}

.team-list .member h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-list .badge {
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.social-links a {
  color: #222;
  margin: 0 5px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ff9900;
}



/* -------------------------
   OFERTAS
------------------------- */
.offer-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 30px;              /* bordes redondeados tipo ovalo */
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 2rem;
}

.offer-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Badge estilo etiqueta */
.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4d4d;
  color: #fff;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;              /* badge redondeado */
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Título de sección */
#offers h2 {
  color: #333;
  font-size: 2rem;
  font-weight: 700;
}

/* Iconos dentro de la tarjeta */
#offers i {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #007bff;
}

.offer-card:hover i {
  transform: scale(1.2);
  color: #0056b3;
}


/* -------------------------
   FORMULARIOS
------------------------- */
form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(var(--blur));
  color: white;
}

input, select {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,215,0,0.15);
  color: var(--text);
  border-radius: 12px;
  padding: .8rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus {
  border-color: var(--soft-pink);
  box-shadow: 0 0 10px var(--soft-pink);
}

/* -------------------------
   BOTONES
------------------------- */
button, .btn {
  background: linear-gradient(135deg, var(--soft-pink), var(--peach));
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--soft-pink), 0 0 15px var(--peach);
}

/* -------------------------
   FOOTER
------------------------- */

/* Hover efectos enlaces */
.footer-links a {
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: -4px;
  background-color: #d39e00; /* color elegante dorado */
  transition: width 0.3s ease, left 0.3s ease;
}
.footer-links a:hover {
  color: #d39e00;
  transform: translateY(-2px);
}
.footer-links a:hover::after {
  width: 100%;
  left: 0;
}

/* Redes sociales */
.footer-social a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer-social a:hover {
  color: #d39e00;
  transform: scale(1.4) rotate(10deg);
}

/* Logo hover */
.logo-footer {
  transition: color 0.3s ease, transform 0.3s ease;
}
.logo-footer:hover {
  color: #d39e00;
  transform: scale(1.05);
}

/* Ajuste responsive para iconos SVG TikTok */
.footer-social svg {
  vertical-align: middle;
  transition: transform 0.3s ease, fill 0.3s ease;
}
.footer-social a:hover svg {
  transform: scale(1.4) rotate(10deg);
  fill: #d39e00;
}

/* Título sobre redes sociales */
.footer-social .fw-bold {
  color: #d39e00;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Texto itinerante */
footer .text-secondary {
  color: #aaa !important;
  font-style: italic;
}

#events .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#events .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#events h5 {
  color: #d39e00; /* dorado elegante */
}


/* -------------------------
   RESPONSIVE
------------------------- */
@media(max-width:768px){
  header { height: 70vh; }
  .hero-content { padding: 1.6rem; }
}
/* Chatbot bubble & panel */
#chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ffd1b3,#f8c8dc);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 1100;
  font-size: 22px;
}

#chat-container {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 340px;
  max-width: calc(100% - 48px);
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, opacity .2s ease;
  font-family: var(--font, system-ui);
}

/* hidden utility */
.hidden { display: none !important; }

#chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  background: linear-gradient(90deg,#ffd1b3,#f8c8dc);
  color: #333;
  font-weight:700;
}

#chat-window{
  padding: 12px;
  height: 300px;
  overflow:auto;
  background: #fff;
}

.chat-msg {
  margin-bottom: 12px;
  max-width: 85%;
}

.chat-msg.bot {
  text-align:left;
}

.chat-msg.user {
  text-align:right;
  margin-left:auto;
}

.chat-bubble {
  display:inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f1f1f1;
  color: #111;
}

.chat-bubble.bot { background: #f8f8ff; }
.chat-bubble.user { background: linear-gradient(135deg,#ffd1b3,#f8c8dc); color: #111; }

#chat-input{
  display:flex;
  gap:8px;
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
#chat-input input{
  flex:1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}
#chat-input button{
  border:none;
  background: linear-gradient(135deg,#ffd1b3,#f8c8dc);
  padding: 8px 12px;
  border-radius: 10px;
  cursor:pointer;
}
.suggestion {
  display:inline-block;
  margin:6px 6px 0 0;
  padding:6px 8px;
  background: #fff7f0;
  border-radius:8px;
  cursor:pointer;
  border:1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
}
