/* AL RIDWAN LAUNDRY EQUIPMENTS — visual identity */
:root {
  --color-gold-dynamic: #4a9fd4;
  --color-hero-accent-dynamic: #2f76c7;
  --color-light-gold-dynamic: #75c8f1;
  --color-dark-bg-dynamic: #0c1833;
  --color-brown-bg-dynamic: #122751;
  --color-card-bg-dynamic: #192f5d;
  --glass-header-bg: rgba(12, 24, 51, .94);
  --logo-filter: none;
  --color-white-dynamic: #fff;
  --color-gray-200-dynamic: #d9e6f4;
  --color-gray-300-dynamic: #b8cce4;
  --color-gray-400-dynamic: #8fa9c7;
}
.light-mode {
  --color-gold-dynamic: #18366f;
  --color-hero-accent-dynamic: #2476c5;
  --color-light-gold-dynamic: #2476c5;
  --color-dark-bg-dynamic: #f4f9fd;
  --color-brown-bg-dynamic: #e8f2fa;
  --color-card-bg-dynamic: #fff;
  --glass-header-bg: rgba(255, 255, 255, .96);
  --color-white-dynamic: #102653;
  --color-gray-200-dynamic: #25426f;
  --color-gray-300-dynamic: #405b80;
  --color-gray-400-dynamic: #6b82a2;
}
body { background-color: var(--color-dark-bg-dynamic); }
section#الرئيسية { background-color: var(--color-dark-bg-dynamic) !important; }
a[href*="wa.me"], a[href*="whatsapp"] { background-color: #25d366 !important; }
/* Keep the identity logo crisp on both dark and light surfaces. */
header img[alt*="الرضوان"] { filter: none !important; }

/* Transparent logo + header states */
header.fixed:not(.scrolled) { background: transparent !important; }
header.fixed.scrolled { background: rgba(12, 24, 51, 0.96) !important; box-shadow: 0 8px 30px rgba(3, 17, 46, .28); }
header img[src*="logo_alridwan-transparent"] { filter: none !important; mix-blend-mode: normal; }
/* WhatsApp floating action: square brand treatment */
a[aria-label="تواصل عبر واتساب"] > div,
a[aria-label="واتساب"] { border-radius: 12px !important; }

/* Unified header, mobile drawer and active section styling */
header.fixed { z-index: 100 !important; }
header.fixed.scrolled { background: rgba(12, 24, 51, .96) !important; box-shadow: 0 8px 30px rgba(3, 17, 46, .28); }
header.fixed.scrolled nav a, header.fixed.scrolled a { color: #fff !important; }
header.fixed.scrolled nav a.active-nav-link, header.fixed.scrolled a.active-nav-link { color: #75cff4 !important; }
header.fixed nav a.active-nav-link { color: #75cff4 !important; }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 200; padding: 28px 24px; background: #0c1833; box-shadow: -12px 0 36px rgba(0,0,0,.32); transform: translateX(110%); transition: transform .28s ease; display: flex; flex-direction: column; gap: 28px; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-close { align-self: flex-start; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: 8px; }
.mobile-drawer-links a { color: #fff; text-decoration: none; font-size: 19px; font-weight: 700; padding: 12px 4px; border-bottom: 1px solid rgba(117,207,244,.18); }
.mobile-drawer-links a.active-nav-link { color: #75cff4; }
body.menu-open { overflow: hidden; }
section#الرئيسية > .container { padding-top: 104px !important; }
@media (max-width: 767px) { section#الرئيسية > .container { padding-top: 96px !important; } }

/* Readable contact section text in light mode */
.light-mode section#contact h2,
.light-mode section#contact > div > div:first-child p,
.light-mode section#contact > div > div:first-child h2 { color: #163568 !important; }

/* Final WhatsApp and logo treatment */
a[aria-label="تواصل عبر واتساب"] > div,
a[aria-label="واتساب"] { background-color: #25d366 !important; border-radius: 9999px !important; border-color: #25d366 !important; }
a[aria-label="تواصل عبر واتساب"],
a[aria-label="واتساب"] { background: transparent !important; border: 0 !important; }
a[aria-label="تواصل عبر واتساب"] > div,
a[aria-label="واتساب"] > div { width: 56px !important; height: 56px !important; aspect-ratio: 1 / 1 !important; border-radius: 50% !important; background: #25d366 !important; border-color: #25d366 !important; overflow: hidden; }
.light-mode header img[src*="logo_alridwan-transparent"],
.dark-mode header img[src*="logo_alridwan-transparent"],
header img[src*="logo_alridwan-transparent"] { filter: none !important; background: transparent !important; mix-blend-mode: normal !important; }
.dark-mode .site-header img[src*="logo_alridwan-transparent"],
.dark-mode header img[src*="logo_alridwan-transparent"] { filter: none !important; }

/* Dark-mode logo is transparent with a light wordmark for navy headers. */
header img[src*="logo_alridwan-dark"],
.dark-mode img[src*="logo_alridwan-dark"] { filter: none !important; background: transparent !important; mix-blend-mode: normal !important; }
