/* Rise Together — Custom Styles */

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

:root {
  --terracotta: #C4703A;
  --terracotta-dark: #A85A2A;
  --terracotta-light: #E8A87C;
  --cream: #FAF6F1;
  --sand: #F0E6D8;
  --sand-dark: #E2D0BB;
  --brown-dark: #2C1810;
  --brown-mid: #6B3C28;
  --sage: #5B7C61;
  --sage-light: #8CAF93;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--brown-dark);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--sand-dark);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.navbar-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-logo span {
  color: var(--brown-dark);
}

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

.navbar-links a {
  text-decoration: none;
  color: var(--brown-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover { color: var(--terracotta); }
.navbar-links a.active { color: var(--terracotta); font-weight: 600; }

.btn-primary {
  background: var(--terracotta);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.1s !important;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--terracotta-dark) !important;
  transform: translateY(-1px);
  color: white !important;
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid var(--terracotta);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--terracotta);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  /* UAE flag: red left stripe, then green / white / black horizontal bands */
  background:
    linear-gradient(to right, #CC0001 0%, #CC0001 25%, transparent 25%),
    linear-gradient(to bottom,
      #005C2E 0%,     #005C2E 33.33%,
      #e8e8e8 33.33%, #e8e8e8 66.66%,
      #0d0d0d 66.66%, #0d0d0d 100%
    );
  color: white;
  padding: 5rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradient overlay — darkens the centre for text, lets flag colours glow at edges */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 50%,
      rgba(0,0,0,0.74) 0%,
      rgba(0,0,0,0.36) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(196, 112, 58, 0.25);
  border: 1px solid rgba(196, 112, 58, 0.5);
  color: var(--terracotta-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

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

.hero-btn-primary {
  background: var(--terracotta);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--terracotta);
}

.hero-btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,112,58,0.4);
}

.hero-btn-outline {
  background: transparent;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.4);
}

.hero-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta-light);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--sand);
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--brown-mid);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===================== HOW TO SUPPORT ===================== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.support-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--sand-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44,24,16,0.08);
}

.support-icon {
  width: 56px;
  height: 56px;
  background: var(--sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.support-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.support-card p {
  font-size: 0.9rem;
  color: var(--brown-mid);
  line-height: 1.6;
}

/* ===================== BUSINESS CARDS ===================== */
.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.business-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sand-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44,24,16,0.1);
}

.business-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--sand);
  display: block;
}

.business-card-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--sand), var(--sand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.business-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.business-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.business-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(196,112,58,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.business-area {
  font-size: 0.78rem;
  color: var(--brown-mid);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.business-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.business-card-desc {
  font-size: 0.875rem;
  color: var(--brown-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.business-support-note {
  background: var(--sand);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--brown-dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.business-support-note strong {
  color: var(--terracotta);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.business-card-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.business-link {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid var(--sand-dark);
  color: var(--brown-mid);
}

.business-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.business-link.instagram {
  border-color: rgba(196,112,58,0.3);
  color: var(--terracotta);
}

.business-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.business-card-image-wrap {
  position: relative;
}

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

.event-card {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid var(--sand-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  gap: 1.25rem;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44,24,16,0.08);
}

.event-date-block {
  flex-shrink: 0;
  width: 60px;
  height: 70px;
  background: var(--terracotta);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.event-date-day {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.event-body {
  flex: 1;
}

.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.event-meta {
  font-size: 0.8rem;
  color: var(--brown-mid);
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-desc {
  font-size: 0.85rem;
  color: var(--brown-mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.event-link:hover { color: var(--terracotta-dark); }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--brown-mid) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::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='%23FAF6F1' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.7;
}

.cta-btn-white {
  background: white;
  color: var(--terracotta);
  padding: 0.9rem 2.25rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto 3rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--terracotta-light);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.6);
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--terracotta-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* ===================== DIRECTORY PAGE ===================== */
.directory-header {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #4A2518 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  color: white;
}

.directory-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.directory-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.search-filter-bar {
  background: white;
  border-bottom: 1px solid var(--sand-dark);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 64px;
  z-index: 90;
}

.search-filter-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brown-mid);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--brown-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196,112,58,0.12);
}

.filter-select {
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--brown-dark);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B3C28' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-select:focus {
  border-color: var(--terracotta);
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.category-pill {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1.5px solid var(--sand-dark);
  background: white;
  color: var(--brown-mid);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-pill:hover,
.category-pill.active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: white;
}

.results-info {
  font-size: 0.85rem;
  color: var(--brown-mid);
  padding: 0.75rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.results-info strong {
  color: var(--brown-dark);
}

/* Loading & Empty States */
.loading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.skeleton-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sand-dark);
}

.skeleton-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, var(--sand) 25%, var(--sand-dark) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body {
  padding: 1.5rem;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, var(--sand) 25%, var(--sand-dark) 50%, var(--sand) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-line.full { width: 100%; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.empty-state {
  text-align: center;
  padding: 5rem 1.5rem;
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--brown-mid);
  max-width: 320px;
  margin: 0 auto;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 24px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.modal-image-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--sand), var(--sand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 24px 24px 0 0;
}

.modal-body {
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(44,24,16,0.5);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.modal-close:hover { background: rgba(44,24,16,0.8); }

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

.modal-category-area {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-support {
  background: var(--sand);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.modal-support-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.modal-support-text {
  font-size: 0.9rem;
  color: var(--brown-dark);
  line-height: 1.6;
}

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.modal-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brown-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-detail-value {
  font-size: 0.88rem;
  color: var(--brown-dark);
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--sand-dark);
    box-shadow: 0 8px 24px rgba(44,24,16,0.1);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links li {
    width: 100%;
    border-bottom: 1px solid var(--sand);
  }

  .navbar-links a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1rem;
  }

  .navbar-links li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .hamburger { display: flex; }

  .hero { padding: 4rem 1.5rem 5rem; }

  .section { padding: 3.5rem 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-details {
    grid-template-columns: 1fr;
  }

  .search-filter-bar { top: 64px; }

  .businesses-grid,
  .loading-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date-block {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }
}
