/* ══════════════════════════════════════════════════
   Our Lady Festival – Mtein 2026
   Palette sampled from the event logo.
   ══════════════════════════════════════════════════ */
:root {
  --ink:      #2b3b45;   /* dark slate navy — Our Lady's robe + wordmark */
  --ink-soft: #4a5a63;
  --brick:    #9b4a3b;   /* terracotta / bell tower — primary accent */
  --brick-dk: #843e31;
  --camel:    #c99a67;   /* heritage arches — secondary accent */
  --sky:      #a9c6d5;   /* soft veil blue */
  --gold:     #e6bd4e;   /* festival flag */
  --red:      #c7503a;   /* festival flag */
  --sage:     #7fa869;   /* festival flag */
  --paper:    #efece6;   /* warm cream — page background */
  --paper-2:  #e7e3da;   /* alternating section */
  --card:     #fbf9f5;
  --line:     #dcd6ca;

  --shadow:   0 14px 34px rgba(43, 59, 69, .12);
  --shadow-sm:0 6px 16px rgba(43, 59, 69, .10);
  --radius:   18px;
  --maxw:     1040px;

  --font-body:    "Tajawal", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-display: "El Messiri", "Tajawal", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }   /* keep the hidden attribute authoritative over display rules */

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.center { text-align: center; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.72em 1.9em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  will-change: transform;
}
.btn--primary { background: var(--brick); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brick-dk); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--camel); }
.btn--outline:hover { background: var(--camel); color: #fff; transform: translateY(-2px); }

/* ─────────────── Bunting divider ─────────────── */
.bunting {
  height: 26px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26'%3E%3Cline x1='0' y1='4' x2='120' y2='4' stroke='%232b3b45' stroke-width='1.4'/%3E%3Cpolygon points='8,4 26,4 17,22' fill='%23e6bd4e'/%3E%3Cpolygon points='32,4 50,4 41,22' fill='%23c7503a'/%3E%3Cpolygon points='56,4 74,4 65,22' fill='%237fa869'/%3E%3Cpolygon points='80,4 98,4 89,22' fill='%23c99a67'/%3E%3Cpolygon points='104,4 122,4 113,22' fill='%23a9c6d5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center top;
}

/* ─────────────── Hero ─────────────── */
.hero {
  background:
    radial-gradient(120% 90% at 50% 0%, #f6f3ee 0%, var(--paper) 55%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner { padding: 40px 22px 40px; text-align: center; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--camel);
  letter-spacing: 2px;
  font-size: .98rem;
  margin-bottom: 18px;
}
.hero__brand { display: flex; justify-content: center; }
.hero__logo {
  max-width: 600px; width: 92%; margin-inline: auto;
  background: #fff; border-radius: 22px; padding: 24px 34px;
  box-shadow: 0 12px 30px rgba(43, 59, 69, .10);
}

.hero__dates {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 4.5vw, 2rem);
  color: var(--brick);
  margin-top: 22px;
  letter-spacing: .5px;
}
.hero__dates::before, .hero__dates::after {
  content: "✦"; color: var(--camel); font-size: .7em; margin-inline: .55em; vertical-align: middle;
}
.hero__tagline {
  color: var(--ink-soft);
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-top: 6px;
}
.hero__cta { margin-top: 26px; }
.hero__hint { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); }
.hero__hint::before { content: "●"; color: var(--brick); font-size: .55em; vertical-align: middle; margin-inline-end: .5em; }

/* Text fallback if the logo image is missing */
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wordmark__emblem {
  width: 92px; height: 98px; margin-bottom: 8px;
  background: center/contain no-repeat url("assets/favicon.svg");
}
.wordmark__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 7vw, 3rem); color: var(--ink); }
.wordmark__sub   { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--brick); }
.wordmark--sm .wordmark__emblem { width: 56px; height: 60px; }
.wordmark--sm .wordmark__title  { font-size: 1.4rem; }

/* ─────────────── Sections ─────────────── */
.section { padding: 58px 0; }
.section--alt { background: var(--paper-2); }
.section--narrow { max-width: 760px; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: 10px;
}
.section__title::after {
  content: ""; display: block; width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brick));
  margin: 12px auto 0;
}
.section__note { text-align: center; color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 30px; max-width: 640px; margin-inline: auto; }
.lead { text-align: center; font-size: 1.16rem; color: var(--ink-soft); margin-top: 20px; }
.lead--accent { font-family: var(--font-display); font-weight: 600; color: var(--brick); font-size: 1.22rem; margin-top: 22px; }

