/*
Theme Name: Flipper & Veil
Theme URI: https://www.flipperandveil.co.uk/
Author: Digiwrap / Pincade
Description: Luxury wedding virtual pinball hire landing page theme for Flipper & Veil.
Version: 1.0.0
Text Domain: flipper-veil
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #f7f3ee;
  --panel: #fff;
  --cream: #fbf7f2;
  --line: #eadfd3;
  --blush: #e9c4c2;
  --gold: #b89760;
  --gold-dark: #967642;
  --text: #2d2825;
  --muted: #76695f;
  --dark: #201b18;
  --shadow: 0 20px 60px rgba(32, 27, 24, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,238,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-wrap {
  min-height: 86px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 26px;
}
.brand img { width: 178px; height: auto; }
.main-nav {
  justify-self: center;
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.main-nav a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-icon {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(184,151,96,.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.62);
  color: var(--gold);
  transition: .2s ease;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-icon:hover {
  color: #fff;
  background: var(--gold);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px;
  background: var(--text);
}

.hero {
  padding: 0 0 52px;
}
.hero .container {
  width: 100%;
  max-width: none;
}
.hero-shell {
  background: var(--panel);
  border: 0;
  box-shadow: none;
  overflow: hidden;
}
.hero-image {
  position: relative;
  min-height: calc(100vh - 86px);
  background:
    linear-gradient(90deg, rgba(32,27,24,.72) 0%, rgba(32,27,24,.42) 34%, rgba(32,27,24,.08) 70%),
    url('assets/hero-main.jpg') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 460px;
  color: #fff;
}
.eyebrow,
.section-kicker,
.card-label {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.hero-overlay .eyebrow { color: #e4c390; }
h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: -.03em;
}
h1 {
  margin-top: 16px;
  font-size: clamp(56px, 8vw, 106px);
}
h2 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 58px);
}
h3 { font-size: 29px; }
.hero-overlay p:not(.eyebrow) {
  margin: 18px 0 28px;
  font-size: 19px;
  line-height: 1.62;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 23px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn-blush { background: var(--blush); color: var(--text); }
.btn-blush:hover { background: #dfaaa8; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--gold); }
.btn-cream { background: var(--cream); color: var(--text); }
.btn-cream:hover { background: #efe4d7; }

.hero-strip {
  padding: 30px max(20px, calc((100vw - 1180px) / 2)) 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-strip > p {
  margin: 0 0 22px;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: 16px;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-features article {
  text-align: center;
  padding: 10px 22px;
  border-left: 1px solid var(--line);
}
.hero-features article:first-child { border-left: 0; }
.hero-features span {
  color: var(--gold);
  font-size: 30px;
}
.hero-features h2 {
  margin: 10px 0 6px;
  font-size: 25px;
}
.hero-features p,
.section-head p,
.rich-text p,
.seo-card p,
.flower-copy p,
.package-card li,
.socials-box p,
.enquire-copy p,
.form-note,
.note {
  color: var(--muted);
  line-height: 1.75;
}

.section { padding: 82px 0; }
.two-col,
.flower-card,
.socials-box,
.enquire-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rich-text strong { color: var(--text); }

.section-head {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 820px;
}
.centered { text-align: center; }

.hire-section,
.gallery-section {
  background: rgba(255,255,255,.42);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.seo-card,
.package-card,
.flower-card,
.socials-box,
.enquire-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.seo-card {
  padding: 28px;
}
.seo-card h3 { font-size: 26px; }

.flower-card {
  overflow: hidden;
}
.flower-copy { padding: 42px; }
.flower-image {
  min-height: 520px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff, #f5eee6);
}
.flower-image img {
  max-height: 560px;
  object-fit: contain;
}
.note {
  padding: 16px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}


.video-section .section-head p { color: #d8c8b8; }




.video-section {
  background: var(--dark);
  color: #fff;
}
.video-section .section-kicker { color: #e4c390; }
.video-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 42px;
  align-items: center;
}
.video-left { min-width: 0; }
.video-right h2 {
  margin-top: 10px;
  color: #fff;
}
.video-right > p:not(.section-kicker) {
  color: #d8c8b8;
  line-height: 1.75;
  margin: 18px 0 26px;
}
.video-points {
  display: grid;
  gap: 18px;
}
.video-points article {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.video-points h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
}
.video-points p {
  margin: 0;
  color: #d8c8b8;
  line-height: 1.7;
}
.video-frame {
  max-width: 420px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: rgba(255,255,255,.06);
}
.video-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: #000;
  object-fit: cover;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.package-card {
  padding: 30px;
}
.package-card.featured {
  background: var(--dark);
  color: #fff;
}
.package-card.featured li,
.package-card.featured .card-label {
  color: #e1d2c3;
}
.price {
  margin: 18px 0;
  color: var(--gold);
  font-size: 31px;
  font-weight: 800;
}
.package-card ul {
  padding-left: 18px;
  margin: 0 0 24px;
}

.gallery-container {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  grid-auto-rows: 245px;
  gap: 18px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(.96);
}
.gallery-item.large { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.small img { object-position: center top; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 4vw;
  background: rgba(20,17,15,.88);
}
.lightbox:target { display: grid; }
.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.close {
  position: fixed;
  top: 22px;
  right: 30px;
  color: #fff;
  font-size: 48px;
  line-height: 1;
}

.socials-box {
  padding: 34px;
}
.social-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.social-pill {
  min-width: 165px;
  padding: 15px 18px;
  border: 1px solid rgba(184,151,96,.32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cream);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.social-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social-pill:hover {
  background: var(--gold);
  color: #fff;
}

.enquire-box {
  overflow: hidden;
}
.enquire-copy { padding: 42px; }
.contact-list strong { color: var(--gold-dark); }
.enquiry-form {
  display: grid;
  gap: 14px;
  padding: 42px;
  border-left: 1px solid var(--line);
  background: var(--cream);
}
.enquiry-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-wrap img { width: 175px; }
.footer-wrap p {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .header-wrap {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle { display: block; }
  .main-nav, .site-header .social-links { display: none; }
  body.menu-open .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 16px 5%;
  }
  body.menu-open .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-image { min-height: 540px; }
  .two-col,
  .flower-card,
  .socials-box,
  .enquire-box,
  .package-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .social-buttons { justify-content: flex-start; }
  .enquiry-form {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  
  .video-split {
    grid-template-columns: 1fr;
  }
  .video-frame {
    max-width: 420px;
  }

  .gallery-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .brand img { width: 150px; }
  .hero { padding-top: 0; }
  .hero-image {
    min-height: 480px;
    background-position: 56% center;
  }
  .hero-overlay {
    left: 24px;
    right: 24px;
    max-width: 340px;
  }
  h1 { font-size: 56px; }
  .hero-features,
  .gallery-container {
    grid-template-columns: 1fr;
  }
  .hero-features article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-features article:first-child { border-top: 0; }
  .section { padding: 62px 0; }
  .flower-copy,
  .seo-card,
  .package-card,
  .socials-box,
  .enquire-copy,
  .enquiry-form {
    padding: 24px;
  }
  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-row: auto;
    grid-column: auto;
  }
  .gallery-container {
    grid-auto-rows: 280px;
  }
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}


/* v9 wider gallery layout with right-side feature panel */
.gallery-wide {
  width: min(1500px, 94%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.gallery-feature-card {
  position: sticky;
  top: 110px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--dark);
}

.gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--gold);
  font-size: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.gallery-feature-copy {
  padding: 26px;
}

