/* ══════════════════════════════════════════════════════════════════
   TMMM — The Museum of Meelaad e Mustafa ﷺ
   Global Stylesheet
   ══════════════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Cinzel:wght@400;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

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

/* ── Root Variables ── */
:root {
  --emerald-deep:   #061710;
  --emerald-mid:    #0e2e1c;
  --emerald-bright: #163d27;
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;
  --gold-pale:      #f5e8c0;
  --ivory:          #faf6ee;
  --ivory-warm:     #f0e9d6;
  --text-dark:      #1a1a14;
  --text-mid:       #3d3d2e;
  --pattern-opacity: 0.07;
}

/* ── Base ── */
html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--ivory);
  color: var(--text-dark);
  overflow-x: hidden;
  cursor: none;
}

/* ── Page Transition ── */
body {
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.page-loaded {
  opacity: 1;
}
body.page-exit {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed; 
  width: 12px; 
  height: 12px;
  background: var(--gold); 
  border-radius: 50%;
  pointer-events: none; 
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: multiply;
}

.cursor-ring {
  position: fixed; 
  width: 36px; 
  height: 36px;
  border: 1.5px solid var(--gold); 
  border-radius: 50%;
  pointer-events: none; 
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

body:hover .cursor { 
  opacity: 1; 
}

/* ── Scrollbar ── */
::-webkit-scrollbar { 
  width: 5px; 
}

::-webkit-scrollbar-track { 
  background: var(--emerald-deep); 
}

::-webkit-scrollbar-thumb { 
  background: var(--gold); 
  border-radius: 2px; 
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */

nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
  background: rgba(13, 43, 31, 0.97);
  backdrop-filter: blur(16px);
  padding: 0.8rem 3rem;
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex; 
  flex-direction: column; 
  line-height: 1;
}

.nav-logo .logo-main {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem; 
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.15em;
}

.nav-logo .logo-sub {
  font-family: 'Amiri', serif;
  font-size: 0.7rem; 
  color: rgba(201,168,76,0.65);
  letter-spacing: 0.25em; 
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: 'Cinzel', serif; 
  font-size: 0.72rem;
  letter-spacing: 0.18em; 
  text-transform: uppercase;
  color: rgba(245,232,192,0.75);
  text-decoration: none;
  position: relative; 
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 0;
  width: 0; 
  height: 1px; 
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover { 
  color: var(--gold-light); 
}

.nav-links a:hover::after { 
  width: 100%; 
}

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Cinzel', serif; 
  font-size: 0.72rem;
  letter-spacing: 0.18em; 
  text-transform: uppercase;
  color: var(--emerald-deep) !important;
  background: var(--gold);
  padding: 0.55rem 1.4rem !important;
  border-radius: 1px;
  transition: background 0.3s ease, color 0.3s ease !important;
}

.nav-cta:hover { 
  background: var(--gold-light) !important; 
}

.nav-cta::after { 
  display: none !important; 
}

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

.hamburger span {
  display: block; 
  width: 24px; 
  height: 1.5px;
  background: var(--gold-light); 
  transition: all 0.3s ease;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */

.btn-primary {
  font-family: 'Cinzel', serif; 
  font-size: 0.75rem;
  letter-spacing: 0.22em; 
  text-transform: uppercase;
  background: var(--gold); 
  color: var(--emerald-deep);
  padding: 1rem 2.4rem; 
  text-decoration: none;
  border: none; 
  cursor: pointer;
  position: relative; 
  overflow: hidden;
  transition: color 0.4s ease;
  display: inline-block;
}

.btn-primary::before {
  content: ''; 
  position: absolute;
  inset: 0; 
  background: var(--emerald-deep);
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}

.btn-primary:hover { 
  color: var(--gold); 
}

.btn-primary:hover::before { 
  transform: translateX(0); 
}

.btn-primary span { 
  position: relative; 
  z-index: 1; 
}

.btn-outline {
  font-family: 'Cinzel', serif; 
  font-size: 0.75rem;
  letter-spacing: 0.22em; 
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.5); 
  color: var(--gold-pale);
  padding: 1rem 2.4rem; 
  text-decoration: none;
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold-light);
}

/* Filter Pills (for Events, Blog) */
.filter-pill {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--text-mid);
  border: 1px solid rgba(6,23,16,0.15);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--emerald-deep);
}

