/* ==========================================================================
   مؤسسة أبراج الماسة لتركيب زجاج السيكوريت بالدمام والخبر (0555232715)
   أنماط التصميم المرجعي المطابق لـ glass-co-sa.com مع الدراور والسلايدر بدون نقاط
   ========================================================================== */

:root {
  --primary-blue: #0b57cf;         /* الأزرق الملكي المرجعي */
  --primary-blue-hover: #0848ad;
  --primary-blue-light: #e8f0fe;
  
  --secondary-navy: #0f172a;       /* كحلي داكن للأزرار والتباين */
  --secondary-navy-hover: #1e293b;
  
  --whatsapp-green: #25d366;       /* أخضر واتساب المعتمد */
  --whatsapp-green-hover: #1ebd5b;
  
  --bg-pure-white: #ffffff;
  --bg-off-white: #f8fafc;
  --bg-input: #ffffff;
  
  --text-dark: #1e293b;
  --text-muted: #475569;
  --text-light: #ffffff;
  
  --border-light: #e2e8f0;
  --border-input: #cbd5e1;
  --border-focus: #0b57cf;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-drawer: -6px 0 30px rgba(0, 0, 0, 0.18);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-circle: 50%;
  
  --font-family: 'Almarai', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-pure-white);
  color: var(--text-dark);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  padding-top: 58px; /* Space for fixed header */
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow-container {
  max-width: 680px;
}

/* ==========================================================================
   1. FIXED WHITE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--bg-pure-white);
  height: 58px;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Left Group: Nav Links pulled to left + Share Button */
.header-left-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Icon Button on Right (RTL start) */
.header-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: background var(--transition-fast);
}

.header-icon-btn:hover {
  background-color: var(--bg-off-white);
}

