/* ==========================================================================
   PANNA COTTA - PASTELERÍA & CAFETERÍA
   Design System & Global Styles
   Inspired by: ui-ux-pro-max (Warm Artisan Luxury & Modern Bistro)
   ========================================================================== */
/* Typography is preloaded in HTML via <link> tags for optimal performance */

:root {
  /* Color Palette - Pannacotta Haute Pâtisserie (Verde Bosque Profundo & Rosa Macaron) */
  --color-primary: #1B3B2B;         /* Deep Forest Green / Verde Bosque Profundo */
  --color-primary-hover: #12281D;   /* Darker pine green */
  --color-primary-light: #E8EFEA;   /* Soft delicate green highlight */
  
  /* Pastel Rose & Macaron */
  --color-accent-rose: #F4C2C2;     /* Delicate Pastel Rose / Rosa Macaron */
  --color-accent-rose-dark: #D69797;/* Muted dusty rose for legible text */
  --color-accent-rose-soft: #FCF2F2;/* Soft blush cream surface */
  
  --color-sage: #446351;            /* Botanical Forest Green */
  --color-sage-dark: #2C4436;
  --color-sage-soft: #E9EFEA;       /* Soft delicate sage background */
  
  --color-accent-berry: #881337;    /* Berry coulis accent */
  
  --color-bg: #FCFAF7;              /* Warm artisan linen cream */
  --color-bg-alt: #F7F2EC;          /* Subtle warm sand */
  --color-surface: #FFFFFF;         /* Pure crisp white card surface */
  --color-surface-hover: #FAF6F3;
  --color-footer-bg: #0F241A;       /* Deep nocturnal forest green */
  
  --color-text-main: #16261E;       /* Deep forest charcoal */
  --color-text-muted: #4E5F55;      /* Warm botanical slate */
  --color-text-light: #7D8D84;      /* Soft muted */
  
  --color-border: #E5ECE7;          /* Delicate warm divider */
  --color-border-hover: #CBD7CF;
  
  --color-success: #15803D;
  --color-warning: #B45309;
  --color-danger: #BE123C;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 38, 30, 0.04);
  --shadow-md: 0 8px 24px rgba(22, 38, 30, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 38, 30, 0.12);
  --shadow-glow-rose: 0 0 30px rgba(244, 194, 194, 0.45);
  --shadow-glow-sage: 0 0 30px rgba(27, 59, 43, 0.22);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --announcement-height: 0px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Selection */
::selection {
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
}

/* Typography Defaults */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding: 96px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

/* Badges & Pills */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-accent-rose-soft);
  color: var(--color-accent-rose);
  border: 1px solid rgba(212, 131, 114, 0.2);
}

.pill-tag.sage {
  background: var(--color-sage-light);
  color: var(--color-sage);
  border-color: rgba(74, 107, 83, 0.2);
}

.pill-tag.caramel {
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-color: rgba(146, 64, 14, 0.2);
}

/* Section Header Motif */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-top: 14px;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(27, 59, 43, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 59, 43, 0.35);
}

.btn-rose {
  background-color: var(--color-accent-rose);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(244, 194, 194, 0.4);
}

.btn-rose:hover {
  background-color: var(--color-accent-rose-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 151, 151, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-surface);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: #DFD3C7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4B2A3;
}

/* ==========================================================================
   MOTIONSITES-INSPIRED ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */
@keyframes kineticFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes glowPulseRose {
  0%, 100% {
    box-shadow: 0 0 15px rgba(211, 170, 176, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(211, 170, 176, 0.65);
  }
}

@keyframes glowPulseSage {
  0%, 100% {
    box-shadow: 0 0 15px rgba(95, 126, 111, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(95, 126, 111, 0.6);
  }
}

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

.animate-fade-up {
  animation: kineticFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }
.animate-delay-4 { animation-delay: 0.6s; }

.float-ambient {
  animation: floatGentle 5s ease-in-out infinite;
}

.glow-rose {
  animation: glowPulseRose 3s ease-in-out infinite;
}

.glow-sage {
  animation: glowPulseSage 3s ease-in-out infinite;
}
