/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
select, input, textarea { font-family: inherit; font-size: inherit; }

/* ─── Custom Properties ─── */
:root {
  --nav-height: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Navigation ─── */
.nav-fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav-fixed.scrolled {
  background: rgba(253, 248, 243, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #C4663A;
  border-radius: 1px;
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover::after { width: 100%; }

/* ─── Buttons ─── */
.btn-primary {
  background: #C4663A;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #A8522E;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196, 102, 58, 0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: #3C2415;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(60,36,21,0.15);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: #fff;
  border-color: #C4663A;
  color: #C4663A;
  transform: translateY(-1px);
}

/* ─── Input Fields ─── */
.input-field {
  border: 1.5px solid #E8D5BF;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: #FDF8F3;
  color: #3C2415;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}
.input-field::placeholder { color: #C4A678; }
.input-field:focus {
  border-color: #C4663A;
  box-shadow: 0 0 0 3px rgba(196, 102, 58, 0.12);
  background: #fff;
}

/* ─── Geometric Shapes ─── */
.geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.circle-1 {
  top: 15%; left: -4%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(244,162,118,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-shape 8s ease-in-out infinite;
}
.circle-2 {
  bottom: 10%; right: 5%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,213,191,0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-shape 10s ease-in-out infinite reverse;
}
.triangle {
  top: 30%; right: 8%;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(196, 102, 58, 0.08);
  animation: spin-slow 20s linear infinite;
}
.square-rotated {
  bottom: 25%; left: 5%;
  width: 80px; height: 80px;
  background: rgba(232, 162, 120, 0.1);
  border-radius: 12px;
  transform: rotate(45deg);
  animation: float-shape 6s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Hero ─── */
.hero-content { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards; }
.hero-image { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s var(--ease-out-expo) 0.4s forwards; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

/* ─── Menu Cards ─── */
.menu-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); }
.menu-card.visible { opacity: 1; transform: translateY(0); }
.menu-card:nth-child(2) { transition-delay: 0.1s; }
.menu-card:nth-child(3) { transition-delay: 0.2s; }
.menu-card:nth-child(4) { transition-delay: 0.3s; }
.menu-card:nth-child(5) { transition-delay: 0.4s; }
.menu-card:nth-child(6) { transition-delay: 0.5s; }

/* ─── Testimonial Cards ─── */
.testimonial-card { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo); }
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* ─── About Images ─── */
.about-images { opacity: 0; transform: translateX(-20px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.about-images.visible { opacity: 1; transform: translateX(0); }

/* ─── Mobile Menu ─── */
.mobile-link { border-bottom: 1px solid transparent; padding-bottom: 0.5rem; }
.mobile-link:hover { border-bottom-color: rgba(196,102,58,0.2); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  #hero { min-height: auto; padding: 6rem 0 4rem; }
  #hero .lg\\:grid-cols-2 { display: flex; flex-direction: column; }
  #hero .hero-image { display: none; }
  h1 { font-size: 2.75rem !important; line-height: 1.1 !important; }
  h2 { font-size: 2.25rem !important; }
  .hero-content { text-align: center; }
  .hero-content .flex-wrap { justify-content: center; }
  .hero-content .flex.items-center.gap-8 { justify-content: center; }
  .about-images { display: none; }
  .about-images.visible { opacity: 1; transform: none; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  h1 { font-size: 4rem; }
}

/* ─── Focus visible ─── */
*:focus-visible {
  outline: 2px solid #C4663A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Selection ─── */
::selection { background: rgba(196, 102, 58, 0.2); color: #3C2415; }

/* ─── 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; }
  .menu-card, .testimonial-card, .about-images {
    opacity: 1; transform: none;
  }
}
