/*
Theme Name: AAC-SOCAL
Theme URI: https://aac-socal.org
Author: AAC-SOCAL
Author URI: https://aac-socal.org
Description: Official theme for AAC-SOCAL - Friendly, accessible, and vibrant design for our community.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aac-socal
Tags: accessibility, community, events, responsive
*/

/* ============================================================
   CSS VARIABLES & ROOT
============================================================ */
:root {
  /* Brand Colors */
  --green:        #1E5245;
  --green-light:  #2D7A62;
  --green-pale:   #E6F2EE;
  --red:          #C62828;
  --red-light:    #EF5350;
  --red-pale:     #FFEBEE;
  --blue:         #1B6B8A;
  --blue-light:   #2D9CBA;
  --blue-pale:    #E3F4F8;
  --white:        #FFFFFF;
  --off-white:    #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-400:     #9CA3AF;
  --gray-600:     #4B5563;
  --gray-800:     #1F2937;
  --black:        #111827;

  /* Typography */
  --font-heading: 'Nunito', 'Trebuchet MS', sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', sans-serif;

  /* Spacing */
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);

  /* Layout */
  --max-width:    1180px;
  --header-h:     100px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; height: auto; display: block; }
/* Logo images override — must not be constrained to 100% of parent */
img.logo-header-size,
img.logo-footer-size { display: block; }
a  { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-light); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

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

.section-header .accent-bar {
  width: 60px;
  height: 5px;
  border-radius: 99px;
  margin: 16px auto 20px;
}

section { padding: 60px 0; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(46,125,50,0.35);
}
.btn-primary:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green-pale);
  color: var(--green);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(198,40,40,0.3);
}
.btn-red:hover {
  background: var(--red-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: #002868;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,40,104,0.4);
}
.btn-blue:hover {
  background: #003580;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER & NAVIGATION
============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}



/* Main Nav */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

#main-nav ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all .2s;
  white-space: nowrap;
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
  background: var(--green-pale);
  color: var(--green);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover {
  background: var(--red-light) !important;
  color: var(--white) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gray-800);
  border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0D2E26 0%, #1E5245 35%, #1B6B8A 70%, #0D2E26 100%);
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.hero h1 .highlight {
  color: #A5D6A7;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}



.hero-values {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 18px;
  flex: 1;
  min-width: 200px;
}
.hero-value-item span {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-value-item strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero-value-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 600px) {
  .hero-values { flex-direction: column; gap: 12px; }
  .hero-value-item { min-width: 0; }
}
/* ============================================================
   ZEFFY DONATION & SUBSCRIPTION SECTION
============================================================ */
.zeffy-section {
  background: var(--white);
  padding: 56px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.zeffy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.zeffy-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.zeffy-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}

.zeffy-card-header.zeffy-green { background: var(--green-pale); border-bottom: 3px solid var(--green); }
.zeffy-card-header.zeffy-blue  { background: var(--blue-pale);  border-bottom: 3px solid var(--blue);  }

.zeffy-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.zeffy-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--black);
}

.zeffy-card-header p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}

.zeffy-embed-wrap {
  padding: 0;
  min-height: 700px;
}

/* Iframe from Zeffy fills the card naturally */
.zeffy-embed-wrap iframe,
.zeffy-embed-wrap script + div {
  width: 100%;
  border: none;
  display: block;
}

/* Placeholder shown until real embed is added */
.zeffy-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 36px 24px;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.015) 10px,
    rgba(0,0,0,0.015) 20px
  );
}

.zeffy-placeholder-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

.zeffy-placeholder-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.zeffy-placeholder-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
  margin: 0;
}

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

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  min-height: 380px;
  background: var(--gray-200);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.2;
}

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

.about-content .accent-bar {
  width: 60px;
  height: 5px;
  background: var(--green);
  border-radius: 99px;
  margin: 16px 0 20px;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-icon.green { background: var(--green-pale); }
.value-icon.blue  { background: var(--blue-pale); }
.value-icon.red   { background: var(--red-pale); }

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--gray-600);
}

