/*
Theme Name: Bridge Weddings
Theme URI: https://example.com/bridge-weddings
Author: v0
Author URI: https://v0.app
Description: A luxury wedding photography & films theme with a dark, editorial aesthetic. Single-page style homepage with featured weddings carousel, about block, cinematic films band, awards stats, press logos, Instagram gallery and a closing CTA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bridge-weddings
Tags: photography, portfolio, wedding, custom-menu, featured-images, full-width-template
*/

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  --bw-cream: #f3efe9;
  --bw-cream-2: #ece6dd;
  --bw-ink: #1b1714;
  --bw-ink-soft: #2a2420;
  --bw-charcoal: #211c18;
  --bw-text: #3a332d;
  --bw-muted: #7a7068;
  --bw-gold: #b08d57;
  --bw-gold-soft: #c8a877;
  --bw-line: rgba(40, 33, 28, 0.14);
  --bw-on-dark: #efe9e0;
  --bw-on-dark-muted: #b8aea2;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Tangerine", "Brush Script MT", cursive;
  --container: 1240px;
}

/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bw-cream);
  color: var(--bw-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; margin: 0; line-height: 1.1; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 500;
  color: var(--bw-gold);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  color: inherit;
}
.link-arrow .line { display: inline-block; width: 46px; height: 1px; background: currentColor; transition: width .3s ease; }
.link-arrow:hover .line { width: 64px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 28px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--bw-on-dark); }
.brand .brand-mark { font-family: var(--font-serif); font-size: 30px; letter-spacing: 2px; }
.brand .brand-sub { font-family: var(--font-sans); font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 4px; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 500;
  color: var(--bw-on-dark);
  transition: color .25s ease;
}
.main-nav a:hover { color: var(--bw-gold-soft); }

.btn-consult {
  border: 1px solid rgba(239, 233, 224, 0.5);
  color: var(--bw-on-dark);
  padding: 14px 24px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 500;
  transition: background .25s ease, color .25s ease;
}
.btn-consult:hover { background: var(--bw-on-dark); color: var(--bw-ink); }

.nav-toggle { display: none; background: none; border: 0; color: var(--bw-on-dark); cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--bw-on-dark);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,16,13,0.78) 0%, rgba(20,16,13,0.45) 45%, rgba(20,16,13,0.12) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 26px; color: var(--bw-on-dark); letter-spacing: 0.3em; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  max-width: 12ch;
  margin-bottom: 36px;
  text-wrap: balance;
}
.hero .link-arrow { color: var(--bw-on-dark); }
.scroll-indicator {
  position: absolute;
  bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--bw-on-dark);
}
.scroll-indicator span { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10px; }
.scroll-indicator .bar { width: 1px; height: 46px; background: rgba(239,233,224,0.6); }

/* =========================================================
   Section helpers
   ========================================================= */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-style: italic; font-weight: 500; }

/* =========================================================
   Featured Weddings
   ========================================================= */
.featured { position: relative; }
.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.wedding-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bw-ink);
}
.wedding-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.wedding-card:hover img { transform: scale(1.06); }
.wedding-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,10,0.85) 0%, rgba(15,12,10,0.1) 50%);
}
.wedding-card .caption { position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2; color: var(--bw-on-dark); }
.wedding-card .loc { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.2em; font-size: 9px; color: var(--bw-gold-soft); margin-bottom: 8px; }
.wedding-card .names { font-family: var(--font-serif); font-size: 1.45rem; }
.carousel-btn {
  position: absolute;
  top: 50%; right: -18px; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--bw-line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; color: var(--bw-ink);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.featured-dots { display: none; justify-content: center; gap: 9px; margin-top: 26px; }
.featured-dots button {
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  background: transparent; border: 1px solid var(--bw-muted);
  cursor: pointer; transition: background .25s ease, border-color .25s ease;
}
.featured-dots button.active { background: var(--bw-ink); border-color: var(--bw-ink); }

/* =========================================================
   About (I'm Timi)
   ========================================================= */
.about { padding: 40px 0 96px; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-script { font-family: var(--font-script); color: var(--bw-gold); font-size: 3.4rem; line-height: 0.9; }
.about h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 4px 0 28px; }
.about-lead {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 500;
  color: var(--bw-ink);
  line-height: 1.9;
  margin-bottom: 26px;
}
.about-body p { font-size: 14px; color: var(--bw-muted); margin-bottom: 18px; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about .link-arrow { margin-top: 14px; color: var(--bw-ink); }

/* =========================================================
   Films band
   ========================================================= */
.films {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center;
  color: var(--bw-on-dark);
  background-size: cover; background-position: center;
}
.films::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,0.82) 0%, rgba(18,13,10,0.3) 70%); }
.films .container { position: relative; z-index: 2; }
.films .eyebrow { display: block; margin-bottom: 22px; color: var(--bw-on-dark); }
.films h2 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: 10ch; margin-bottom: 30px; }
.films .link-arrow { color: var(--bw-on-dark); }
.play-btn {
  margin-top: 30px;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid rgba(239,233,224,0.6);
  background: transparent; color: var(--bw-on-dark);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.play-btn:hover { background: var(--bw-on-dark); color: var(--bw-ink); }

/* =========================================================
   Awards bar
   ========================================================= */
.awards { background: var(--bw-ink); color: var(--bw-on-dark); padding: 44px 0; }
.awards .container { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.awards-badge { text-align: center; }
.awards-badge .laurel { font-family: var(--font-serif); font-size: 12px; letter-spacing: 0.1em; color: var(--bw-gold-soft); line-height: 1.4; border: 1px solid rgba(200,168,119,0.5); border-radius: 50%; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; }
.awards-badge .laurel strong { font-style: italic; }
.awards-badge .gold { font-family: var(--font-serif); letter-spacing: 0.3em; color: var(--bw-gold); font-size: 13px; margin-top: 10px; }
.awards-copy h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 12px; }
.awards-copy h3 em { color: var(--bw-gold-soft); }
.awards-copy p { color: var(--bw-on-dark-muted); font-size: 13px; max-width: 46ch; margin: 0; }
.awards-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat .icon { color: var(--bw-gold); margin-bottom: 10px; display: flex; justify-content: center; }
.stat .num { font-family: var(--font-serif); font-size: 1.8rem; color: var(--bw-gold-soft); }
.stat .label { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.16em; font-size: 9px; color: var(--bw-on-dark-muted); margin-top: 6px; }

/* =========================================================
   Press / As seen in
   ========================================================= */
.press { padding: 56px 0 40px; text-align: center; }
.press .eyebrow { display: block; margin-bottom: 30px; }
.press-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; }
.press-logos span { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: 0.08em; color: var(--bw-ink); opacity: 0.75; }
.press-logos .sans { font-family: var(--font-sans); font-weight: 700; font-style: italic; }
.press-logos .small { font-size: 1.1rem; }

