/* ════════════════════════════════════════════
   FORTHRIGHT EVENTS — Public Styles
   ════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;0,800;1,700&family=Albert+Sans:wght@300;400;500;600&display=swap');

:root {
  --green:       #1a3d2b;
  --green-mid:   #245234;
  --green-light: #2f6b44;
  --amber:       #e69500;
  --amber-hover: #cc8400;
  --cream:       #f7f5f0;
  --white:       #ffffff;
  --text:        #111d16;
  --text-muted:  #4a6355;
  --border:      #d4e2da;
  --shadow:      0 4px 24px rgba(26,61,43,.10);
  --radius:      10px;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Albert Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 100px;
  box-shadow: 0 1px 0 var(--border);
  border-bottom: 2px solid var(--amber);
}

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 700; letter-spacing: .02em;
  color: var(--green);
  text-transform: uppercase;
}

.nav-logo img {
  height: 80px; width: auto;
}

/* Fallback if no logo image */
.nav-logo-text { color: var(--green); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: .9rem; font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: .03em;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-mid) !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: .3s;
}

.nav-links a svg {
  display: block;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover svg {
  color: var(--green);
}

/* ── HERO ── */
.hero {
  background-image:
    linear-gradient(135deg,
      rgba(00, 00, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.80) 50%,
      rgba(0, 0, 0, 0.72) 100%),
    url('../images/hero.jpg');
  background-size: 110%;
animation: hero-zoom 4s ease-out forwards;
  background-position: center;
  color: var(--white);
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  max-width: 1000px; margin-left: auto; margin-right: auto;
}

.hero h1 em {
  font-style: italic;
  color: #ffc84a;
}

.hero-sub {
  font-size: 1.5rem; font-weight: 400;
  color: rgba(255,255,255,.8);
  max-width: 900px; margin: 0 auto 2.5rem;
}

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

.btn-primary {
  background: var(--amber);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: .85rem 1.8rem;
  border-radius: 4px;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  padding: .85rem 1.8rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.45);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section--alt { background: var(--white); }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-eyebrow {
  display: inline-block;
  color: var(--green-light); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -.01em;
  color: var(--green);
  line-height: 1.1;
}

.section-sub {
  color: var(--text-muted); font-size: 1rem;
  max-width: 800px; margin: 1rem auto 0;
}

.container { max-width: 1100px; margin: 0 auto; }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-card-body {
  padding: 1.8rem 1.5rem;
  font-size: 1.2rem; font-weight: 400;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--green);
  margin-bottom: .75rem;
}

.service-card p { 
  font-size: 1rem; 
  color: var(--text-muted); 
  line-height: 1.7; 
}

/* ── EVENTS ── */
.tabs {
  display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.tab-btn {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text-muted); font-family: var(--font-body);
  font-size: .88rem; font-weight: 700; letter-spacing: .03em;
  padding: .55rem 1.4rem; border-radius: 50px; cursor: pointer;
  transition: .2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green); border-color: var(--green); color: var(--white);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-card--past { opacity: .88; }

/* ── EVENT LIST CARDS (homepage) ── */
.events-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.event-list-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
  transition: transform .2s, box-shadow .2s;
}

.elc-logo {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.elc-logo img {
  width: 56px; height: 56px;
  object-fit: cover;
}

.elc-body { flex: 1; }

.elc-title {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
  line-height: 1.3;
}

.elc-meta {
  font-size: .9rem; color: var(--text-muted);
  margin-bottom: .15rem;
}

.elc-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.event-row-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.event-row-logo img {
  width: 36px; height: 36px;
  object-fit: cover;
}

.card-img {
  height: 180px;
  background-size: cover; background-position: center;
}
.card-img--placeholder {
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}

.card-img--muted {
  filter: grayscale(100%);
  opacity: .5;
}

.card-body { padding: 1.25rem; }
.card-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }

.badge-category {
  background: rgba(26,61,43,.09);
  color: var(--green);
  font-size: .7rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .07em;
}

.directions-link {
  font-size: .78rem; font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  margin-left: .4rem;
}
.directions-link:hover { color: var(--green-light); }

/* ── GROUPED UPCOMING (events page) ── */
.event-group {
  margin-bottom: 2.5rem;
}

.event-group-header {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--green);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--amber);
  margin-bottom: 1rem;
}

.event-group-list {
  display: flex; flex-direction: column; gap: 0;
}