/* ============================================================
   EVENTS SECTION
============================================================ */
.events-section {
  background: var(--white);
  padding: 100px 0;
}

.events-section .container { text-align: center; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin: 0 auto 40px;
}

.event-card {
  text-align: left;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  transition: transform .3s, box-shadow .3s;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.event-card-header {
  padding: 22px 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}

.event-date-badge {
  text-align: center;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  flex-shrink: 0;
  min-width: 58px;
}

.event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.event-date-badge .day {
  font-size: 2rem;
  line-height: 1;
}

.event-card-body {
  padding: 22px 26px 26px;
}

.event-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--black);
  line-height: 1.3;
}

.event-card-body h3 a {
  color: var(--black);
  text-decoration: none;
  transition: color .2s;
}

.event-card-body h3 a:hover { color: var(--green); }

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.event-meta span::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-card-header {
  padding: 20px 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-100);
}

.event-date-badge {
  text-align: center;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 10px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  flex-shrink: 0;
}

.event-date-badge .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date-badge .day {
  font-size: 1.8rem;
}

.event-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 99px;
}

.cat-meeting  { background: var(--blue-pale);  color: var(--blue); }
.cat-social   { background: var(--green-pale); color: var(--green); }
.cat-advocacy { background: var(--red-pale);   color: var(--red); }

.event-card-body { padding: 20px 24px; }

.event-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--black);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.event-meta span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ============================================================
   RESERVATIONS SECTION
============================================================ */
.reservations-section {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--blue-pale) 100%);
}

.reservation-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.reservation-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.reservation-info .accent-bar {
  width: 60px;
  height: 5px;
  background: var(--red);
  border-radius: 99px;
  margin: 0 0 20px;
}

.reservation-info p {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.reservation-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 600;
}

.perk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.perk-dot.green { background: var(--green); }
.perk-dot.blue  { background: var(--blue); }
.perk-dot.red   { background: var(--red); }

/* Reservation Form */
.reservation-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.reservation-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--black);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--gray-800);
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   GALLERY SECTION
============================================================ */
.gallery-section { background: var(--gray-100); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-200);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform .4s;
}

.gallery-item:first-child img { min-height: 420px; }

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-heading);
  line-height: 1;
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.contact-info .accent-bar {
  width: 60px;
  height: 5px;
  background: var(--blue);
  border-radius: 99px;
  margin: 0 0 20px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: all .2s;
}

.contact-card:hover {
  background: var(--blue-pale);
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-icon.green { background: var(--green-pale); }
.contact-card-icon.blue  { background: var(--blue-pale); }
.contact-card-icon.red   { background: var(--red-pale); }

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 600;
  margin: 0;
}

.contact-form-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 28px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.8fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-text .org-name { color: #A5D6A7; }
.footer-brand .logo-text .org-tagline { color: rgba(255,255,255,0.5); }
.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}


.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color .2s;
  text-decoration: none;
}

.footer-col ul li a:hover { color: #A5D6A7; }

.footer-zeffy-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius);
  text-align: center;
  gap: 8px;
}

.footer-zeffy-placeholder span {
  font-size: 1.8rem;
  opacity: 0.5;
}

.footer-zeffy-placeholder p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin: 0;
}

/* Zeffy iframe fills naturally when pasted */
.footer-zeffy iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom-links a:hover { color: #A5D6A7; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */


/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  justify-content: center;
}

.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: white; font-weight: 600; }

