/* ==============================
   LUCRATIVE — Financial Advisory
   Design System
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --navy:    #f7f5f0;
  --navy2:   #eeeae2;
  --slate:   #ddd8cc;
  --gold:    #8a6a1f;
  --gold2:   #b58a2a;
  --cream:   #2c2416;
  --white:   #1a1208;
  --muted:   #6b5f4a;
  --border:  rgba(138,106,31,0.2);
  --shadow:  0 8px 40px rgba(0,0,0,0.10);
  --radius:  4px;
  --trans:   all 0.35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--cream);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--gold); }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); color: var(--cream); font-weight: 600; }
p  { color: var(--muted); font-size: 1rem; line-height: 1.8; }
a  { color: var(--gold); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--gold2); }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0 40px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.navbar.scrolled { background: rgba(247,245,240,0.99); box-shadow: 0 4px 30px rgba(0,0,0,0.08); }

.navbar-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--white); font-weight: 700;
}
.navbar-logo span { color: var(--gold); }
.navbar-logo img { height: 42px; width: auto; }

.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  padding: 8px 18px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--muted); border-radius: var(--radius);
  transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(201,168,76,0.08);
}

.nav-burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--cream); transition: var(--trans); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8e2d4 0%, var(--slate) 60%, #c8ddd0 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/banner.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(138,106,31,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138,106,31,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
  padding: 120px 24px 60px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); padding: 6px 18px;
  border: 1px solid var(--border);
  border-radius: 20px; margin-bottom: 28px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  background: var(--gold); color: #fff;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  transition: var(--trans); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(138,106,31,0.25); color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  background: transparent; color: var(--cream);
  font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(44,36,22,0.25); cursor: pointer;
  transition: var(--trans);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(138,106,31,0.06); }

/* ── STAT COUNTERS ── */
.stats-bar {
  background: var(--navy2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 580px; margin: 0 auto; }
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px auto;
}

/* ── SERVICE CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--trans);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: var(--trans);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(201,168,76,0.1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; margin-right: auto;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; }

/* ── SERVICE LIST / TABLE REPLACEMENT ── */
.service-block { margin-bottom: 60px; }
.service-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--gold);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.service-block-desc {
  color: var(--muted); font-size: 0.95rem; margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(0,0,0,0.03); border-right: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.service-list li {
  display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(138,106,31,0.12);
  border-radius: var(--radius);
  font-size: 0.92rem; color: var(--cream);
  transition: var(--trans);
}
.service-list li:hover { background: rgba(138,106,31,0.07); border-color: var(--border); }
.service-list li::before {
  content: '✓'; color: var(--gold); font-weight: 700;
  font-size: 0.85rem; flex-shrink: 0;
}

/* ── QUOTE SECTION ── */
.quote-section {
  background: linear-gradient(135deg, var(--slate), #d8d2c4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px 0;
}
.quote-section h2 { color: var(--white); margin-bottom: 20px; }
.quote-section p { margin-bottom: 36px; }

/* ── TESTIMONIAL SLIDER ── */
.testimonials { background: var(--navy2); padding: 80px 0; }
.testimonial-track {
  display: flex; gap: 24px;
  animation: slide 30s linear infinite;
  width: max-content;
}
.testimonial-track:hover { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonial-card {
  min-width: 380px; padding: 32px;
  background: var(--navy); border: 1px solid var(--border);
  border-radius: var(--radius); flex-shrink: 0;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.05rem; color: var(--cream);
  margin-bottom: 16px; line-height: 1.7;
}
.testimonial-card cite { font-size: 0.85rem; color: var(--gold); }

/* ── CONTACT FORM ── */
.contact-section { padding: 90px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.05em; }
input, textarea, select {
  width: 100%; padding: 14px 18px;
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  transition: var(--trans); outline: none;
}
input:focus, textarea:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); }
textarea { min-height: 140px; resize: vertical; }

/* ── SUCCESS STORIES ── */
.story-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--trans);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.story-card img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(30%) brightness(0.8); transition: var(--trans); }
.story-card:hover img { filter: none; }
.story-body { padding: 24px; }
.story-body h3 { margin-bottom: 10px; font-size: 1.1rem; }
.story-body p { font-size: 0.88rem; margin-bottom: 16px; }