.filter-pill.active {
  background: var(--gold);
  color: var(--emerald-deep);
  border-color: var(--gold);
}

/* Donation Amount Buttons */
.donation-btn {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.2rem;
  background: var(--ivory-warm);
  color: var(--text-dark);
  border: 2px solid rgba(6,23,16,0.12);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.donation-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.donation-btn.active {
  background: var(--gold);
  color: var(--ivory);
  border-color: var(--gold);
}

/* Donation Type Buttons */
.donation-type-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem;
  background: var(--ivory-warm);
  color: var(--text-dark);
  border: 2px solid rgba(6,23,16,0.12);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.donation-type-btn:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.donation-type-btn.active {
  background: var(--emerald-deep);
  color: var(--gold-light);
  border-color: var(--emerald-deep);
}

/* ══════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════ */

section { 
  padding: 7rem 3rem; 
}

.section-label {
  font-family: 'Cinzel', serif; 
  font-size: 0.68rem;
  letter-spacing: 0.35em; 
  text-transform: uppercase;
  color: var(--gold); 
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; 
  line-height: 1.2;
  color: var(--emerald-deep);
}

.section-title strong { 
  font-weight: 700; 
  color: var(--emerald-mid); 
}

.section-body {
  font-size: 1.1rem; 
  line-height: 1.85;
  color: var(--text-mid); 
  font-weight: 300;
}

.section-standard { 
  padding: 7rem 7rem; 
}

.section-dark { 
  background: var(--emerald-deep); 
}

.section-dark .section-title { 
  color: var(--ivory); 
}

.section-dark .section-label { 
  color: var(--gold); 
}

.section-dark .section-body { 
  color: rgba(245,232,192,0.65); 
}

/* ══════════════════════════════════════════════════════════════════
   PAGE HERO (for inner pages, not homepage)
   ══════════════════════════════════════════════════════════════════ */

.page-hero {
  background: var(--emerald-deep);
  padding: 10rem 5rem 5rem;
  position: relative; 
  overflow: hidden;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.page-hero::before {
  content: '';
  position: absolute; 
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 30px,
    rgba(201,168,76,0.02) 30px, rgba(201,168,76,0.02) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px,
    rgba(201,168,76,0.02) 30px, rgba(201,168,76,0.02) 31px);
}

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

.page-hero .section-label { 
  color: var(--gold); 
}

.page-hero .section-title { 
  color: var(--ivory); 
  font-size: clamp(2.5rem, 5vw, 4rem); 
}

.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; 
  font-style: italic; 
  font-weight: 300;
  color: rgba(245,232,192,0.6); 
  margin-top: 1rem; 
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════════════ */

.breadcrumb {
  display: flex; 
  gap: 0.5rem; 
  align-items: center;
  font-family: 'Cinzel', serif; 
  font-size: 0.6rem;
  letter-spacing: 0.25em; 
  text-transform: uppercase;
  color: rgba(201,168,76,0.4); 
  margin-bottom: 1.5rem;
}

.breadcrumb a { 
  color: rgba(201,168,76,0.4); 
  text-decoration: none; 
  transition: color 0.3s; 
}

.breadcrumb a:hover { 
  color: var(--gold); 
}

.breadcrumb span { 
  color: var(--gold); 
}

/* ══════════════════════════════════════════════════════════════════
   ORNAMENT DIVIDER
   ══════════════════════════════════════════════════════════════════ */

.ornament-divider {
  display: flex; 
  align-items: center;
  justify-content: center; 
  gap: 1rem;
  padding: 0.5rem 0;
}

.ornament-divider .line {
  flex: 1; 
  max-width: 120px; 
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.ornament-divider .line.rev {
  background: linear-gradient(to left, transparent, var(--gold));
}

.ornament-svg { 
  color: var(--gold); 
  opacity: 0.8; 
}

/* ══════════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0; 
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.d1 { 
  transition-delay: 0.1s; 
}

.reveal.d2 { 
  transition-delay: 0.22s; 
}

.reveal.d3 { 
  transition-delay: 0.36s; 
}

.reveal.d4 { 
  transition-delay: 0.5s; 
}

.reveal.visible { 
  opacity: 1; 
  transform: none; 
}

/* ══════════════════════════════════════════════════════════════════
   CARD GRIDS
   ══════════════════════════════════════════════════════════════════ */

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

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

/* ══════════════════════════════════════════════════════════════════
   CONTENT CARD
   ══════════════════════════════════════════════════════════════════ */

.content-card {
  border: 1px solid rgba(201,168,76,0.18);
  background: white; 
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.content-card:hover {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.content-card-img {
  width: 100%; 
  aspect-ratio: 4/3;
  background: var(--emerald-mid); 
  overflow: hidden; 
  margin-bottom: 1.5rem;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.content-card-label {
  font-family: 'Cinzel', serif; 
  font-size: 0.6rem;
  letter-spacing: 0.3em; 
  color: var(--gold); 
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.content-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; 
  font-weight: 600;
  color: var(--emerald-deep); 
  line-height: 1.3; 
  margin-bottom: 0.5rem;
}

.content-card-body {
  font-size: 0.95rem; 
  color: var(--text-mid);
  font-style: italic; 
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   IMAGE PLACEHOLDER
   ══════════════════════════════════════════════════════════════════ */

.img-placeholder {
  width: 100%; 
  height: 100%;
  background: var(--emerald-mid);
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 0.75rem; 
  min-height: 200px;
}

.img-placeholder-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; 
  font-size: 0.85rem;
  color: rgba(201,168,76,0.35);
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════════════════════ */

.marquee-section {
  background: var(--gold);
  padding: 1rem 0; 
  overflow: hidden;
}

.marquee-track {
  display: flex; 
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: 'Cinzel', serif; 
  font-size: 0.7rem;
  letter-spacing: 0.3em; 
  text-transform: uppercase;
  color: var(--emerald-deep); 
  flex-shrink: 0;
}

.marquee-dot { 
  color: var(--emerald-mid); 
  opacity: 0.5; 
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */

footer {
  background: #060f08;
  padding: 4rem 5rem 2rem;
}

.footer-top {
  display: grid; 
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; 
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  margin-bottom: 2rem;
}

.footer-brand .brand-name {
  font-family: 'Cinzel', serif; 
  font-size: 1rem;
  letter-spacing: 0.2em; 
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.footer-brand .brand-tagline {
  font-family: 'Amiri', serif; 
  font-size: 0.85rem;
  color: rgba(201,168,76,0.4); 
  font-style: italic;
  margin-bottom: 1.2rem; 
  line-height: 1.6;
}

.footer-social {
  display: flex; 
  gap: 0.8rem;
}

.social-icon {
  width: 36px; 
  height: 36px;
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: rgba(201,168,76,0.5); 
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.social-icon:hover {
  border-color: var(--gold); 
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-col h4 {
  font-family: 'Cinzel', serif; 
  font-size: 0.65rem;
  letter-spacing: 0.3em; 
  text-transform: uppercase;
  color: var(--gold); 
  margin-bottom: 1.2rem;
}

.footer-col ul { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 0.65rem; 
}

.footer-col ul a {
  font-size: 0.88rem; 
  color: rgba(245,232,192,0.45);
  text-decoration: none; 
  font-style: italic;
  transition: color 0.3s;
}

.footer-col ul a:hover { 
  color: var(--gold-light); 
}

.footer-bottom {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap; 
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem; 
  color: rgba(245,232,192,0.25);
  font-style: italic;
}

.footer-bottom-links {
  display: flex; 
  gap: 1.5rem; 
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.72rem; 
  color: rgba(245,232,192,0.25);
  text-decoration: none; 
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-bottom-links a:hover { 
  color: var(--gold); 
}

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE-SPECIFIC STYLES
   (These remain for index.html compatibility)
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO ── */
#hero {
  position: relative; 
  height: 100vh; 
  min-height: 640px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: hidden;
  background: var(--emerald-deep);
}

#geo-canvas {
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
}

.hero-overlay {
  position: absolute; 
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13,43,31,0.3) 0%, rgba(13,43,31,0.75) 70%, rgba(13,43,31,0.95) 100%);
}

.hero-content {
  position: relative; 
  z-index: 2;
  text-align: center; 
  padding: 0 2rem;
  max-width: 860px;
}

.hero-bismillah {
  font-family: 'Amiri', serif; 
  font-size: 2.2rem;
  color: var(--gold); 
  letter-spacing: 0.1em;
  margin-bottom: 1.4rem;
  opacity: 0; 
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-divider {
  display: flex; 
  align-items: center; 
  gap: 1rem;
  justify-content: center; 
  margin-bottom: 1.8rem;
  opacity: 0; 
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-divider span {
  display: inline-block; 
  height: 1px;
  width: 80px; 
  background: var(--gold); 
  opacity: 0.5;
}

.hero-divider .diamond {
  width: 6px; 
  height: 6px;
  background: var(--gold); 
  transform: rotate(45deg);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 600; 
  line-height: 1.15;
  color: var(--ivory);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  opacity: 0; 
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-title em {
  font-style: normal; 
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-style: italic; 
  font-weight: 300;
  color: rgba(245,232,192,0.7);
  letter-spacing: 0.06em;
  margin-bottom: 2.8rem;
  opacity: 0; 
  animation: fadeUp 1s ease 1s forwards;
}

.hero-actions {
  display: flex; 
  gap: 1.2rem; 
  justify-content: center; 
  flex-wrap: wrap;
  opacity: 0; 
  animation: fadeUp 1s ease 1.2s forwards;
}

.hero-scroll {
  position: absolute; 
  bottom: 2.5rem; 
  left: 50%;
  transform: translateX(-50%);
  display: flex; 
  flex-direction: column;
  align-items: center; 
  gap: 0.5rem;
  opacity: 0; 
  animation: fadeUp 1s ease 1.8s forwards;
  cursor: pointer;
}

.hero-scroll span {
  font-family: 'Cinzel', serif; 
  font-size: 0.6rem;
  letter-spacing: 0.3em; 
  color: rgba(201,168,76,0.5);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px; 
  height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── ABOUT ── */
#about {
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; 
  align-items: center;
  padding: 7rem 7rem;
}

.about-visual {
  position: relative;
}

.about-frame {
  width: 100%; 
  aspect-ratio: 3/4;
  background: var(--emerald-mid);
  position: relative; 
  overflow: hidden;
}

.about-frame::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: 
    repeating-linear-gradient(60deg, transparent, transparent 14px, rgba(201,168,76,0.04) 14px, rgba(201,168,76,0.04) 15px),
    repeating-linear-gradient(-60deg, transparent, transparent 14px, rgba(201,168,76,0.04) 14px, rgba(201,168,76,0.04) 15px);
}

.about-frame-inner {
  position: absolute; 
  inset: 0;
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 1rem; 
  padding: 2rem;
}

.about-placeholder-icon {
  width: 80px; 
  height: 80px; 
  opacity: 0.3;
}

.about-placeholder-text {
  font-family: 'Amiri', serif; 
  font-size: 1.1rem;
  color: rgba(201,168,76,0.4); 
  text-align: center;
  font-style: italic;
}

.about-gold-border {
  position: absolute; 
  top: 1.5rem; 
  left: 1.5rem;
  right: -1.5rem; 
  bottom: -1.5rem;
  border: 1px solid rgba(201,168,76,0.35);
  pointer-events: none; 
  z-index: -1;
}

.about-badge {
  position: absolute; 
  bottom: -2rem; 
  right: -2rem;
  width: 110px; 
  height: 110px;
  background: var(--gold);
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  text-align: center;
}

.about-badge .num {
  font-family: 'Cinzel', serif; 
  font-size: 1.8rem;
  font-weight: 700; 
  color: var(--emerald-deep);
  line-height: 1;
}

.about-badge .lbl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.65rem; 
  color: var(--emerald-deep);
  letter-spacing: 0.1em; 
  line-height: 1.3;
}

.about-text { 
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem; 
}

.about-stats {
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem; 
  margin-top: 1rem;
}

.stat-card {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.stat-card .stat-num {
  font-family: 'Cinzel', serif; 
  font-size: 1.8rem;
  color: var(--emerald-mid); 
  font-weight: 700;
}

.stat-card .stat-lbl {
  font-size: 0.82rem; 
  color: var(--text-mid);
  letter-spacing: 0.05em; 
  font-style: italic;
}

/* ── COLLECTIONS ── */
#collections {
  background: var(--emerald-deep);
  padding: 7rem 3rem;
  position: relative; 
  overflow: hidden;
}

#collections::before {
  content: '';
  position: absolute; 
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(201,168,76,0.02) 30px, rgba(201,168,76,0.02) 31px),
    repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(201,168,76,0.02) 30px, rgba(201,168,76,0.02) 31px);
}

#collections .section-title { 
  color: var(--ivory); 
}

#collections .section-label { 
  color: var(--gold); 
}

#collections .section-body { 
  color: rgba(245,232,192,0.65); 
}

.collections-header {
  text-align: center; 
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px; 
  max-width: 1200px; 
  margin: 0 auto;
}

.collection-card {
  position: relative; 
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--emerald-mid);
  cursor: pointer;
}

.collection-card-bg {
  position: absolute; 
  inset: 0;
  background: linear-gradient(135deg, var(--emerald-mid) 0%, var(--emerald-deep) 100%);
  transition: transform 0.7s ease;
}

.collection-card:hover .collection-card-bg { 
  transform: scale(1.05); 
}

.collection-pattern {
  position: absolute; 
  inset: 0; 
  opacity: 0.06;
}

.collection-card-content {
  position: absolute; 
  inset: 0;
  display: flex; 
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.collection-num {
  font-family: 'Cinzel', serif; 
  font-size: 0.65rem;
  letter-spacing: 0.35em; 
  color: var(--gold);
  margin-bottom: 0.75rem; 
  display: block;
}

.collection-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400; 
  color: var(--ivory);
  line-height: 1.2; 
  margin-bottom: 0.6rem;
}

.collection-desc {
  font-size: 0.92rem; 
  color: rgba(245,232,192,0.6);
  line-height: 1.6; 
  font-style: italic;
  margin-bottom: 1.4rem;
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.collection-card:hover .collection-desc {
  max-height: 100px; 
  opacity: 1;
}

.collection-link {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem;
  font-family: 'Cinzel', serif; 
  font-size: 0.68rem;
  letter-spacing: 0.2em; 
  text-transform: uppercase;
  color: var(--gold); 
  text-decoration: none;
  transition: gap 0.3s ease;
}

.collection-link:hover { 
  gap: 0.9rem; 
}

.collection-link svg { 
  transition: transform 0.3s ease; 
}

.collection-link:hover svg { 
  transform: translateX(4px); 
}

/* ── QUOTE ── */
#quote {
  background: var(--ivory-warm);
  padding: 7rem 3rem;
  text-align: center; 
  position: relative;
}

#quote::before, #quote::after {
  content: '';
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  width: 1px; 
  background: rgba(201,168,76,0.3);
}