/* =========================================================
   Instagram gallery
   ========================================================= */
.insta { padding-bottom: 0; }
.insta-head { text-align: center; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: var(--bw-muted); margin-bottom: 26px; }
.insta-grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.insta-grid a { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.insta-grid a:hover img { transform: scale(1.08); opacity: 0.9; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  min-height: 300px;
  display: flex; align-items: center;
  color: var(--bw-on-dark);
  background-size: cover; background-position: center;
}
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,0.8) 0%, rgba(18,13,10,0.25) 80%); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-style: italic; margin-bottom: 26px; }
.cta .link-arrow { color: var(--bw-on-dark); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--bw-cream-2); padding: 40px 0; }
.site-footer .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer .brand { color: var(--bw-ink); }
.footer-nav ul { display: flex; gap: 30px; }
.footer-nav a { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: var(--bw-text); }
.footer-nav a:hover { color: var(--bw-gold); }
.footer-social { display: flex; gap: 16px; color: var(--bw-ink); }
.footer-social a:hover { color: var(--bw-gold); }
.copyright { text-align: center; margin-top: 28px; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; color: var(--bw-muted); }

/* =========================================================
   Generic content (pages / posts)
   ========================================================= */
.page-content { padding: 160px 0 96px; }
.page-content .entry-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.page-content .entry { max-width: 760px; }
.page-content .entry a { color: var(--bw-gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .about .container { grid-template-columns: 1fr; gap: 36px; }
  .awards .container { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .awards-stats { justify-content: center; }
  .awards-copy p { margin: 0 auto; }
  .featured-track { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  /* Header: keep logo + consult button + hamburger inline */
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header { padding: 20px 0; }
  .site-header .container { gap: 14px; }
  .btn-consult { display: inline-block; padding: 11px 16px; font-size: 9px; letter-spacing: 0.14em; }
  .site-header.nav-open .main-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bw-ink); padding: 24px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 18px; }

  /* Hero: anchor copy lower with bottom-up scrim */
  .hero { align-items: flex-end; min-height: 86vh; }
  .hero .container { padding-bottom: 96px; }
  .hero::after {
    background: linear-gradient(to top, rgba(20,16,13,0.9) 0%, rgba(20,16,13,0.45) 50%, rgba(20,16,13,0.2) 100%);
  }

  .section { padding: 60px 0; }

  /* Featured: horizontal swipe carousel with peek + dots */
  .featured-track {
    display: flex;
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 4px;
  }
  .featured-track::-webkit-scrollbar { display: none; }
  .wedding-card { flex: 0 0 76%; scroll-snap-align: center; }
  .carousel-btn { display: none; }
  .featured-dots { display: flex; }

  /* Press logos: 3-up grid */
  .press-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 14px; }
  .press-logos span { font-size: 1.05rem; }
  .press-logos .small { font-size: 0.9rem; }

  /* Instagram: 3 columns */
  .insta-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer: centered stack with vertical nav */
  .site-footer { padding: 48px 0; text-align: center; }
  .site-footer .row { flex-direction: column; gap: 30px; }
  .footer-nav ul { flex-direction: column; gap: 16px; align-items: center; }
  .footer-social { justify-content: center; }
}
