/* Drew Whimpey Films — design tokens (colors, fonts, shadows) match the original site exactly */

:root {
  --background: 0 0% 100%;
  --foreground: 165 20% 12%;

  --card: 0 0% 100%;
  --card-foreground: 165 20% 12%;

  --primary: 30 35% 62%;        /* warm gold accent */
  --primary-foreground: 0 0% 100%;

  --secondary: 180 20% 43%;     /* muted teal */
  --secondary-foreground: 0 0% 100%;

  --muted: 30 20% 92%;
  --muted-foreground: 28 15% 50%;

  --accent: 190 25% 35%;
  --accent-foreground: 0 0% 100%;

  --border: 30 20% 85%;

  --radius: 1rem;

  --gradient-hero: linear-gradient(135deg, hsl(165 20% 12% / .8), hsl(165 20% 12% / .4));
  --shadow-elegant: 0 20px 60px -20px hsl(165 20% 12% / .3);
  --shadow-hover: 0 25px 70px -15px hsl(30 35% 62% / .25);

  --transition-smooth: all .4s cubic-bezier(.4, 0, .2, 1);

  --font-body: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Copperplate, "Copperplate Gothic Light", fantasy;
  --font-display: "Libre Baskerville", serif;
  --font-handwritten: Caveat, cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.max-w-4xl { max-width: 56rem; }
.container.max-w-3xl { max-width: 48rem; }

/* ---------- Utility-ish helpers ---------- */
.text-center { text-align: center; }
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
}
.gold-divider.w-24 { width: 6rem; margin: 0 auto; }
.gold-divider.w-32 { width: 8rem; margin: 0 auto 2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 500;
  padding: .75rem 1.75rem;
  border-radius: calc(var(--radius) - .5rem);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-outline {
  border-color: hsl(var(--border));
  background: hsl(var(--background));
}
.btn-outline:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }
.btn-link {
  color: hsl(var(--foreground));
  text-underline-offset: 4px;
  text-decoration: underline;
}
.btn-link:hover { color: hsl(var(--primary)); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: var(--transition-smooth);
  background: transparent;
}
.navbar.solid {
  background: hsl(var(--background) / .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.navbar .logo img { height: 3rem; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: hsl(var(--background));
  transition: color .3s;
}
.navbar.solid .nav-links a { color: hsl(var(--foreground)); }
.nav-links a:hover { color: hsl(var(--primary)); }
.nav-links a.active { color: hsl(var(--primary)); }

.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: .5rem;
  color: hsl(var(--background));
  cursor: pointer;
}
.navbar.solid .nav-toggle { color: hsl(var(--foreground)); }

.mobile-menu {
  display: none;
  margin-top: 1rem;
  padding-bottom: 1rem;
  background: hsl(var(--foreground) / .95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1rem;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  color: hsl(var(--background));
  font-size: .875rem;
  font-weight: 500;
}
.mobile-menu a.active { color: hsl(var(--primary)); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* Pages that always show a solid navbar (no dark hero behind it) */
.navbar.force-solid { background: hsl(var(--background) / .95); backdrop-filter: blur(12px); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.navbar.force-solid .nav-links a { color: hsl(var(--foreground)); }
.navbar.force-solid .nav-toggle { color: hsl(var(--foreground)); }

/* ---------- Video hero ---------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero.h-full { height: 100vh; }
.hero.h-large { height: 80vh; }
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media {
  overflow: hidden;
}
.hero-media iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  /* scaled up so YouTube's title card / logo / control badges (which sit near the
     iframe's own edges) land outside the visible, clipped container */
  transform: translate(-50%, -50%) scale(1.4);
  border: 0;
  pointer-events: none;
}
.hero-video-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  transition: opacity .5s ease;
  pointer-events: none;
}
.hero-video-cover.hide { opacity: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.4), rgba(0,0,0,.8));
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  justify-content: flex-start;
  padding-top: 25vh;
}
.hero-content.center { justify-content: center; padding-top: 0; }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.8), 0 4px 40px rgba(0,0,0,.6);
  animation: fadeInUp .8s ease-out forwards;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.5rem; } }

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.75rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .hero-links { flex-direction: row; gap: 4rem; } }
.hero-link {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
  transition: color .3s;
}
.hero-link:hover { color: rgba(255,255,255,.8); }
.hero-link .line1 { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.hero-link .line2 {
  font-family: var(--font-handwritten);
  font-size: 1.75rem;
  color: hsl(var(--primary));
}
.hero-divider { display: none; color: rgba(255,255,255,.6); text-shadow: 0 2px 10px rgba(0,0,0,.8); }
@media (min-width: 768px) { .hero-divider { display: block; } }

.scroll-hint {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #fff;
}
.scroll-hint-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.0625rem;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.curvy-arrow {
  width: 1.75rem;
  height: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.8));
  transform: rotate(15deg);
}

/* ---------- Sections ---------- */
section { padding: 6rem 1.5rem; }
.section-tight { padding: 4rem 1.5rem; }
.section-narrow { padding: 5rem 1.5rem; }

.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-heading h2 { font-size: 3rem; } }
.section-heading p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; }