#quote::before { 
  top: 0; 
  height: 3rem; 
}

#quote::after  { 
  bottom: 0; 
  height: 3rem; 
}

.quote-arabic {
  font-family: 'Amiri', serif; 
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--emerald-mid); 
  line-height: 2;
  margin-bottom: 1.5rem; 
  direction: rtl;
}

.quote-english {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic; 
  font-weight: 300;
  color: var(--text-mid); 
  max-width: 600px;
  margin: 0 auto 1rem;
}

.quote-source {
  font-family: 'Cinzel', serif; 
  font-size: 0.7rem;
  letter-spacing: 0.25em; 
  color: var(--gold);
  text-transform: uppercase;
}

/* ── EVENTS ── */
#events {
  background: var(--ivory);
  padding: 7rem 7rem;
}

.events-header {
  display: flex; 
  justify-content: space-between;
  align-items: flex-end; 
  margin-bottom: 3.5rem;
}

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

.event-card {
  border: 1px solid rgba(201,168,76,0.2);
  padding: 2rem;
  position: relative; 
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  background: white;
}

.event-card::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: linear-gradient(135deg, rgba(45,110,78,0.03), transparent);
  opacity: 0; 
  transition: opacity 0.4s ease;
}

.event-card:hover { 
  border-color: rgba(201,168,76,0.5); 
  box-shadow: 0 8px 40px rgba(0,0,0,0.07); 
}

