/* ========== Elaf Wedding — Luxury Static Site ========== */
:root {
  --bg: #faf8f4;
  --fg: #1a1612;
  --card: #ffffff;
  --muted: #6b6359;
  --muted-bg: #f3efe8;
  --border: #e6dfd3;
  --gold: #c9a04a;
  --gold-2: #e7c576;
  --gold-soft: rgba(201,160,74,.12);
  --dark: #14110d;
  --dark-2: #2a241c;
  --shadow-elegant: 0 20px 60px -20px rgba(20,17,13,.18);
  --shadow-gold: 0 10px 40px -10px rgba(201,160,74,.45);
  --gradient-gold: linear-gradient(135deg, #e7c576, #b8862f);
  --gradient-dark: linear-gradient(135deg, #14110d, #2a241c);
  --radius: 14px;
}
html.dark {
  --bg: #0e0c09;
  --fg: #f4efe6;
  --card: #1a1611;
  --muted: #a8a094;
  --muted-bg: #221c15;
  --border: #2e2820;
  --gold: #e7c576;
  --gold-2: #f0d590;
  --gold-soft: rgba(231,197,118,.12);
  --shadow-elegant: 0 20px 60px -20px rgba(0,0,0,.6);
  --shadow-gold: 0 10px 40px -10px rgba(231,197,118,.35);
  --gradient-dark: linear-gradient(135deg, #080705, #1a1611);
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  direction: rtl;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Amiri', 'Cairo', serif; letter-spacing: .01em; line-height: 1.3; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-gold);
}
.logo-text { font-family: 'Amiri', serif; font-weight: 700; font-size: 1.1rem; }
.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sub { font-size: .7rem; color: var(--muted); }

.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { font-size: .9rem; font-weight: 500; color: var(--fg); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--gold); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.header-actions { display: flex; gap: .5rem; align-items: center; }
.menu-btn { display: none; }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: .85rem 1rem; border-radius: 10px;
  font-size: .9rem; font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--muted-bg); color: var(--gold); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  /*.logo-text-wrap { display: none; }*/
}

/* ========== Hero ========== */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,.6), var(--bg));
}
.hero-content { position: relative; text-align: center; padding: 7rem 1rem 10rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 999px;
  border: 1px solid rgba(231,197,118,.4);
  background: rgba(0,0,0,.3); color: var(--gold-2);
  font-size: .75rem; backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700; color: #fff; margin-top: 1.25rem; }
.hero p { max-width: 640px; margin: 1.25rem auto 0; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; cursor: pointer; border: none;
  transition: transform .2s, background .2s;
}
.btn-gold { background: var(--gradient-gold); color: #000; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: scale(1.05); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  background: rgba(255,255,255,.05); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ========== Sections ========== */
section.pad { padding: 5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-top: 1rem; }
.section-head p { color: var(--muted); margin-top: .75rem; }
.gold-divider {
  height: 1px; width: 90px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== Services ========== */
.services-bg { background: color-mix(in srgb, var(--muted-bg) 50%, transparent); }
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-elegant); transition: all .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-img { position: relative; height: 180px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.service-card:hover .service-img img { transform: scale(1.1); }
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}
.service-icon {
  position: absolute; bottom: 12px; left: 12px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
.service-body { padding: 1.25rem; }
.service-body h3 { font-size: 1.15rem; font-weight: 700; }
.service-body p { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* ========== Info cards ========== */
.cards-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-elegant);
}
.info-card-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.info-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.info-card h3 { font-size: 1.2rem; font-weight: 700; }
.info-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.info-row:last-child { border-bottom: none; }
.info-row dt { color: var(--muted); }
.info-row dd { font-weight: 500; }
.info-block { margin-bottom: 1rem; font-size: .9rem; }
.info-block dt { color: var(--muted); margin-bottom: .25rem; }
.info-block dd { font-weight: 500; }
.mono { font-family: 'Courier New', monospace; }

/* ========== Contact dark section ========== */
.contact-dark {
  background: var(--gradient-dark); color: #fff;
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow-elegant);
}
.contact-dark .head { text-align: center; margin-bottom: 2rem; }
.contact-dark .head h3 { font-size: 1.75rem; font-weight: 700; }
.contact-dark .head p { color: rgba(255,255,255,.7); margin-top: .5rem; font-size: .9rem; }
.contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 720px; margin: 0 auto; }
.contact-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05);
  color: #fff; transition: border-color .2s;
}
.contact-link:hover { border-color: var(--gold); }
.contact-link .ic { color: var(--gold); flex-shrink: 0; }
.contact-link .lbl { font-size: .75rem; color: rgba(255,255,255,.6); }
.contact-link .val { font-weight: 500; color: #fff; }

/* ========== Bank/Copy ========== */
.copy-field {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 70%, transparent);
  margin-bottom: .75rem;
}
.copy-field .info { flex: 1; min-width: 0; }
.copy-field .lbl { font-size: .7rem; color: var(--muted); margin-bottom: .25rem; }
.copy-field .val { font-family: 'Courier New', monospace; font-size: .9rem; direction: ltr; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .85rem; border-radius: 8px;
  border: 1px solid rgba(201,160,74,.4);
  background: var(--gold-soft); color: var(--gold);
  font-size: .75rem; font-weight: 500; cursor: pointer;
  transition: all .2s; flex-shrink: 0;
}
.copy-btn:hover { background: var(--gold); color: #000; }
.copy-btn.copied { background: var(--gold); color: #000; }

/* ========== Legal pages ========== */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 4rem 1rem; }
.legal-head { text-align: center; margin-bottom: 3rem; }
.legal-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.legal-head h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; }
.legal-head p { color: var(--muted); margin-top: 1rem; font-size: .9rem; }
.legal-section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-elegant); margin-bottom: 1.25rem;
}
.legal-section .ttl { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.legal-section .num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-gold); color: #000; font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.legal-section h2 { font-size: 1.2rem; font-weight: 700; }
.legal-section p { color: var(--muted); font-size: .9rem; line-height: 2; }

/* ========== Contact page ========== */
.contact-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-elegant); transition: all .3s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.contact-card .ic-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-gold); color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; box-shadow: var(--shadow-gold);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; }
.contact-card p { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.contact-card .num { color: var(--gold); margin-top: .75rem; font-family: 'Courier New', monospace; direction: ltr; font-size: .9rem; }

/* ========== Footer ========== */
.site-footer {
  margin-top: 5rem;
  background: var(--gradient-dark);
  color: #fff;
  border-top: 1px solid var(--border);
}
.footer-inner { padding: 3.5rem 0; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { color: var(--gold); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; font-family: 'Amiri', serif; }
.site-footer p { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 1rem; line-height: 1.85; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .6rem; font-size: .9rem; }
.site-footer ul a { color: rgba(255,255,255,.8); transition: color .2s; }
.site-footer ul a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: center; gap: .5rem; }
.footer-contact .ic { color: var(--gold); }
.footer-divider { height: 1px; margin: 2rem 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.copyright { text-align: center; color: rgba(255,255,255,.6); font-size: .8rem; }

/* ========== Animations ========== */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp .8s ease-out forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ========== Page intro ========== */
.page-intro { text-align: center; padding: 4rem 1rem 2rem; }
.page-intro h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.page-intro p { color: var(--muted); margin-top: 1rem; }