.bg-secondary-band {
  background: hsl(var(--secondary));
  padding: 4rem 1.5rem;
}
.bg-secondary-band.thin { padding: 2rem 1.5rem; }
.bg-secondary-band.spaced { margin-top: 3rem; }
.bg-secondary-band.compact { padding: 35px 1.5rem; }
.bg-secondary-band p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #fff;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.bg-dark-band {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 5rem 1.5rem;
  text-align: center;
}
.bg-dark-band h2 { font-family: var(--font-serif); font-weight: 300; font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .bg-dark-band h2 { font-size: 2.25rem; } }
.bg-dark-band p { font-size: 1.125rem; margin-bottom: 2rem; color: hsl(var(--background) / .9); max-width: 42rem; margin-left: auto; margin-right: auto; }
.bg-dark-band a.cta-link {
  display: inline-block;
  color: hsl(var(--background));
  font-size: 1.25rem;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
  transition: color .3s;
}
.bg-dark-band a.cta-link:hover { color: hsl(var(--background) / .8); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  background: hsl(var(--card));
  box-shadow: var(--shadow-elegant);
  transition: transform .4s, box-shadow .4s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.gallery-card .video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.gallery-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-card .caption { padding: 1rem; text-align: center; }
.gallery-card .caption h3 { font-size: 1.125rem; font-weight: 500; margin: 0; }

/* ---------- Pricing cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-elegant);
  transition: transform .4s, box-shadow .4s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pricing-card.highlighted { border: 2px solid hsl(var(--primary)); }
.pricing-card .badge {
  font-size: .75rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  text-align: center;
  margin-bottom: .5rem;
}
.pricing-card h3 { font-family: var(--font-serif); font-size: 1.5rem; text-align: center; margin: 0 0 .25rem; }
.pricing-card .price { text-align: center; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.pricing-card li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.pricing-card li .check { color: hsl(var(--primary)); margin-top: .1rem; }

/* ---------- Embedded HoneyBook inquiry form ---------- */
.hb-form-frame {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  box-shadow: var(--shadow-elegant);
  padding: 1rem;
  min-height: 500px;
  text-align: left;
}
.hb-form-frame iframe { border-radius: calc(var(--radius) - .5rem); }
.pricing-card .btn { width: 100%; }

/* ---------- About page ---------- */
.about-hero { padding: 8rem 1.5rem 5rem; }
.about-hero .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .about-hero .grid { grid-template-columns: repeat(2, 1fr); } }
.about-hero h1 { font-family: var(--font-serif); font-weight: 300; font-size: 3rem; line-height: 1.15; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .about-hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .about-hero h1 { font-size: 4.5rem; } }
.about-hero .lead { font-size: 1.25rem; color: hsl(var(--muted-foreground)); font-weight: 300; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-hero .lead { font-size: 1.5rem; } }
.about-hero p.body-copy { font-size: 1.125rem; line-height: 1.75; margin-bottom: 1rem; }
.about-hero .signature { font-weight: 500; }
.about-hero .photo-order-1 { order: -1; }
@media (min-width: 768px) { .about-hero .photo-order-1 { order: 1; } .about-hero .text-order-1 { order: 0; } }

.about-gallery {
  padding: 0 1.5rem 5rem;
}
.about-gallery .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .about-gallery .grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact page ---------- */
.contact-hero {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
  text-align: center;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--accent) / .05), hsl(var(--background)), hsl(var(--secondary) / .05));
}
.contact-hero .inner { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; }
.contact-hero h1 { font-family: var(--font-serif); font-weight: 300; font-size: 3rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-hero h1 { font-size: 4.5rem; } }
.contact-hero p { font-size: 1.25rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

.contact-cards {
  padding: 6rem 1.5rem;
  background: hsl(var(--muted) / .2);
}
.contact-cards .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .contact-cards .grid { grid-template-columns: repeat(2, 1fr); } }

.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-elegant);
  padding: 2.5rem;
  transition: transform .5s, box-shadow .5s;
}
.contact-card:hover { transform: translateY(-.5rem); box-shadow: var(--shadow-hover); }
.contact-card .icon-circle {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.contact-card .icon-circle svg { width: 2rem; height: 2rem; }
.contact-card.secondary .icon-circle { background: hsl(var(--secondary) / .1); color: hsl(var(--secondary)); }
.contact-card.primary .icon-circle { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.contact-card h2 { font-family: var(--font-serif); font-weight: 300; font-size: 1.875rem; margin: 0 0 1rem; }
.contact-card p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-card a.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.125rem; font-weight: 500;
}
.contact-card.secondary a.link { color: hsl(var(--secondary)); }
.contact-card.primary a.link { color: hsl(var(--primary)); }

/* ---------- Footer ---------- */
footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 0;
}
footer .footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { footer .footer-top { flex-direction: row; justify-content: space-between; text-align: left; } }
footer h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; margin: 0 0 .5rem; }
footer .tagline { font-size: .875rem; color: hsl(var(--background) / .8); margin: 0; }
footer .socials { display: flex; gap: 1.5rem; }
footer .socials a { display: flex; align-items: center; justify-content: center; transition: color .3s; }
footer .socials a svg { width: 1.5rem; height: 1.5rem; }
footer .socials a:hover { color: hsl(var(--primary)); }
footer .gold-divider { margin: 1.5rem 0; }
footer .copyright { text-align: center; font-size: .875rem; color: hsl(var(--background) / .6); margin: 0; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-in-up { animation: fadeInUp .8s ease-out forwards; }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
