/* =============================================
   ANNIE STUDIO – Sitio en Construcción
   styles.css
   ============================================= */

/* ── Variables ── */
:root {
  --cream:      #fdf6ee;
  --lavender:   #d8c8f0;
  --mint:       #b8e8d8;
  --blush:      #f5c8d8;
  --peach:      #f8d8b8;
  --rose-dust:  #e8a8b8;
  --gold:       #c9a84c;
  --gold-light: #e8c87a;
  --text-dark:  #3a2e38;
  --text-mid:   #6b5a68;
  --text-light: #9e8a9b;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --shadow-soft: 0 8px 32px rgba(120, 80, 110, 0.12);
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* =============================================
   FONDO CRAYOLA / BLOBS
   ============================================= */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  animation: floatBlob linear infinite alternate;
}

.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #f2c2d8 0%, #e8b0cc 100%);
  top: -120px; left: -100px;
  animation-duration: 18s;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #c8e8d8 0%, #aadec8 100%);
  top: 10%; right: -80px;
  animation-duration: 22s;
  animation-delay: -5s;
}
.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #dccff0 0%, #c8b8e8 100%);
  top: 45%; left: 5%;
  animation-duration: 26s;
  animation-delay: -9s;
}
.blob-4 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f8dfc0 0%, #f0c898 100%);
  bottom: 15%; right: 10%;
  animation-duration: 20s;
  animation-delay: -3s;
}
.blob-5 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #ffe0ec 0%, #f8c8d8 100%);
  bottom: 5%; left: 30%;
  animation-duration: 24s;
  animation-delay: -12s;
}
.blob-6 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #b8e8f8 0%, #90d8f0 100%);
  top: 30%; right: 25%;
  animation-duration: 30s;
  animation-delay: -7s;
}

@keyframes floatBlob {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 25px) scale(0.96); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: relative;
  z-index: 10;
  padding: 24px 32px 0;
  display: flex;
  align-items: flex-start;
}

.logo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25), 0 0 0 6px rgba(255,255,255,0.55);
  background: #fff;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   MAIN
   ============================================= */
.main-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 60px;
  gap: 28px;
  text-align: center;
}

/* Badge construcción */
.badge-construction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(201, 168, 76, 0.35);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.badge-icon { font-size: 1rem; }

/* Nombre de marca */
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  background: linear-gradient(135deg, #8a5a7a 0%, var(--gold) 45%, #c07898 80%, #7a6ab0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(140, 90, 120, 0.18));
}

/* Mensaje */
.brand-message {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 600px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.7);
}

.brand-message em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1em;
  color: var(--text-dark);
}

/* =============================================
   CARRUSEL
   ============================================= */
.carousel-section {
  width: 100%;
  max-width: 1200px;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  cursor: grab;
}

.carousel-wrapper:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  align-items: center;
  gap: 18px;
  will-change: transform;
  /* La animación se controla desde JS */
}

.carousel-item {
  flex-shrink: 0;
  width: 220px;
  height: 293px;           /* mantiene proporción 1440×1920 = 3:4 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(120, 80, 110, 0.18);
  border: 3px solid rgba(255,255,255,0.75);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.6s ease;
  position: relative;
  background: #f0e8f0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.6s ease;
}

/* Zoom suave en el ítem central (clase añadida por JS) */
.carousel-item.is-center {
  transform: scale(1.12);
  box-shadow: 0 14px 48px rgba(120, 80, 110, 0.32);
  border-color: rgba(201, 168, 76, 0.6);
  z-index: 2;
}

.carousel-item.is-center img {
  transform: scale(1.04);
}

/* =============================================
   BOTÓN INSTAGRAM
   ============================================= */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #c77faa 0%, #8a6abf 40%, #5a9ad4 100%);
  box-shadow: 0 6px 24px rgba(180, 100, 160, 0.38),
              0 2px 8px rgba(90, 154, 212, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-instagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e09fc8 0%, #a88ae0 40%, #78b8e8 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-instagram:hover::before { opacity: 1; }
.btn-instagram:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(180, 100, 160, 0.45),
              0 4px 12px rgba(90, 154, 212, 0.3);
}

.btn-instagram:active { transform: translateY(0) scale(0.98); }

.ig-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-instagram span,
.btn-instagram > *:not(.ig-icon) { position: relative; z-index: 1; }

/* Hacemos el texto del botón relativo para que esté encima del ::before */
.btn-instagram { isolation: isolate; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px 24px;
  font-size: 0.78rem;
  color: var(--text-light);
  border-top: 1px solid rgba(180, 150, 170, 0.2);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

.site-footer strong { color: var(--text-mid); font-weight: 600; }

/* =============================================
   RESPONSIVE – MÓVIL
   ============================================= */
@media (max-width: 600px) {
  .site-header { padding: 18px 20px 0; }

  .logo-wrap { width: 100px; height: 100px; }

  .main-content { padding: 28px 16px 48px; gap: 22px; }

  .brand-message { padding: 18px 20px; font-size: 0.88rem; }

  .carousel-item {
    width: 160px;
    height: 213px;
  }

  .carousel-track { gap: 12px; }

  .btn-instagram {
    font-size: 0.82rem;
    padding: 13px 22px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .carousel-item { width: 130px; height: 173px; }
  .brand-name { font-size: 2.8rem; }
}
