:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --background: 0 0% 100%;
  --foreground: 220 20% 10%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 20% 10%;
  --primary: 38 70% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 15% 95%;
  --secondary-foreground: 220 20% 15%;
  --muted: 220 15% 96%;
  --muted-foreground: 220 10% 45%;
  --accent: 220 15% 93%;
  --accent-foreground: 220 20% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 220 15% 90%;
  --input: 220 15% 90%;
  --ring: 38 70% 50%;
  --radius: 0.75rem;
}

* {
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* ---------- Navbar scrolled state ---------- */
#navbar {
  background-color: hsl(var(--foreground) / 0.96);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.12);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
#navbar #brand-name { color: hsl(var(--background)); }
#navbar #brand-sub { color: hsl(var(--background) / 0.65); }
#navbar #nav-phone { color: hsl(var(--background)); }
#navbar .nav-link { color: hsl(var(--background) / 0.8); }
#navbar .nav-link:hover { color: hsl(var(--background)); }
#navbar #mobile-menu-btn { color: hsl(var(--background)); }
#navbar.scrolled {
  background-color: hsl(var(--foreground) / 0.98);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.15);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
#navbar.scrolled #brand-name { color: hsl(var(--background)); }
#navbar.scrolled #brand-sub { color: hsl(var(--background) / 0.65); }
#navbar.scrolled #nav-phone { color: hsl(var(--background)); }
#navbar.scrolled .nav-link { color: hsl(var(--background) / 0.8); }
#navbar.scrolled .nav-link:hover { color: hsl(var(--background)); }
#navbar.scrolled #mobile-menu-btn { color: hsl(var(--background)); }
.nav-link.active, .nav-link-mobile.active {
  color: hsl(var(--primary)) !important;
  background-color: hsl(var(--primary) / 0.1) !important;
}

/* ---------- Scroll reveal (replaces framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-scale.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Fade crossfade helper (hero / slideshow / testimonials) ---------- */
.fade-slide {
  transition: opacity 0.7s ease;
}

/* ---------- Lightbox ---------- */
#lightbox {
  backdrop-filter: blur(2px);
}

/* ---------- Line clamp helper (not in tailwind cdn core) ---------- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
