/* ===== DressPass — Public Site Stylesheet =====
   Brand: Black #111111 · Gold #C8A96B · Beige #F5EBDD
   Arabic-first, mobile-first, responsive, prefers-color-scheme aware.
*/

:root {
  --black:      #111111;
  --gold:       #C8A96B;
  --gold-dark:  #A88A4F;
  --beige:      #F5EBDD;
  --bg:         #FFFFFF;
  --surface:    #FAF7F2;
  --text:       #1A1A1A;
  --text-soft:  #555555;
  --border:     #E6DCC9;
  --danger:     #C0392B;
  --shadow:     0 1px 3px rgba(0,0,0,0.04), 0 4px 14px rgba(17,17,17,0.06);
  --maxw:       820px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0F0F0F;
    --surface:   #1A1A1A;
    --text:      #F1ECE3;
    --text-soft: #A8A29A;
    --border:    #2A2724;
    --shadow:    0 1px 3px rgba(0,0,0,0.4), 0 4px 14px rgba(0,0,0,0.5);
  }
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', 'Segoe UI', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  transition: color .15s ease;
}
a:hover { color: var(--gold); }

/* ---- Header ---- */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--gold);
  padding: 22px 20px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--beige);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--black); font-weight: 900; font-size: 18px;
}
.brand-text { color: var(--gold); }
.brand-text small { display: block; font-size: 11px; color: var(--beige); font-weight: 400; letter-spacing: .5px; opacity: .85; }

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--beige);
  border-bottom: 0;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .15s;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(200,169,107,0.15);
  color: var(--gold);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1f1f1f 100%);
  color: var(--beige);
  padding: 50px 20px 60px;
  text-align: center;
}
.hero h1 {
  font-size: 32px;
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.4px;
}
.hero p {
  font-size: 16px;
  margin: 0 auto;
  max-width: 600px;
  opacity: .9;
}
.hero .eff-date {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold);
  background: rgba(200,169,107,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(200,169,107,0.3);
}

/* ---- Main content ---- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 22px 50px;
}
.intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
  font-size: 15.5px;
  line-height: 1.85;
}
section.legal {
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
section.legal h2 {
  color: var(--gold-dark);
  font-size: 20px;
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
section.legal h2 .num {
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 100px;
  min-width: 24px;
  text-align: center;
}
section.legal p {
  margin: 0 0 10px;
  font-size: 15px;
}
ul.bullet {
  list-style: none;
  padding: 0; margin: 0 0 10px;
}
ul.bullet li {
  position: relative;
  padding-right: 18px;
  margin-bottom: 7px;
  font-size: 15px;
}
ul.bullet li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  right: 0;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  top: 4px;
}

/* ---- Callouts ---- */
.callout {
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 14.5px;
  line-height: 1.75;
}
.callout.warn  { background: rgba(192, 57, 43, 0.08); border: 1px solid var(--danger); color: var(--danger); }
.callout.info  { background: rgba(200, 169, 107, 0.10); border: 1px solid var(--gold); color: var(--gold-dark); }
.callout strong { font-weight: 800; }

/* ---- Steps (delete-account page) ---- */
.steps {
  counter-reset: step;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px 14px 64px;
  margin-bottom: 10px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

/* ---- Contact card (footer of every page) ---- */
.contact-card {
  background: var(--black);
  color: var(--beige);
  border-radius: 14px;
  padding: 24px 22px;
  margin: 40px 0 0;
  text-align: center;
}
.contact-card h3 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 18px;
}
.contact-card p { margin: 4px 0; font-size: 14px; opacity: .9; }
.contact-card a.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 26px;
  font-weight: 700;
  margin-top: 12px;
  border: 0;
  font-size: 15px;
}
.contact-card a.btn:hover { background: var(--beige); }

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--beige);
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid var(--gold);
  margin-top: 50px;
}
.site-footer .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.site-footer .links a {
  color: var(--beige);
  border-bottom: 0;
  font-size: 14px;
  opacity: .85;
}
.site-footer .links a:hover { color: var(--gold); opacity: 1; }
.site-footer .copyright {
  font-size: 12px;
  color: var(--beige);
  opacity: .6;
  margin-top: 6px;
}

/* ---- Homepage hero (index.html) ---- */
.home-hero {
  background: linear-gradient(160deg, var(--black) 0%, #1f1c17 60%, #2a2418 100%);
  color: var(--beige);
  padding: 80px 20px 100px;
  text-align: center;
}
.home-hero h1 {
  font-size: 48px;
  margin: 0 0 18px;
  color: var(--gold);
  letter-spacing: 1px;
}
.home-hero .tagline {
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
  opacity: .92;
}
.home-cards {
  max-width: var(--maxw);
  margin: -40px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.home-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
  color: var(--text);
  border-bottom: none;
}
.home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17,17,17,0.10);
}
.home-card .icon {
  display: inline-flex; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(200,169,107,0.18);
  color: var(--gold-dark);
  align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 10px;
}
.home-card h3 { margin: 4px 0 6px; color: var(--gold-dark); font-size: 17px; }
.home-card p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* ---- Mobile tweaks ---- */
@media (max-width: 560px) {
  .hero h1 { font-size: 26px; }
  .home-hero h1 { font-size: 36px; }
  .home-hero { padding: 60px 16px 80px; }
  section.legal h2 { font-size: 17px; }
  .brand { font-size: 18px; }
  .site-nav a { padding: 5px 8px; font-size: 13px; }
  main { padding: 22px 16px 40px; }
  .contact-card { padding: 20px 16px; }
}