.event-card:hover::before { 
  opacity: 1; 
}

.event-date-badge {
  display: inline-flex; 
  flex-direction: column;
  align-items: center;
  background: var(--emerald-deep);
  color: var(--gold); 
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem; 
  min-width: 60px;
}

.event-date-badge .day {
  font-family: 'Cinzel', serif; 
  font-size: 1.5rem;
  font-weight: 700; 
  line-height: 1;
}

.event-date-badge .month {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem; 
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.event-type {
  font-family: 'Cinzel', serif; 
  font-size: 0.6rem;
  letter-spacing: 0.3em; 
  text-transform: uppercase;
  color: var(--gold); 
  margin-bottom: 0.5rem;
}

.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; 
  font-weight: 600;
  color: var(--emerald-deep); 
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.event-meta {
  font-size: 0.82rem; 
  color: var(--text-mid);
  font-style: italic; 
  display: flex;
  align-items: center; 
  gap: 0.4rem;
}

.event-empty {
  grid-column: 1 / -1; 
  text-align: center;
  padding: 4rem; 
  border: 1px dashed rgba(201,168,76,0.25);
}

.event-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; 
  font-style: italic;
  color: var(--text-mid); 
  opacity: 0.6;
}

/* ── VISIT ── */
#visit {
  background: var(--emerald-deep);
  display: grid; 
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.visit-info {
  padding: 6rem 5rem;
  display: flex; 
  flex-direction: column; 
  gap: 2rem;
}

