/* ===========================
   LATWAI FAMILY FUN FARM
   Main Stylesheet
   =========================== */

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

:root {
  --primary:      #2C1810;
  --accent:       #C4633A;
  --accent-hover: #A8522F;
  --green:        #7A9E7E;
  --brown-mid:    #8B6F47;
  --cream:        #F5F0E8;
  --off-white:    #FDFAF4;
  --footer-bg:    #180D08;
  --text:         #2C1810;
  --text-light:   #6B5744;
  --shadow:       0 4px 24px rgba(44,24,16,0.10);
  --shadow-hover: 0 10px 40px rgba(44,24,16,0.22);
  --transition:   all 0.35s ease;
  --radius:       12px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,99,58,0.38);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.75);
}
.btn-outline:hover {
  background: white;
  border-color: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease;
}
.preloader.fade-out { opacity: 0; pointer-events: none; }
.preloader img { height: 70px; filter: brightness(0) invert(1); opacity: 0.9; }
.preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  animation: loading 1s ease infinite;
}
@keyframes loading {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(to bottom, rgba(26,10,3,0.75) 0%, transparent 100%);
}
.navbar.scrolled {
  background: var(--primary);
  padding: 0.7rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-logo img {
  height: 220px;
  width: auto;
  transition: height 0.4s ease;
}
.navbar.scrolled .navbar-logo img { height: 190px; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: white; }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-phone i { color: var(--accent); font-size: 0.8rem; }
.navbar-phone:hover { color: white; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 890;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-phone {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/latwai background.webp');
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,9,4,0.08) 0%,
    rgba(20,9,4,0.02) 50%,
    rgba(20,9,4,0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 0 1.5rem;
  max-width: 950px;
}

.hero-label {
  font-size: 0.88rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 900;
  margin-top: 7rem;
  margin-bottom: 2.5rem;
  display: block;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 8px 32px rgba(0,0,0,0.4);
  line-height: 1.08;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  z-index: 1;
  animation: bobble 2.2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1.1rem; }

@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--primary); padding: 3.5rem 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { color: white; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ===== ABOUT ===== */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-title { text-align: left; }

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-features {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--text);
}

.about-feature i {
  color: var(--accent);
  width: 18px;
  flex-shrink: 0;
}

.about-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-img-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-img-grid img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}

/* ===== VENUES PREVIEW ===== */
.venues-preview { background: var(--cream); }

.venues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.venue-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.venue-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.venue-card-img {
  position: relative;
  height: 270px;
  overflow: hidden;
}
.venue-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.venue-card:hover .venue-card-img img { transform: scale(1.07); }

.capacity-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(28,14,7,0.82);
  backdrop-filter: blur(6px);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.capacity-badge i { color: var(--accent); font-size: 0.7rem; }

.venue-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.venue-card-body .btn { margin-top: auto; align-self: flex-start; }
.venue-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.venue-card-body p {
  color: var(--text-light);
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.venue-tag {
  background: var(--cream);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 500;
}

/* ===== EVENTS SECTION ===== */
.events-section { background: var(--off-white); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.event-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.event-card:hover::after { transform: scaleX(1); }
.event-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.event-icon {
  width: 72px; height: 72px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}
.event-card:hover .event-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.08);
}

.event-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.event-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* ===== GALLERY PREVIEW ===== */
.gallery-preview { background: var(--cream); }

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}
.gallery-item.large { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(44,24,16,0.42); }
.gallery-item-overlay i {
  color: white;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay i { opacity: 1; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '\201C';
  position: absolute;
  top: -3rem; left: 2rem;
  font-family: var(--font-heading);
  font-size: 22rem;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.testimonials .section-title { color: white; }
.testimonials .section-label { color: var(--accent); }

.testimonial-slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 0 1.5rem;
}
.testimonial-slide.active {
  display: block;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 1.75rem;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.testimonial-event {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

.testimonial-nav {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.testimonial-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://picsum.photos/seed/latwai-cta/1920/800');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,9,4,0.7);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.cta-banner-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: white;
  margin-bottom: 1rem;
}
.cta-banner-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.75rem;
  line-height: 1.75;
}

/* ===== CONTACT STRIP ===== */
.contact-strip { background: var(--cream); }

.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.contact-strip-item i {
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.contact-strip-item h4 {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.contact-strip-item p,
.contact-strip-item a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.97rem;
}
.contact-strip-item a:hover { color: var(--accent); }

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  position: relative;
  display: inline-block;
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-links a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  margin: 0;
  padding: 0;
}
.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  padding: 4.5rem 0 2rem;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-brand img {
  height: 150px;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 270px;
}

.footer-col {
  margin-top: 16px;
}
.footer-col h5 {
  color: white;
  font-size: 0.76rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; width: 14px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  height: 46vh;
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,9,4,0.45);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-top: 150px;
}
.page-hero-content .section-label {
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: white;
  margin-bottom: 0.75rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb i { font-size: 0.6rem; }

/* ===== VENUE DETAIL (venues page) ===== */
.venue-detail { padding: 6rem 0; }
.venue-detail:nth-child(even) { background: var(--cream); }

.venue-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.venue-detail.flip .venue-detail-img { order: 2; }
.venue-detail.flip .venue-detail-text { order: 1; }

.venue-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.venue-detail-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.venue-detail-img:hover img { transform: scale(1.04); }

/* ===== VENUE SLIDESHOW ===== */
.venue-slideshow {
  position: relative;
  height: 460px;
}
.venue-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
}
.venue-slideshow .slide.active { opacity: 1; }
.venue-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none !important;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 24, 16, 0.55);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.slide-btn:hover { background: rgba(44, 24, 16, 0.88); }
.prev-btn { left: 12px; }
.next-btn { right: 12px; }
.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.dot.active { background: #fff; }

.venue-capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: white;
  padding: 0.38rem 1.1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.venue-detail-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.venue-detail-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.venue-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0 2.25rem;
}
.venue-amenity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text);
}
.venue-amenity i { color: var(--green); width: 15px; flex-shrink: 0; }