/* ── GIFTS PAGE ── */
.gift-badge {
  display: inline-block; padding: 4px 12px;
  background: rgba(201,168,76,0.12); border: 1px solid var(--border);
  border-radius: 20px; font-size: 0.75rem; color: var(--gold);
  margin-bottom: 12px; font-family: 'DM Mono', monospace; letter-spacing: 0.1em;
}

/* ── VIDEO CARDS ── */
.video-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 48px;
}
.video-card-header { padding: 28px 32px 20px; }
.video-card-header h2 { font-size: 1.5rem; color: var(--white); }
.video-wrapper { padding: 0 32px 32px; }
.video-wrapper iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); border: none; }

/* ── NOTICE BOARD ── */
.notice-item {
  display: block; padding: 24px 28px;
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 16px;
  transition: var(--trans);
}
.notice-item:hover { border-color: var(--gold); background: rgba(201,168,76,0.04); transform: translateX(-4px); }
.notice-item h5 { color: var(--white); font-family: 'Playfair Display', serif; margin-bottom: 8px; font-size: 1.1rem; }
.notice-item p { color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; }
.notice-item small { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 0.78rem; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--slate) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.breadcrumb-bar { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.82rem; color: var(--muted); }
.breadcrumb-bar span { color: var(--gold); }

/* ── FOOTER ── */
.footer {
  background: #e2ddd4;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 16px; }
.footer p { font-size: 0.88rem; color: var(--muted); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: var(--trans); }
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.9rem; transition: var(--trans);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 0.82rem; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── TICKER ── */
.ticker-bar {
  background: var(--gold);
  padding: 8px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner { display: inline-flex; gap: 60px; animation: ticker 20s linear infinite; }
.ticker-inner span { font-size: 0.78rem; font-weight: 600; color: #fff; font-family: 'DM Mono', monospace; }

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

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 998;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-size: 1.5rem; font-family: 'Playfair Display', serif; color: var(--cream); }
.mobile-nav a:hover { color: var(--gold); }


/* ── DARK THEME ── */
[data-theme="dark"] {
  --navy:    #0d1b2a;
  --navy2:   #132235;
  --slate:   #1e3250;
  --gold:    #c9a84c;
  --gold2:   #e8c97a;
  --cream:   #f5f0e8;
  --white:   #ffffff;
  --muted:   #8a9ab0;
  --border:  rgba(201,168,76,0.25);
  --shadow:  0 8px 40px rgba(0,0,0,0.35);
}
[data-theme="dark"] .navbar {
  background: rgba(13,27,42,0.92);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(13,27,42,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3250 60%, #0a2a1e 100%);
}
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
}
[data-theme="dark"] .btn-primary { color: #0d1b2a; }
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,0.2); color: #f5f0e8; }
[data-theme="dark"] .service-block-desc { background: rgba(255,255,255,0.02); }
[data-theme="dark"] .service-list li { background: rgba(255,255,255,0.02); border-color: rgba(201,168,76,0.08); }
[data-theme="dark"] .service-list li:hover { background: rgba(201,168,76,0.06); }
[data-theme="dark"] .quote-section { background: linear-gradient(135deg, #1e3250, #132235); }
[data-theme="dark"] .footer { background: #080f18; }
[data-theme="dark"] .ticker-inner span { color: #0d1b2a; }
[data-theme="dark"] .mobile-nav { background: #0d1b2a; }

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: var(--trans);
  flex-shrink: 0;
  outline: none;
  padding: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  transition: var(--trans);
}
[data-theme="dark"] .theme-toggle::after {
  right: auto; left: 2px;
}
.theme-toggle-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px; font-size: 10px; pointer-events: none;
}

@media (max-width: 992px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 280px; }
  .hero-content { padding-top: 100px; }
}