.visit-map-placeholder {
  background: var(--emerald-mid);
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex-direction: column; 
  gap: 1rem;
  min-height: 500px; 
  position: relative; 
  overflow: hidden;
}

.visit-map-placeholder::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(201,168,76,0.03) 20px, rgba(201,168,76,0.03) 21px
  );
}

.map-pin-icon {
  width: 48px; 
  height: 48px; 
  color: var(--gold); 
  opacity: 0.5;
}

.map-placeholder-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; 
  color: rgba(201,168,76,0.4);
  font-size: 1rem;
}

#visit .section-label { 
  color: var(--gold); 
}

#visit .section-title { 
  color: var(--ivory); 
}

.visit-detail {
  display: flex; 
  gap: 1rem; 
  align-items: flex-start;
}

.visit-detail-icon {
  width: 36px; 
  height: 36px; 
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--gold);
}

.visit-detail-text .vd-label {
  font-family: 'Cinzel', serif; 
  font-size: 0.65rem;
  letter-spacing: 0.25em; 
  text-transform: uppercase;
  color: var(--gold); 
  margin-bottom: 0.2rem;
}

.visit-detail-text .vd-value {
  font-size: 0.95rem; 
  color: rgba(245,232,192,0.75);
  font-style: italic; 
  line-height: 1.5;
}