.event-row {
  display: grid;
  grid-template-columns: 44px 1fr 160px 200px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.event-row:last-child { border-bottom: none; }

.event-row-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.event-row-logo img {
  width: 36px; height: 36px;
  object-fit: cover;
}

.event-row-title {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600;
  color: var(--text);
}

.event-row-date {
  font-size: .9rem; color: var(--text-muted);
}

.event-row-venue {
  font-size: .9rem; color: var(--text-muted);
}

/* ── FILTER BAR ── */
.filter-bar {
  display: flex; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 1.75rem; align-items: center;
}

.filter-bar select {
  font-family: var(--font-body); font-size: .95rem;
  padding: .6rem .9rem;
  border: 1.5px solid var(--border); border-radius: 7px;
  background: var(--white); color: var(--text);
  height: 44px;
  cursor: pointer;
  transition: border-color .2s;
}
.filter-bar select:focus { outline: none; border-color: var(--green); }

.btn-clear-filter {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  padding: .6rem 1.1rem;
  height: 44px;
  border-radius: 7px;
  border: none;
  background: var(--green); color: var(--white);
  cursor: pointer; transition: background .2s;
}
.btn-clear-filter:hover { background: var(--green-light); }

@media (max-width: 680px) {
  .event-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  .event-row-date, .event-row-venue {
    grid-column: 2;
  }
}

/* WCAG AA: amber badge uses dark text on amber bg — contrast ~8:1 */
.badge-featured {
  background: var(--amber);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 20px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green);
  margin-bottom: .5rem; line-height: 1.25;
}
.card-date, .card-location, .card-spots {
  font-size: .9rem; color: var(--text-muted);
  margin-bottom: .25rem;
}
/* Price uses darker green for sufficient contrast on white */
.card-price { font-size: .85rem; color: var(--green); font-weight: 700; margin-bottom: .25rem; }

.card-desc {
  font-size: .85rem; color: var(--text-muted);
  margin-top: .5rem;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

.btn-album {
  display: inline-block; margin-top: .75rem;
  background: var(--green); color: var(--white);
  font-size: .82rem; font-weight: 700;
  padding: .4rem .9rem; border-radius: 4px;
  transition: background .2s;
}
.btn-album:hover { background: var(--green-light); }

.empty-state {
  text-align: center; color: var(--text-muted);
  padding: 3rem 1rem; font-size: .95rem;
  display: none;
}
.loading-msg { color: var(--text-muted); font-size: .9rem; padding: 2rem 0; }

/* ── CLIENT LOGOS ── */
.clients-grid {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem; justify-content: center; align-items: center;
}

.client-logo-wrap {
  border-radius: var(--radius);
  padding: 1rem 1.75rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; min-height: 72px;
  transition: box-shadow .2s;
}

.client-logo-wrap img {
  max-height: 100px; max-width: 140px;
  width: auto; height: auto;
  object-fit: contain;
  
}
.client-logo-wrap:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Fallback text if no logo image */
.client-logo-name {
  font-size: .85rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: .03em;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start;
}
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800;
  color: var(--green); margin-bottom: .75rem;
  line-height: 1.1;
}
.contact-info p { color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: 1rem;
}
.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--green-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.contact-value { font-size: .95rem; font-weight: 500; color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font-family: var(--font-body); font-size: .9rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--white); color: var(--text);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
.footer {
  background: var(--green); color: rgba(255,255,255,.65);
  text-align: center; padding: 2rem;
  font-size: .85rem;
}
.footer strong { color: #ffc84a; }

/* ── VIEW ALL ── */
.view-all-wrap { text-align: center; margin-top: 2.5rem; }
.btn-view-all {
  display: inline-block;
  background: var(--green); color: var(--white);
  font-family: var(--font-body);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  padding: .85rem 2.2rem; border-radius: 4px;
  transition: background .2s, transform .15s;
}
.btn-view-all:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ── PAGE HEADER (events.html) ── */
.page-header {
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  padding: 3rem 2rem; color: var(--white);
}
.page-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.page-header-title {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 800;
  color: var(--white); line-height: 1.05;
}

/* ── ACTIVE NAV LINK ── */
.nav-active { color: var(--green) !important; font-weight: 700 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 0 1.25rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: .5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: .75rem 2rem; }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: var(--green); }
.section { padding: 3.5rem 1.25rem; }

  /* Services stack on mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }

  /* Upcoming events horizontal scroll */
  .events-list-wrapper {
    position: relative;
  }
  .events-list-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 48px;
    background: linear-gradient(to left, var(--cream), transparent);
    pointer-events: none;
    z-index: 1;
  }
  .events-list {
    display: flex;
    flex-direction: column;
    overflow-x: unset;
    gap: 0;
    padding-bottom: 0;
  }
  .event-list-card {
    min-width: unset;
    flex-shrink: unset;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 1rem 0;
    box-shadow: none;
    background: transparent;
  }
  .event-list-card:last-child {
    border-bottom: none;
  }
  .event-list-card .elc-logo,
  .event-list-card .elc-avatar {
    display: none;
  }
}

@keyframes hero-zoom {
  from { background-size: 100%; }
  to   { background-size: 110%; }
}