/* ===== RITM Event — SEO Landing Pages Shared Stylesheet =====
   Brand: #562E81 (purple) · #C8AF6D (gold) · #DBCB99 (gold-light) · #FEF9EC (cream)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}
html[lang="ar"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }
[hidden] { display: none !important; }
.lang-content { display: block; }
.lang-content[hidden] { display: none !important; }
.lang-toggle {
  border: 1px solid rgba(200,175,109,0.65);
  border-radius: 2rem;
  background: transparent;
  color: #DBCB99;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
}

/* ── Nav ── */
.nav {
  background: #562E81;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-logo {
  color: #DBCB99;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #DBCB99; }
.nav-cta {
  background: #C8AF6D;
  color: #562E81;
  padding: 0.45rem 1.25rem;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #DBCB99; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #562E81 0%, #3a1d60 60%, #2a1245 100%);
  color: white;
  padding: 5.5rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,175,109,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.badge {
  display: inline-block;
  background: rgba(200,175,109,0.18);
  border: 1px solid rgba(200,175,109,0.45);
  color: #DBCB99;
  border-radius: 2rem;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #DBCB99;
  line-height: 1.2;
  margin-bottom: 1.375rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,0.82);
  max-width: 700px;
  margin: 0 auto 2.25rem;
  line-height: 1.78;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn-primary {
  background: #C8AF6D;
  color: #562E81;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: #DBCB99; transform: translateY(-1px); }
.btn-secondary {
  border: 2px solid rgba(255,255,255,0.32);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: #C8AF6D; background: rgba(200,175,109,0.1); }
.btn-outline {
  border: 2px solid #562E81;
  color: #562E81;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: #562E81; color: white; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 4.5rem 2rem; }
.section-alt { background: #FEF9EC; }
.section-dark { background: #562E81; color: white; padding: 4.5rem 2rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header.left { text-align: left; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #562E81;
  margin-bottom: 0.5rem;
}
.section-dark .section-title { color: #DBCB99; }
.section-sub { font-size: 1rem; color: #5E5E5E; max-width: 620px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.gold-bar {
  width: 3rem;
  height: 3px;
  background: #C8AF6D;
  border-radius: 2px;
  margin: 0.75rem auto 1.25rem;
}
.section-header.left .gold-bar { margin-left: 0; }

/* ── Cards ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }

.card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.875rem;
  box-shadow: 0 4px 24px rgba(86,46,129,0.08);
  border: 1px solid rgba(86,46,129,0.06);
}
.card-purple { background: #562E81; color: white; }
.card-gold { background: #C8AF6D; color: #562E81; }
.card-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; line-height: 1; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: #562E81; margin-bottom: 0.625rem; }
.card-purple h3 { color: #DBCB99; }
.card-gold h3 { color: #3a1d60; }
.card p { font-size: 0.9rem; color: #666; line-height: 1.72; }
.card-purple p { color: rgba(255,255,255,0.82); }
.card-gold p { color: rgba(58,29,96,0.85); }

/* ── Why list ── */
.why-list { display: flex; flex-direction: column; gap: 1.375rem; max-width: 740px; margin: 0 auto; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #C8AF6D;
  color: #562E81;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.why-text h3 { font-weight: 700; color: #562E81; margin-bottom: 0.3rem; font-size: 1rem; }
.why-text p { font-size: 0.9rem; color: #666; line-height: 1.68; }

/* ── Process steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 2.5rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, #C8AF6D, rgba(200,175,109,0.08));
  border-radius: 1px;
}
.step { display: flex; gap: 1.25rem; align-items: flex-start; position: relative; }
.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #562E81;
  color: #DBCB99;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(86,46,129,0.18);
  position: relative;
  z-index: 1;
}
.section-alt .step-num { box-shadow: 0 0 0 4px #FEF9EC, 0 0 0 5px rgba(86,46,129,0.18); }
.step-content h3 { font-weight: 700; color: #562E81; margin-bottom: 0.3rem; font-size: 1rem; }
.step-content p { font-size: 0.9rem; color: #666; line-height: 1.68; }

/* ── Country tags ── */
.country-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.875rem; }
.country-tag {
  background: white;
  border: 2px solid #C8AF6D;
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #562E81;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.section-dark .country-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,175,109,0.45);
  color: #DBCB99;
}

/* ── Exhibition grid ── */
.exhb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.875rem;
  margin-top: 1.875rem;
}
.exhb-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(200,175,109,0.25);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  text-align: center;
  font-size: 0.825rem;
  font-weight: 600;
  color: #DBCB99;
}
.section-alt .exhb-item {
  background: white;
  border-color: rgba(86,46,129,0.08);
  color: #562E81;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #3a1d60;
  text-align: center;
}
.stat-item { padding: 2rem 1rem; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.25rem; font-weight: 700; color: #C8AF6D; display: block; line-height: 1; margin-bottom: 0.375rem; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ── CTA box ── */
.cta-box {
  background: linear-gradient(135deg, #3a1d60 0%, #562E81 50%, #6b3a9e 100%);
  color: white;
  padding: 5.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,175,109,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box .container { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; color: #DBCB99; margin-bottom: 1rem; }
.cta-box p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
}
.contact-email {
  display: inline-block;
  color: #DBCB99;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.contact-email:hover { color: white; }

/* ── Country cards (hub) ── */
.country-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(86,46,129,0.07);
  border: 1px solid rgba(86,46,129,0.07);
}
.country-card .flag { font-size: 2rem; display: block; margin-bottom: 0.75rem; line-height: 1; }
.country-card h3 { font-size: 1rem; font-weight: 700; color: #562E81; margin-bottom: 0.5rem; }
.country-card p { font-size: 0.875rem; color: #555; line-height: 1.68; }

/* ── Related pages ── */
.related-pages { background: #FEF9EC; }
.related-pages h2 { font-size: 1.5rem; font-weight: 700; color: #562E81; margin-bottom: 0.5rem; text-align: center; }
.related-pages .gold-bar { margin-bottom: 1.75rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.related-link {
  background: white;
  border: 1px solid rgba(86,46,129,0.1);
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  text-decoration: none;
  color: #562E81;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.related-link:hover { border-color: #C8AF6D; background: #fffdf5; transform: translateY(-2px); }
.related-arrow { color: #C8AF6D; font-size: 1.1rem; flex-shrink: 0; }

/* ── Footer ── */
.footer {
  background: #1a0f2e;
  color: rgba(255,255,255,0.45);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.25rem; }
.footer a { color: #C8AF6D; text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #DBCB99; }
.footer-copy { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ── Legacy seo-* template compatibility ── */
.seo-nav {
  background: #562E81;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.seo-logo {
  color: #DBCB99;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.seo-cta-nav {
  background: #C8AF6D;
  color: #562E81;
  padding: 0.45rem 1.25rem;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  white-space: nowrap;
}
.seo-hero {
  background: linear-gradient(135deg, #562E81 0%, #3a1d60 60%, #2a1245 100%);
  color: white;
  padding: 5.5rem 2rem 5rem;
  text-align: center;
}
.seo-hero-inner { max-width: 900px; margin: 0 auto; }
.seo-eyebrow {
  color: #DBCB99;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.seo-hero h1 {
  color: #DBCB99;
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1.375rem;
}
.seo-hero p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 2vw, 1.175rem);
  line-height: 1.78;
  margin: 0 auto 2.25rem;
  max-width: 760px;
}
.seo-cta-btn {
  background: #C8AF6D;
  color: #562E81;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}
.seo-section { max-width: 1100px; margin: 0 auto; padding: 4.5rem 2rem; }
.seo-section h2 {
  color: #562E81;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.seo-section > p { color: #444; margin-bottom: 1rem; }
.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.seo-card {
  background: white;
  border: 1px solid rgba(86,46,129,0.08);
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(86,46,129,0.08);
  padding: 1.875rem;
}
.seo-card h3 { color: #562E81; margin-bottom: 0.625rem; }
.seo-card p { color: #666; font-size: 0.9rem; line-height: 1.72; }
.seo-why { background: #FEF9EC; max-width: none; }
.seo-why > * { max-width: 1036px; margin-left: auto; margin-right: auto; }
.seo-why-list { display: grid; gap: 1rem; list-style: none; margin-top: 1.5rem; }
.seo-why-list li {
  background: white;
  border-left: 4px solid #C8AF6D;
  border-radius: 0.5rem;
  color: #555;
  padding: 1rem 1.25rem;
}
.seo-steps { display: grid; gap: 1.25rem; margin-top: 2rem; }
.seo-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  align-items: start;
}
.seo-step-num {
  grid-row: span 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #562E81;
  color: #DBCB99;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.seo-step h3 { color: #562E81; margin-bottom: 0.25rem; }
.seo-step p { color: #666; }
.seo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #3a1d60;
  text-align: center;
}
.seo-stat { padding: 2rem 1rem; }
.seo-stat-num { display: block; color: #C8AF6D; font-size: 2.25rem; font-weight: 700; }
.seo-stat-label { color: rgba(255,255,255,0.65); font-size: 0.8rem; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.seo-tag {
  border: 2px solid #C8AF6D;
  border-radius: 2rem;
  color: #562E81;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.seo-exhibitions { background: #562E81; color: white; }
.seo-exhibitions h2 { color: #DBCB99; }
.seo-exhibition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.875rem;
  margin-top: 1.875rem;
}
.seo-exhibition-item {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(200,175,109,0.3);
  border-radius: 0.875rem;
  color: #DBCB99;
  padding: 1rem;
}
.seo-cta-box {
  background: linear-gradient(135deg, #3a1d60, #562E81, #6b3a9e);
  color: white;
  padding: 5.5rem 2rem;
  text-align: center;
}
.seo-cta-box h2 { color: #DBCB99; margin-bottom: 1rem; }
.seo-cta-box p { margin: 0 auto 2rem; max-width: 650px; }
.seo-related { text-align: center; }
.seo-related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.seo-related-links a {
  border: 1px solid rgba(86,46,129,0.1);
  border-radius: 0.875rem;
  color: #562E81;
  padding: 1rem;
  text-decoration: none;
}
.seo-footer {
  background: #1a0f2e;
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.seo-footer a { color: #C8AF6D; text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .seo-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }
}
@media (max-width: 768px) {
  .nav-links .nav-link { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 3rem 1.25rem; }
  .section-dark { padding: 3rem 1.25rem; }
  .cta-box { padding: 3.5rem 1.25rem; }
  .steps::before { display: none; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
