/* ====================================================================
   Hoja de Estilos Oficial - Los Príncipes Casa Dani
   Paleta Basada en Identidad Real:
   - Verde Botella / Forestal Profundo: #1e3b2b
   - Oro Mostaza / Ocre Cálido: #c58a2b
   - Fondo Crema / Pergamino: #f5f1ea
   ==================================================================== */

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

/* Variables CSS y Tokens de Marca */
:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-cursive: 'Caveat', cursive, sans-serif;
  
  --color-brand-green: #1e3b2b;
  --color-brand-green-dark: #14281d;
  --color-brand-gold: #c58a2b;
  --color-brand-gold-light: #d89b3c;
  --color-cream-bg: #f5f1ea;
  --color-cream-card: #ffffff;
  --color-cream-border: #e6decb;
}

/* Tailwind CSS & Custom Reset */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
  font-family: var(--font-body);
  background-color: #f5f1ea;
  color: #1c2e24;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dark body, html.dark body {
  background-color: #0b140e;
  color: #f3eee6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-heading);
}

.font-cursive {
  font-family: var(--font-cursive);
}

/* Skip link de accesibilidad */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: #c58a2b;
  color: #ffffff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

/* Gradientes y Textos Dorados de la Imagen */
.text-gold-brand {
  color: #c58a2b;
}

.text-green-brand {
  color: #1e3b2b;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #d89b3c 0%, #c58a2b 50%, #9e6919 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-brand {
  background-color: #c58a2b;
}

.bg-green-brand {
  background-color: #1e3b2b;
}

.border-gold-glow {
  box-shadow: 0 0 20px rgba(197, 138, 43, 0.25);
}

/* Animaciones Reveal on Scroll */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Retardos de animación */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Transición de Header */
#main-header {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Efectos Glassmorphism */
.glass-panel {
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 138, 43, 0.2);
}

.dark .glass-panel {
  background: rgba(11, 20, 14, 0.9);
  border: 1px solid rgba(197, 138, 43, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #14281d;
}
::-webkit-scrollbar-thumb {
  background: #334d3f;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c58a2b;
}

/* Trama sutil de líneas oblicuas para el Hero */
.hero-oblique-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.25) 0,
    rgba(0, 0, 0, 0.25) 2px,
    transparent 2px,
    transparent 12px
  );
}

/* Utilidades para tarjetas */
.dish-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dish-card:hover {
  transform: translateY(-4px);
}