/* ============================================================
   ALERTS / NOTICES
============================================================ */
.notice {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.notice-success { background: var(--green-pale); color: var(--green); border-left: 4px solid var(--green); }
.notice-error   { background: var(--red-pale);   color: var(--red);   border-left: 4px solid var(--red); }
.notice-info    { background: var(--blue-pale);   color: var(--blue);  border-left: 4px solid var(--blue); }

/* ============================================================
   BACK TO TOP
============================================================ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: all .2s;
  z-index: 999;
}
#back-to-top:hover { background: var(--green-light); transform: translateY(-3px); }
#back-to-top.visible { display: flex; }

/* ============================================================
   ACCESSIBILITY
============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--green);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .events-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-quick-links { display: none !important; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }

  section { padding: 56px 0; }

  /* Hide nav completely on mobile — show only when .open */
  #main-nav {
    display: none !important;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
    z-index: 9998;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  #main-nav.open {
    display: block !important;
  }

  #main-nav ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  #main-nav ul li {
    width: 100%;
  }

  #main-nav ul li a,
  #main-nav ul li a.nav-cta {
    padding: 14px 16px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    border-radius: 8px !important;
    background: none !important;
    color: var(--gray-800) !important;
    box-shadow: none !important;
    text-align: left !important;
    margin: 2px 0 !important;
  }

  #main-nav ul li a:hover {
    background: var(--green-pale) !important;
    color: var(--green) !important;
  }

  /* Contact Us special styling in mobile menu */
  #main-nav ul li a.nav-cta {
    background: var(--red) !important;
    color: white !important;
    text-align: center !important;
    margin-top: 8px !important;
  }

  #main-nav ul li a.nav-cta:hover {
    background: var(--red-light) !important;
    color: white !important;
  }

  .menu-toggle { display: flex; }

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

  /* Footer responsive */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-col:nth-child(2) { display: none !important; }
  .footer-quick-links { display: none !important; }
  .footer-zeffy { margin-top: 0; width: calc(100% + 48px) !important; margin-left: -24px !important; margin-right: -24px !important; box-sizing: border-box; }
  .footer-zeffy > div { height: 400px !important; width: 100% !important; margin: 0 !important; border-radius: 0 !important; }
  .footer-zeffy > div iframe { width: 100% !important; min-width: 0 !important; left: 0 !important; right: 0 !important; }

  .about-grid,
  .reservation-wrap,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-image-badge { right: 0; bottom: -16px; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }

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

  .hero { min-height: 700px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .reservation-form-wrap { padding: 24px; }
  .contact-form-wrap { padding: 24px; }
}



/* ============================================================
   LOGO — HEADER
============================================================ */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}

.site-logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: white;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: transform .2s;
}

.site-logo:hover .site-logo-img {
  transform: scale(1.05);
}

/* ============================================================
   LOGO — FOOTER
============================================================ */
.footer-logo-img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: white;
  padding: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
  /* Photo background set via inline style in index.php using get_template_directory_uri() */
  background: linear-gradient(160deg, #0D2E26 0%, #1E5245 35%, #1B6B8A 70%, #0D2E26 100%);
}

/* Dot pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.hero h1 .highlight { color: #A5D6A7; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0D2E26 0%, #1E5245 50%, #1B6B8A 100%);
  padding: 64px 0;
  text-align: center;
  color: white;
}
.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .site-logo-img   { height: 44px; width: 44px; }
  .footer-logo-img { height: 68px; width: 68px; }
  .hero            { min-height: 460px; padding: 60px 0; }
  .hero-buttons    { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .site-logo-img   { height: 38px; width: 38px; }
  .footer-logo-img { height: 56px; width: 56px; }
}

/* ============================================================
   LOGO SIZE ENFORCEMENT
============================================================ */
/* Logo size enforcement — clamp handles all breakpoints */
img.logo-header-size {
  width: clamp(52px, 8vw, 90px) !important;
  height: clamp(52px, 8vw, 90px) !important;
  max-width: none !important;
  flex-shrink: 0;
}

img.logo-footer-size {
  width: clamp(80px, 15vw, 140px) !important;
  height: clamp(80px, 15vw, 140px) !important;
  max-width: none !important;
}

/* Mobile: slightly smaller header logo */
@media (max-width: 480px) {
  img.logo-header-size {
    width: clamp(44px, 12vw, 60px) !important;
    height: clamp(44px, 12vw, 60px) !important;
  }
  img.logo-footer-size {
    width: clamp(64px, 20vw, 100px) !important;
    height: clamp(64px, 20vw, 100px) !important;
  }
}

/* ============================================================
   EVENT CARD IMAGE
============================================================ */
.event-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .events-section { padding: 64px 0; }
  .event-card-image { height: 160px; }
}

/* Button spinner animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