.drawer-toggle {
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Center Brand & Phone */
.header-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

.brand-sub-phone {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.brand-logo-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-main-word {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

/* Desktop Navigation Menu (Hidden on mobile, visible on desktop) */
.desktop-nav-menu {
  display: none;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.desktop-nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--bg-off-white);
}

.desktop-nav-link.active {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

@media (min-width: 992px) {
  .drawer-toggle {
    display: none !important;
  }
  .desktop-nav-menu {
    display: flex !important;
  }
  .header-brand {
    flex-direction: row;
    gap: 12px;
  }
  .brand-sub-phone {
    font-size: 0.85rem;
  }
}

/* Left: Share Button */
.share-btn {
  color: var(--text-dark);
}

/* ==========================================================================
   2. SLIDE-DOWN SHARE OVERLAY SCREEN (TOP TO BOTTOM)
   ========================================================================== */
.share-drop-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(20, 20, 24, 0.96);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.share-drop-overlay.active {
  transform: translateY(0);
}

.share-overlay-close-btn {
  position: absolute;
  top: 24px;
  left: 28px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.share-overlay-close-btn:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

.share-overlay-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.share-outline-circle-btn {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-circle);
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.share-outline-circle-btn:hover {
  transform: scale(1.12);
  background-color: rgba(255, 255, 255, 0.14);
}
.drawer-shade {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-shade.active {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--bg-pure-white);
  z-index: 2000;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.side-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  background-color: #f8fafc;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-brand-info {
  display: flex;
  flex-direction: column;
}

.drawer-brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.drawer-brand-phone {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  direction: ltr;
  text-align: right;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  color: var(--text-dark);
  background-color: #e2e8f0;
}

.drawer-nav {
  padding: 16px 0;
  flex: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition-fast);
}

.drawer-nav-link:hover {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
  padding-right: 28px;
}

.drawer-actions {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  background-color: #fafbfc;
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.drawer-call-btn {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.drawer-call-btn:hover {
  background-color: var(--primary-blue-hover);
}

.drawer-wa-btn {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

.drawer-wa-btn:hover {
  background-color: var(--whatsapp-green-hover);
}

.drawer-footer-info {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  background-color: #ffffff;
}

/* ==========================================================================
   3. HERO SECTION (AUTOMATED BACKGROUND CROSSFADE - NO DOTS/STRIP)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 16px;
  text-align: center;
  background-color: #0f172a;
}

.hero-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.02);
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.82) 100%);
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-main-title {
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-phone-sub {
  font-size: clamp(1.8rem, 5.5vw, 2.9rem);
  color: #ffffff;
  direction: ltr;
}

.hero-subtitle {
  color: #f1f5f9;
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* White Quote Card Box matching screenshot 2 */
.hero-quote-card {
  background-color: #ffffff;
  color: #1e293b;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: clamp(0.92rem, 2.3vw, 1.05rem);
  font-weight: 700;
  line-height: 1.65;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  margin-bottom: 24px;
  max-width: 520px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Two Circular Buttons matching screenshot 2 */
.hero-social-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.circle-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.circle-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.wa-circle {
  background-color: var(--primary-blue);
}

.phone-circle {
  background-color: #0284c7;
}

/* Two Action Buttons Side-by-Side */
.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.btn-hero-solid, .btn-hero-outline {
  flex: 1;
  min-width: 140px;
  max-width: 190px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-hero-solid {
  background-color: var(--primary-blue);
  color: #ffffff;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 4px 14px rgba(11, 87, 207, 0.35);
}

.btn-hero-solid:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-2px);
}

.btn-hero-outline {
  background-color: var(--primary-blue);
  color: #ffffff;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 4px 14px rgba(11, 87, 207, 0.35);
}

.btn-hero-outline:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-2px);
}

.arrow-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================================
   4. SECTION TITLE WITH CENTERED BLUE UNDERLINE BAR (MATCHING REFERENCE)
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-title-line {
  width: 75px;
  height: 3.5px;
  background-color: var(--primary-blue);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   5. "من نحن" SECTION (MATCHING SCREENSHOT 1 EXACTLY)
   ========================================================================== */
.about-section {
  padding: 45px 0 35px;
  background-color: var(--bg-pure-white);
}

.about-text-content {
  text-align: right;
  margin-bottom: 25px;
}

.about-headline-tel {
  margin-bottom: 12px;
  text-align: center;
}

.tel-blue-link {
  color: var(--primary-blue);
  font-size: 1.15rem;
  font-weight: 800;
}

.tel-blue-link:hover {
  text-decoration: underline;
}

.about-paragraph {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 14px;
  text-align: justify;
}

/* ==========================================================================
   6. "الخدمات" SECTION (MATCHING SCREENSHOT 4 & 5 WITH BLUE [ الصور ] BUTTON)
   ========================================================================== */
.services-section {
  padding: 50px 0;
  background-color: var(--bg-pure-white);
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.ref-service-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ref-service-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  cursor: pointer;
  position: relative;
  background-color: #f1f5f9;
}

.ref-service-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.ref-service-card:hover .ref-service-img {
  transform: scale(1.03);
}

.ref-service-img-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(11, 87, 207, 0.9);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.ref-service-card:hover .ref-service-img-badge {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 87, 207, 0.45);
}

.ref-service-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ref-service-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.ref-service-desc {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 16px;
  text-align: justify;
}

/* Blue Solid [ الصور ] Button matching reference screenshots */
.btn-ref-photos {
  display: inline-block;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 10px 42px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 87, 207, 0.28);
  transition: all var(--transition-fast);
}

.btn-ref-photos:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 87, 207, 0.38);
}

/* ==========================================================================
   8. "التواصل" SECTION (MATCHING SCREENSHOT 3 - NO EMAIL FIELD)
   ========================================================================== */
.contact-section {
  padding: 50px 0 40px;
  background-color: var(--bg-pure-white);
  border-top: 1px solid #f1f5f9;
}

.contact-info-block {
  text-align: center;
  margin-bottom: 24px;
}

.contact-location-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-phone-direct {
  margin-bottom: 6px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-link {
  color: var(--primary-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-brand-tag {
  color: var(--text-dark);
  font-weight: 700;
}

.contact-hours-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrap {
  width: 100%;
}

.form-instruction-text {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.ref-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field-group {
  width: 100%;
}

.ref-input, .ref-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  background-color: var(--bg-input);
  color: var(--text-dark);
  font-size: 0.98rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ref-input:focus, .ref-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(11, 87, 207, 0.12);
}

.ref-textarea {
  resize: vertical;
}

.btn-ref-submit {
  width: 100%;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(11, 87, 207, 0.28);
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.btn-ref-submit:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11, 87, 207, 0.38);
}

/* ==========================================================================
   9. FOOTER WITH BOTTOM NAVIGATION
   ========================================================================== */
.site-footer {
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
  text-align: center;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer-nav-links a:hover {
  color: var(--primary-blue);
}

.footer-nav-links span {
  color: #94a3b8;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. FLOATING WHATSAPP BUTTON (BOTTOM-LEFT)
   ========================================================================== */
.floating-wa-circle-btn {
  position: fixed;
  bottom: 22px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background-color: var(--whatsapp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 1490;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: pulse-wa 2.5s infinite;
}

@media (min-width: 992px) {
  .floating-wa-circle-btn {
    bottom: 26px;
    left: 26px;
    width: 60px;
    height: 60px;
  }
}

.floating-wa-circle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   12. LIGHTBOX MODAL STYLES (ENHANCED FOR 323 REAL IMAGES)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-bg-shade {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 10;
  width: 94%;
  max-width: 820px;
  max-height: 92vh;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  background-color: #f8fafc;
}

.modal-title-box {
  display: flex;
  flex-direction: column;
}

.modal-service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.modal-service-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-close-trigger {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.modal-close-trigger:hover {
  color: var(--text-dark);
  background-color: #e2e8f0;
}

.modal-stage-wrapper {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 280px;
  background-color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-main-view {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-display-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.modal-counter-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: background-color var(--transition-fast);
}

.modal-nav-btn:hover {
  background-color: var(--primary-blue);
}

.modal-nav-prev {
  right: 12px;
}

.modal-nav-next {
  left: 12px;
}

.modal-caption-bar {
  padding: 12px 18px;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-caption-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
  flex: 1;
}

.btn-modal-inquire {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.btn-modal-inquire:hover {
  background-color: var(--primary-blue-hover);
}

.modal-thumbnails-strip {
  display: flex;
  gap: 8px;
  padding: 10px 18px;
  background-color: #ffffff;
  overflow-x: auto;
  border-top: 1px solid var(--border-light);
}

.modal-thumb-item {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.modal-thumb-item.active {
  border-color: var(--primary-blue);
  opacity: 1;
  transform: scale(1.05);
}

.modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   10. BRAND LOGO EMBLEM & ICONS
   ========================================================================== */
.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast);
}

.header-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
}

.drawer-logo-icon .brand-logo-img {
  width: 36px;
  height: 36px;
}

/* ==========================================================================
   11. SITE FOOTER & BOTTOM NAVIGATION
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 44px 16px 36px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-nav-links a {
  color: #e2e8f0;
  transition: color var(--transition-fast);
}

.footer-nav-links a:hover {
  color: var(--primary-blue-light);
}

.footer-nav-links span {
  color: #475569;
}

.footer-copy-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Developer Signature Bar with WhatsApp link */
.developer-signature-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  margin: 18px auto 0;
  max-width: 580px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.dev-info-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dev-title-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.2px;
}

.dev-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.dev-whatsapp-btn:hover {
  background-color: #1ebd5b;
  transform: translateY(-2px);
  color: #ffffff;
}

.dev-wa-icon {
  display: flex;
  align-items: center;
}

.dev-phone-number {
  font-family: inherit;
  font-weight: 800;
  direction: ltr;
}

.dev-chat-text {
  background: rgba(0, 0, 0, 0.16);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
}

/* Drawer Developer Credit */
.drawer-dev-credit {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.drawer-dev-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
}

.drawer-dev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.drawer-dev-link:hover {
  background: #1ebd5b;
}