.visit-detail-text .vd-value a {
  color: rgba(245,232,192,0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.visit-detail-text .vd-value a:hover {
  color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  nav { 
    padding: 1rem 1.5rem; 
  }
  
  nav.scrolled { 
    padding: 0.7rem 1.5rem; 
  }
  
  .nav-links { 
    display: none; 
  }
  
  .hamburger { 
    display: flex; 
  }

  section { 
    padding: 5rem 1.5rem; 
  }

  .section-standard { 
    padding: 5rem 1.5rem; 
  }

  .page-hero { 
    padding: 8rem 1.5rem 3.5rem; 
  }

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

  #about { 
    grid-template-columns: 1fr; 
    padding: 5rem 1.5rem; 
    gap: 3rem; 
  }
  
  .about-visual { 
    order: -1; 
  }
  
  .about-badge { 
    right: 0; 
  }
  
  .collections-grid { 
    grid-template-columns: 1fr; 
  }
  
  .collection-card { 
    aspect-ratio: 16/10; 
  }
  
  #events { 
    padding: 5rem 1.5rem; 
  }
  
  .events-header { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 1rem; 
  }
  
  .events-grid { 
    grid-template-columns: 1fr; 
  }
  
  #visit { 
    grid-template-columns: 1fr; 
  }
  
  .visit-info { 
    padding: 4rem 1.5rem; 
  }
  
  .visit-map-placeholder { 
    min-height: 280px; 
  }
  
  .footer-top { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 600px) {
  .card-grid-3, .card-grid-2 { 
    grid-template-columns: 1fr; 
  }
  
  .footer-top { 
    grid-template-columns: 1fr; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
  }
}
