/*
Theme Name: Bridgewater Event Center
Theme URI: https://bridgewatereventcenter.com/
Author: Bridgewater Event Center
Description: A custom, responsive theme for Bridgewater Event Center weddings, corporate events, packages, gallery, testimonials, and inquiries.
Version: 1.1.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bridgewater
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #292828;
  --muted: #68645f;
  --paper: #f2eee8;
  --paper-deep: #e7dfd5;
  --white: #fffdf9;
  --red: #93251f;
  --red-dark: #711a16;
  --line: rgba(41, 40, 40, 0.28);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --pad: clamp(22px, 5vw, 72px);
  --section: clamp(72px, 9vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: var(--white);
  padding: 10px 15px;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 30;
  min-height: 138px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px var(--pad) 20px;
}
.site-header.overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--white);
}
.brand { display: inline-flex; width: 160px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.menu-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
}
.menu-toggle:hover { background: rgba(127, 110, 95, 0.12); }
.site-header.overlay .menu-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.menu-lines, .menu-lines::before, .menu-lines::after {
  width: 19px;
  height: 1px;
  background: currentColor;
  display: block;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-lines::before { transform: translateY(-6px); }
.menu-lines::after { transform: translateY(5px); }

.menu-panel {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  background: rgba(23, 20, 18, 0.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-scrim { cursor: pointer; }
.menu-drawer {
  background: var(--paper);
  padding: 34px clamp(34px, 6vw, 84px) 45px;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
  overflow: auto;
}
.menu-panel.open .menu-drawer { transform: none; }
.menu-close {
  float: right;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 35px;
  font-weight: 200;
  cursor: pointer;
}
.menu-logo { width: 170px; margin: 38px 0 52px; }
.menu-nav { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.menu-group { display: flex; flex-direction: column; align-items: flex-start; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-nav > ul { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.menu-nav .menu-item { display: flex; flex-direction: column; align-items: flex-start; }
.menu-nav .menu-primary {
  font-size: clamp(27px, 3.1vw, 45px);
  line-height: 1.18;
  text-decoration: none;
  padding: 5px 0;
}
.menu-nav a:hover, .menu-nav a[aria-current="page"] { color: var(--red); }
.menu-nav > ul > .menu-item > a {
  padding: 5px 0;
  font-size: clamp(27px, 3.1vw, 45px);
  line-height: 1.18;
  text-decoration: none;
}
.menu-nav .current-menu-item > a,
.menu-nav .current-menu-ancestor > a { color: var(--red); }
.menu-primary[data-section-current="true"] { color: var(--red); }
.menu-subnav {
  display: flex;
  flex-direction: column;
  margin: 3px 0 8px 18px;
  padding-left: 17px;
  border-left: 1px solid var(--line);
}
.menu-subnav a {
  padding: 4px 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(13px, 1.25vw, 17px);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-nav .sub-menu {
  display: flex;
  flex-direction: column;
  margin: 3px 0 8px 18px;
  padding-left: 17px;
  border-left: 1px solid var(--line);
}
.menu-nav .sub-menu a {
  padding: 4px 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(13px, 1.25vw, 17px);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-contact {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 25px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.8;
}

.container { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(52px, 6vw, 84px); }
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.13; }
h1 { font-size: clamp(42px, 5vw, 73px); }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 2vw, 23px); color: var(--muted); }
.center { text-align: center; }
.rule { width: 100%; height: 1px; background: var(--line); }

.button-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #111;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); background: #36322f; }
.button.red { background: var(--red); }
.button.red:hover { background: var(--red-dark); }
.text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
}

.home-hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,15,13,.28), rgba(18,15,13,.08) 43%, rgba(18,15,13,.7)), url("assets/hero-home.jpg") center center/cover no-repeat;
  animation: hero-in 1.5s ease both;
}
@keyframes hero-in { from { transform: scale(1.04); opacity: .72; } to { transform: none; opacity: 1; } }
.home-hero-content { position: relative; z-index: 1; padding: 100px var(--pad) 54px; }
.home-hero h1 { font-size: clamp(46px, 6.2vw, 84px); }
.home-hero p { font-size: clamp(19px, 2.2vw, 27px); margin: 8px 0 22px; }
.home-intro {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}
.home-intro-collage { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: end; }
.home-intro-collage img { width: 100%; object-fit: cover; }
.home-intro-collage img:first-child { aspect-ratio: .82; }
.home-intro-collage img:last-child { aspect-ratio: 1.08; transform: translateY(52px); }
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
}
.feature-split.reverse .feature-image { order: 2; }
.feature-image { min-height: 560px; background: var(--image) center/cover no-repeat; }
.feature-image-bride { background-position: center 35%; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(52px, 8vw, 115px); background: var(--paper-deep); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.quote-card { position: relative; overflow: hidden; background: var(--paper); padding: clamp(68px, 7vw, 92px) clamp(42px, 6vw, 84px) clamp(42px, 5vw, 68px); color: inherit; text-decoration: none; }
.quote-card::before { content: "“"; position: absolute; top: 12px; left: clamp(36px, 5vw, 70px); color: rgba(147,37,31,.22); font-family: Georgia, serif; font-size: clamp(88px, 10vw, 132px); line-height: 1; }
.quote-card p { position: relative; margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-style: italic; }
.quote-card h3 { margin-top: 26px; color: var(--red); }
.quote-link { transition: background-color 220ms ease, box-shadow 220ms ease; }
.quote-link:hover { background: var(--white); box-shadow: inset 0 -5px 0 var(--red); }
.quote-link:focus-visible { z-index: 1; outline: 3px solid var(--red); outline-offset: -3px; }
.quote-link-label { display: inline-block; margin-top: 28px; color: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.image-band { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 10px; }
.image-band img { width: 100%; height: 380px; object-fit: cover; }
.image-band img:nth-child(2) { height: 450px; margin-top: -35px; }
.menu-photo { width: 100%; overflow: hidden; }
.menu-photo img { width: 100%; height: clamp(430px, 52vw, 690px); object-fit: cover; object-position: center 46%; }

.overview-hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
  padding: 24px var(--pad) 48px;
}
.overview-hero.reverse .overview-image { order: 2; }
.overview-image { width: 100%; height: 520px; object-fit: cover; }
.overview-copy { max-width: 590px; }
.overview-copy h1 { font-size: clamp(36px, 4vw, 55px); margin-bottom: 24px; }
.overview-copy p { color: var(--muted); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.benefit { background: var(--paper); text-align: center; padding: 35px 20px; font-size: 25px; }

.packages-preview, .packages-grid { display: grid; gap: 22px; }
.packages-preview { grid-template-columns: repeat(3, 1fr); }
.packages-grid.two { grid-template-columns: repeat(2, 1fr); }
.package-card { border: 1px solid var(--line); padding: clamp(32px, 4vw, 54px); display: flex; flex-direction: column; }
.package-card.featured { background: var(--ink); color: var(--white); }
.package-card h3 { margin-bottom: 9px; }
.package-card .sub { color: var(--muted); }
.package-card.featured .sub { color: #d8d2cb; }
.package-card ul { list-style: none; padding: 0; margin: 26px 0 32px; }
.package-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.package-card .button { margin-top: auto; align-self: flex-start; }

.cover-hero {
  position: relative;
  min-height: 520px;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(90deg, rgba(8,7,6,.66), rgba(8,7,6,.16)), var(--hero) center/cover;
}
.cover-hero-content { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: end; padding: 45px var(--pad); }
.cover-hero-copy { justify-self: end; max-width: 460px; }
.cover-hero h1 { font-size: clamp(37px, 4vw, 56px); }
.cover-hero p { font-size: 21px; }

.cta {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  background: linear-gradient(rgba(18,14,12,.58), rgba(18,14,12,.58)), var(--cta) center/cover;
  padding: var(--section) var(--pad);
}
.cta-content { max-width: 770px; }

.gallery-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 12px; align-items: start; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; object-fit: cover; }
.gallery-grid figure:nth-child(1) img { height: 470px; }
.gallery-grid figure:nth-child(2) img { height: 620px; }
.gallery-grid figure:nth-child(3) img { height: 520px; }
.gallery-grid figure:nth-child(4) img { height: 390px; }
.gallery-grid figcaption { padding: 8px 0 28px; color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.contact-hero { padding: clamp(62px, 8vw, 108px) 0; color: var(--white); background: linear-gradient(115deg, #2b2420, #5c2925); }
.contact-hero .eyebrow { color: #e7c8b2; }
.contact-hero h1 { margin-bottom: 12px; }
.contact-hero p:last-child { max-width: 620px; margin: 0; color: #eee4dc; font-size: clamp(19px, 2vw, 23px); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(42px, 7vw, 86px); align-items: start; }
.contact-copy { padding-top: 18px; }
.contact-copy h2 { margin-bottom: 22px; font-size: clamp(37px, 4.4vw, 55px); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.contact-details { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 82px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details span { padding-top: 3px; color: var(--red); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-details p { margin: 0; color: var(--ink); }
.contact-details a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-form { padding: clamp(28px, 4.8vw, 52px); background: var(--white); border: 1px solid rgba(41,40,40,.14); border-radius: 18px; box-shadow: 0 22px 60px rgba(55, 42, 34, .11); }
.form-heading { margin-bottom: 31px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-heading h2 { font-size: clamp(30px, 3vw, 42px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { margin: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #9a9690;
  background: rgba(255,255,255,.78);
  padding: 14px 15px;
  border-radius: 8px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form .button { margin-top: 26px; }
.form-status { min-height: 27px; margin: 14px 0 0; color: var(--red-dark); }

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 80px; border-top: 1px solid var(--line); padding-top: 34px; }
.testimonial-card p { font-size: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.testimonial-author img { width: 74px; height: 74px; border-radius: 50%; }

.team { max-width: 650px; margin-inline: auto; }
.team-member { display: grid; grid-template-columns: 1fr 245px; gap: 30px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.team-member img { width: 245px; height: 280px; object-fit: cover; }
.team-copy { border-top: 1px solid var(--line); padding-top: 20px; }
.team-copy h2 { font-size: 27px; margin-bottom: 21px; }
.team-copy p { color: var(--muted); }

.site-footer { padding: 72px var(--pad) 30px; color: #eee8e2; background: #211d1a; }
.footer-grid { width: min(var(--max), 100%); margin-inline: auto; display: grid; grid-template-columns: 1.35fr .72fr .9fr 1.12fr; gap: clamp(35px, 5vw, 70px); }
.footer-logo { width: 180px; }
.footer-brand > p { max-width: 320px; margin: 20px 0 0; color: #aaa099; font-size: 15px; }
.footer-title { margin: 0 0 20px; color: var(--white); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer p, .site-footer a { color: #bdb3ac; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-visit p { margin: 0 0 17px; }
.footer-visit a { overflow-wrap: anywhere; }
.footer-bottom { width: min(var(--max), 100%); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8f857e; }
.footer-bottom a { color: #d8cec7; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }
.admin-bar .menu-panel { top: 32px; }
.wp-content { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin: 0 auto; padding-block: var(--section); }
.wp-content > * { max-width: 780px; margin-inline: auto; }
.wp-content img { height: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus { width: auto; height: auto; clip: auto; margin: 0; padding: 12px; background: var(--white); z-index: 100000; }

@media (max-width: 900px) {
  .menu-panel { grid-template-columns: 1fr; background: transparent; }
  .menu-scrim { display: none; }
  .home-intro, .overview-hero, .cover-hero-content { grid-template-columns: 1fr; }
  .overview-hero.reverse .overview-image { order: 0; }
  .overview-hero { padding-top: 10px; }
  .overview-image { height: min(65vw, 540px); }
  .feature-split { min-height: 0; }
  .feature-image { min-height: 470px; }
  .packages-preview { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-header { min-height: 106px; padding-top: 20px; }
  .brand { width: 132px; }
  .menu-drawer { padding: 25px var(--pad) 35px; }
  .menu-logo { margin: 22px 0 36px; width: 145px; }
  .home-hero { min-height: 690px; }
  .home-hero-content { padding-bottom: 42px; }
  .home-intro-collage { margin-bottom: 35px; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-image { order: 0; }
  .feature-image { min-height: 420px; }
  .feature-copy { padding: 55px var(--pad); }
  .quote-grid, .testimonial-grid, .packages-grid.two { grid-template-columns: 1fr; }
  .image-band { grid-template-columns: 1fr 1fr; }
  .image-band img { height: 280px; }
  .image-band img:nth-child(2) { height: 280px; margin: 0; }
  .image-band img:nth-child(3) { grid-column: 1 / -1; }
  .menu-photo img { height: 390px; }
  .benefits { grid-template-columns: 1fr; }
  .cover-hero { min-height: 620px; }
  .cover-hero-content { padding-block: 35px; }
  .cover-hero-copy { justify-self: start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:nth-child(n) img { height: min(110vw, 560px); }
  .contact-hero { padding-block: 54px; }
  .contact-layout { gap: 48px; }
  .contact-details > div { grid-template-columns: 72px 1fr; }
  .contact-form { padding: 28px 22px; border-radius: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .team-member { grid-template-columns: 1fr; }
  .team-member img { width: 100%; height: auto; max-height: 520px; object-position: top; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .admin-bar .menu-panel { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
