/* ============================================================
   SteveStyles — Wedding Photography & Film
   style.css
   ============================================================ */

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

:root {
  --bg:          #0e0e0e;
  --bg-alt:      #141414;
  --gold:        #c9a96e;
  --gold-light:  #dfc088;
  --gold-dim:    rgba(201, 169, 110, 0.12);
  --gold-line:   rgba(201, 169, 110, 0.22);
  --text:        #f0ede8;
  --text-muted:  #88887f;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;
  --nav-h:       80px;
  --max-w:       1280px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility ---------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-sub {
  max-width: 540px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons ---------------------------------------------- */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 40px;
  cursor: pointer;
  border: none;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full { width: 100%; text-align: center; }

/* --- Navigation ------------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

#navbar.scrolled {
  background: rgba(14, 14, 14, 0.96);
  box-shadow: 0 1px 0 var(--gold-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 14, 14, 0.25) 0%,
    rgba(14, 14, 14, 0.5)  50%,
    rgba(14, 14, 14, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 24px;
  animation: fadeUp 1.2s var(--ease) both;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(240, 237, 232, 0.7);
  margin-bottom: 48px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* --- Gallery ---------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
}

.gallery-item        { cursor: pointer; }
.gallery-item.tall   { grid-row: span 2; }
.gallery-item.wide   { grid-column: span 2; }

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1c1c1c;
}
.gallery-img-wrap img {
  transition: transform 0.65s var(--ease);
}
.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-icon {
  font-size: 2.6rem;
  font-weight: 100;
  color: var(--gold);
  line-height: 1;
}
.play-icon { font-size: 1.8rem; }

.gallery-label {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
  padding-left: 2px;
}

/* --- Lightbox --------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 8, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
}

#lightbox-video {
  width: min(90vw, 1100px);
  height: min(80vh, 618px);
  display: none;
}

#lightbox-caption {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 8px;
}
.lightbox-close:hover { color: var(--gold); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 16px;
  transition: color 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--gold); }

/* --- About ------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 3 / 4;
}
.about-image img {
  position: relative;
  z-index: 1;
  background: #1a1a1a;
}
.about-image-accent {
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid var(--gold-line);
  z-index: 0;
}

.about-text h2 { margin-bottom: 24px; }

.about-text .lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.65;
}
.about-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Packages --------------------------------------------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.package-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 36px;
  transition: border-color 0.3s;
}
.package-card:hover { border-color: var(--gold-line); }

.package-card.featured {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.04);
}

.package-badge {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.package-tier {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.package-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.package-price strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
}

.package-features {
  margin-bottom: 40px;
}
.package-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.package-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.packages-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.packages-note a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-line);
  transition: border-color 0.2s;
}
.packages-note a:hover { border-color: var(--gold); }

/* --- Testimonials ----------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial {
  border: 1px solid var(--gold-line);
  padding: 48px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 8px;
  left: 32px;
  line-height: 1;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonial footer { display: flex; flex-direction: column; gap: 4px; }
.testimonial footer strong {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.testimonial footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Contact ---------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 20px; }
.contact-intro > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gold-line);
}
.contact-details p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-details a,
.contact-details span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  transition: color 0.2s;
}
.contact-details a:hover { color: var(--gold); }

.social-links { display: flex; gap: 24px; }
.social-links a {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.social-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136, 136, 128, 0.45); }

.form-group select option { background: var(--bg-alt); }
.form-group textarea { resize: vertical; min-height: 120px; }

input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); }
input[type="date"] { color-scheme: dark; }

/* --- Films ------------------------------------------------ */
.film-embed {
  max-width: 900px;
  margin: 0 auto;
}

.film-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.film-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-note {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- HoneyBook widget ------------------------------------- */
.honeybook-widget {
  width: 100%;
  min-height: 400px;
}

/* --- Footer ----------------------------------------------- */
.footer {
  padding: 52px 0;
  border-top: 1px solid var(--gold-line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* --- Scroll reveal ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .about-grid { gap: 48px; }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .package-card.featured { order: -1; }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .gallery-item.wide { grid-column: span 1; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 4 / 3; max-width: 500px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 80px 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0 28px;
    border-bottom: 1px solid var(--gold-line);
    transform: translateY(-105%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 15px 24px; font-size: 0.75rem; }
  .nav-cta { margin: 8px 24px 0; display: block; padding: 14px 24px !important; }

  .nav-toggle { display: flex; }

  .gallery-grid { grid-auto-rows: 200px; }
  .gallery-item.tall { grid-row: span 1; }

  .form-row { grid-template-columns: 1fr; }

  .about-stats { gap: 32px; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .testimonial { padding: 32px 24px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
}