.ideal-for {
  background: var(--cream);
  border-left: 3px solid var(--accent);
  padding: 0.875rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}
.ideal-for strong { color: var(--primary); }

/* ===== EVENT DETAIL (events page) ===== */
.event-detail { padding: 6rem 0; }
.event-detail:nth-child(even) { background: var(--cream); }

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.event-detail.flip .event-detail-img { order: 2; }
.event-detail.flip .event-detail-text { order: 1; }

.event-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.event-detail-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.event-detail-img-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: none;
  overflow: visible;
}
.event-detail-img-stack img {
  height: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.event-detail-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.25rem;
  color: var(--primary);
}
.event-detail-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.event-includes {
  margin: 1.5rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.event-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--text);
}
.event-includes li i { color: var(--accent); margin-top: 3px; width: 15px; flex-shrink: 0; }

/* ===== GALLERY PAGE ===== */
.gallery-page { background: var(--off-white); }

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 2px solid var(--cream);
  background: white;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}
.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-masonry-item:hover img { transform: scale(1.05); }
.gallery-masonry-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,24,16,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-masonry-item:hover .overlay { background: rgba(44,24,16,0.45); }
.gallery-masonry-item .overlay i {
  color: white;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-masonry-item:hover .overlay i { opacity: 1; }
.gallery-masonry-item[data-hidden="true"] { display: none; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  color: rgba(255,255,255,0.75);
  font-size: 1.75rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10000;
}
.lightbox-close:hover { color: white; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.875rem 1rem;
  line-height: 1;
  transition: var(--transition);
  border-radius: 4px;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ===== CONTACT PAGE ===== */
.contact-page { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form textarea { flex: 1; min-height: 140px; height: auto; }

.contact-form .form-submit { align-self: flex-start; }
.contact-form-wrap h2 { font-size: 2rem; margin-bottom: 0.4rem; }
.contact-form-wrap .lead { color: var(--text-light); margin-bottom: 2rem; font-size: 0.95rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--cream);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: #fdfaf4;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: white;
}
.form-group textarea { resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5744' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #2e7d32;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #a8522f;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--cream);
}

.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.contact-info-item i {
  color: var(--accent);
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-info-item div { font-size: 0.92rem; color: var(--text); line-height: 1.5; }
.contact-info-item a { color: var(--text); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: var(--cream);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== FAQ ===== */
.faq-section { background: var(--cream); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-hover); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq-question h4 {
  font-size: 0.95rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.45;
}
.faq-question i {
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  border-top: 1px solid var(--cream);
  margin-top: 1rem;
}
.faq-item.open .faq-answer { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .venue-detail-grid,
  .event-detail-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-phone { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .venues-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }

  .venue-detail-grid,
  .event-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .venue-detail.flip .venue-detail-img,
  .venue-detail.flip .venue-detail-text,
  .event-detail.flip .event-detail-img,
  .event-detail.flip .event-detail-text { order: unset; }

  .venue-detail-img img { height: 320px; }
  .venue-slideshow { height: 320px; }
  .event-detail-img img { height: 320px; }
  .event-detail-img-stack img { height: 320px; }

  .gallery-grid-preview {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item.large { grid-row: span 1; }

  .contact-strip-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .venue-amenities { grid-template-columns: 1fr; }
  .cta-banner-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .gallery-grid-preview { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
  .section-pad { padding: 4rem 0; }
}
