/* ========================================
   Juan Pablo Arroyo - Landing Page Styles
   Estilo Canva Aesthetic - Soft & Femenino
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* CSS Variables - Paleta Boho / Earthy refinada */
:root {
  /* Fondos */
  --bg-primary: #f6f1e8;
  --bg-secondary: #fffdf9;
  --bg-accent: #f0e6d8;

  /* Terracotta - Acento cálido principal */
  --terracotta-50: #faf0ec;
  --terracotta-100: #f3d6cc;
  --terracotta-200: #e8b4a2;
  --terracotta-300: #d9967e;
  --terracotta-400: #c67b5c;
  --terracotta-500: #b8735c;

  /* Sand - Fondos tierra */
  --sand-50: #faf7f2;
  --sand-100: #f5efe6;
  --sand-200: #e8dcc9;
  --sand-300: #d4c4a8;

  /* Sage - Verde natural de las plantas */
  --sage-50: #f4f6f2;
  --sage-100: #e4e9e0;
  --sage-200: #c8d4c0;
  --sage-300: #a8b89c;
  --sage-400: #7d8c6f;
  --sage-500: #6b7a5f;

  /* Cream - Crema cálida */
  --cream-50: #fffdf9;
  --cream-100: #faf6f1;
  --cream-200: #f0e6d8;
  --cream-300: #e8dcc9;
  --cream-400: #c4a883;
  --cream-500: #b08d6e;

  /* Ink - Texto cálido profundo */
  --ink-900: #4a3b32;
  --ink-700: #6b5649;
  --ink-500: #8c7665;
  --ink-300: #b09b8a;

  /* Acentos */
  --gold: #c4a883;
  --gold-light: #dcc3a6;

  /* Texto */
  --text-primary: #4a3b32;
  --text-secondary: #6b5649;
  --text-muted: #8c7665;

  /* Bordes */
  --border-light: #e8dcc9;
  --border-medium: #d4c4a8;
}

/* Tailwind Configuration Injection Base */
@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Animation utility classes */
.animate-fadeInUp { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fadeInRight { animation: fadeInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fadeInScale { animation: fadeInScale 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-slideDown { animation: slideDown 0.3s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-blob { animation: blob 8s ease-in-out infinite; }

/* Scroll-triggered */
.reveal { opacity: 1; }
.reveal.animated { opacity: 1; }

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-150 { animation-delay: 0.15s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========================================
   CUSTOM COMPONENTS
   ======================================== */

/* Soft shadows */
.shadow-soft {
  box-shadow: 0 20px 40px -15px rgba(198, 123, 92, 0.12);
}
.shadow-soft-cream {
  box-shadow: 0 20px 40px -15px rgba(214, 160, 94, 0.12);
}
.shadow-soft-sage {
  box-shadow: 0 20px 40px -15px rgba(102, 194, 166, 0.12);
}

/* Card Hover Effects */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -12px rgba(198, 123, 92, 0.15);
}

/* Image hover */
.img-hover-zoom {
  overflow: hidden;
  border-radius: 1.5rem;
}
.img-hover-zoom img {
  transition: transform 0.5s ease;
}
.img-hover-zoom:hover img {
  transform: scale(1.03);
}

/* Button transitions */
.btn-primary {
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(198, 123, 92, 0.3);
}

.btn-secondary {
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: var(--terracotta-100);
  transform: translateY(-2px);
}

/* Nav link hover */
.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--terracotta-500);
}

/* Testimonial card - collage effect */
.testimonial-card {
  border-left: 4px solid var(--terracotta-400);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 0 20px 40px -15px rgba(198, 123, 92, 0.12);
}

/* Input focus styles */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--terracotta-400);
  box-shadow: 0 0 0 3px var(--terracotta-100);
  outline: none;
}

/* Social icon hover */
.social-icon {
  transition: all 0.25s ease;
}
.social-icon:hover {
  background-color: var(--terracotta-400);
  border-color: var(--terracotta-400);
}
.social-icon:hover svg {
  color: white !important;
}

/* Carousel snap */
.carousel-snap {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-snap::-webkit-scrollbar {
  display: none;
}
.carousel-snap > * {
  scroll-snap-align: start;
}

/* Number decorative in cards */
.card-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta-100);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 0;
  user-select: none;
}

/* Handwritten font */
.font-hand {
  font-family: 'Caveat', cursive;
}

/* Washi tape effect */
.washi-tape {
  position: relative;
}
.washi-tape::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 80px;
  height: 24px;
  background: rgba(61, 184, 164, 0.35);
  border-radius: 4px;
  z-index: 10;
}

/* Decorative blob */
.blob {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blob 8s ease-in-out infinite;
}

/* Section divider wave */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}