/* ─────────────── Facts (when & where) ─────────────── */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 30px 0;
}
.fact {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 16px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.fact__icon  {
  width: 58px; height: 58px; margin-bottom: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(155, 74, 59, .09); color: var(--brick);
}
.fact__icon svg { width: 30px; height: 30px; }
.fact__label { color: var(--brick); font-weight: 700; font-size: .95rem; }
.fact__value { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }

/* ─────────────── Nights ─────────────── */
.nights {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px; max-width: 820px; margin-inline: auto;
}
.night {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--brick);
  border-radius: var(--radius);
  padding: 34px 26px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.night:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(43,59,69,.16); }
.night:nth-child(2) { border-top-color: var(--camel); }
.night__ribbon {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; padding: 5px 18px; border-radius: 999px;
}
.night__day  { color: var(--ink-soft); font-size: 1.05rem; margin-top: 6px; }
.night__date { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 6vw, 2.2rem); color: var(--ink); }
.night__divider { width: 46px; height: 2px; background: var(--camel); margin: 14px auto; border-radius: 2px; }
.night__artist { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--brick); margin-bottom: 4px; }
.night__role { color: var(--ink-soft); font-size: 1rem; margin-bottom: 24px; }
.night__btn { width: 100%; }

.reserve__help {
  max-width: 680px; margin: 34px auto 0;
  background: rgba(155, 74, 59, .05); border: 1px solid var(--camel); border-radius: 16px;
  padding: 20px 24px; text-align: center; color: var(--ink-soft); font-size: 1.04rem;
  line-height: 1.95;
}
.reserve__help-title {
  font-family: var(--font-display); font-weight: 700; color: var(--brick);
  font-size: 1.18rem; margin-bottom: 8px;
}
.reserve__help strong { color: var(--ink); font-weight: 700; white-space: nowrap; }
.reserve__help a { color: var(--brick); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(155,74,59,.3); }
.reserve__help a:hover { border-bottom-color: var(--brick); }

/* ─────────────── Phones ─────────────── */
.phones { list-style: none; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.phone {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow-sm);
}
.phone__call { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.phone__call:hover { color: var(--brick); }
.phone__wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sage); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: 7px 14px; border-radius: 999px;
  transition: background-color .18s ease, transform .18s ease;
}
.phone__wa::before { content: ""; width: 14px; height: 14px; background: center/contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15l-1.4 5 5.1-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-1.7-.1-.4-.1-.9-.3-1.6-.6-2.8-1.2-4.6-4-4.7-4.2-.1-.2-1.1-1.5-1.1-2.8 0-1.3.7-2 .9-2.2.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5.2.5.7 1.8.8 1.9.1.1.1.3 0 .5-.1.2-.2.4-.3.5l-.4.5c-.1.1-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.4 2.4 1.5.3.1.5.1.6-.1.2-.2.7-.8.9-1.1.2-.3.4-.2.6-.1.3.1 1.6.8 1.9.9.3.2.5.2.5.3.1.2.1.6-.1 1.1z'/%3E%3C/svg%3E"); }
.phone__wa:hover { background: #6a9257; transform: translateY(-1px); }

/* ─────────────── Socials ─────────────── */
.socials { display: flex; justify-content: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 22px; text-decoration: none; color: var(--ink); font-weight: 700;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, color .18s ease, border-color .18s ease;
}
.social:hover { transform: translateY(-2px); color: var(--brick); border-color: var(--brick); }
.social svg { color: var(--ink); }
.social:hover svg { color: var(--brick); }

/* ─────────────── Footer ─────────────── */
.footer { background: var(--ink); color: #e9eef1; padding: 40px 0 34px; text-align: center; }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: #fff; }
.footer__brand::before, .footer__brand::after { content: "✦"; color: var(--camel); font-size: .6em; margin-inline: .6em; vertical-align: middle; }
.footer__org  { color: #d8e0e4; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin-top: 8px; }
.footer__copy { color: #9fb0b8; font-size: .9rem; margin-top: 8px; }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .nights { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero__inner { padding-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .night, .social, .phone__wa { transition: none; }
}