.gallery-feature-copy h2 {
  font-size: 38px;
}

.gallery-feature-copy p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.website-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

@media (max-width: 1200px) {
  .gallery-wide {
    grid-template-columns: 1fr;
  }

  .gallery-feature-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .gallery-feature-card {
    display: block;
  }
}


/* v10 gallery feature card uses photo instead of video thumbnail */
.gallery-feature-photo {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark);
}

.gallery-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-feature .gallery-feature-copy {
  border-top: 1px solid var(--line);
}

@media (max-width: 1200px) {
  .gallery-feature-photo {
    aspect-ratio: 16 / 10;
  }
}


/* v11 simplified gallery to match Photoshop-style mockup */
.gallery-only {
  width: min(1080px, 92%);
}

.gallery-mockup {
  grid-template-columns: 1.12fr .9fr .9fr;
  grid-auto-rows: 215px;
  gap: 14px;
}

.gallery-mockup .gallery-item {
  border-radius: 3px;
  box-shadow: none;
  background: transparent;
}

.gallery-mockup .gallery-item img {
  object-fit: cover;
}

@media (max-width: 1100px) {
  .gallery-only {
    width: min(960px, 94%);
  }
  .gallery-mockup {
    grid-auto-rows: 195px;
  }
}

@media (max-width: 760px) {
  .gallery-only {
    width: min(92%, 92%);
  }
}


/* WordPress theme final gallery polish */
.gallery-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.gallery-only {
  width: min(1120px, 92%);
}

.gallery-mockup {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  grid-auto-rows: 210px;
  gap: 14px;
  align-items: stretch;
}

.gallery-mockup .gallery-item {
  border-radius: 4px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.gallery-mockup .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-success,
.form-error {
  padding: 15px 18px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.form-success {
  background: #edf7ee;
  color: #24672c;
  border: 1px solid #b7dfbd;
}

.form-error {
  background: #fff0f0;
  color: #8a1f1f;
  border: 1px solid #efc1c1;
}

@media (max-width: 1040px) {
  .gallery-mockup {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
}

@media (max-width: 720px) {
  .gallery-mockup {
    grid-template-columns: 1fr;
    grid-auto-rows: 275px;
  }
}


/* Virtual pinball explainer section */
.virtual-section {
  background: var(--cream);
}

.virtual-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .virtual-card {
    padding: 24px;
  }
}
