/* ==========================================================================
   محل قرميد بيوت شعر مشبات مظلات - خميس مشيط
   MashabatQarmid.site - Premium Arabic Business Website Stylesheet
   Direction: RTL | Mobile-First Architecture
   ========================================================================== */

/* 1. CSS VARIABLES & COLOR PALETTE */
:root {
  --color-primary-dark: #121416;
  --color-charcoal: #1c2024;
  --color-charcoal-light: #282d33;
  --color-gold: #c59d5f;
  --color-gold-hover: #b38a4b;
  --color-gold-light: rgba(197, 157, 95, 0.12);
  --color-gold-border: rgba(197, 157, 95, 0.28);
  --color-sand: #f8f6f0;
  --color-sand-dark: #efe8dc;
  --color-terracotta: #b85d38;
  --color-terracotta-hover: #a14e2c;
  --color-text-dark: #1f2429;
  --color-text-muted: #5e6873;
  --color-text-light: #f5f6f8;
  --color-white: #ffffff;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;
  --color-phone: #0e86d4;

  --font-heading: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 30px rgba(197, 157, 95, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1240px;
}

/* 2. GLOBAL RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-sand);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  font-weight: 700;
  line-height: 1.35;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 3. UTILITY & BADGE STYLES */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  font-size: 1.85rem;
  margin-bottom: 0.85rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 0.6rem auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.35rem;
  }
  .section-header p {
    font-size: 1.15rem;
  }
}

/* 4. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 157, 95, 0.35);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold-hover);
  border: 1.5px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--color-phone);
  color: var(--color-white);
}

.btn-phone:hover {
  background: #0b70b3;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* 5. TOP BAR & NOTIFICATION */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-info i {
  color: var(--color-gold);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.75rem;
}

.topbar-social a:hover {
  background: var(--color-gold);
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }
}

/* 6. HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-charcoal));
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--color-gold-hover);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 1rem;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold-hover);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.6rem;
  color: var(--color-charcoal);
  line-height: 1;
}

@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem 1.75rem;
    gap: 1.25rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn-whatsapp span {
    display: none;
  }
  .header-actions .btn-whatsapp {
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-full);
  }
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
}

.mobile-overlay.active {
  display: block;
}

.drawer-close {
  display: none;
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: #f1f2f5;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-charcoal);
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .drawer-close {
    display: flex;
  }
}

/* 7. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(18, 20, 22, 0.88) 0%, rgba(28, 32, 36, 0.75) 100%),
              url('../assets/generated/hero_luxury_fireplace.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 4.5rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 157, 95, 0.22), transparent 50%),
              linear-gradient(to top, var(--color-primary-dark) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(197, 157, 95, 0.2);
  color: #f7e0b5;
  border: 1px solid rgba(197, 157, 95, 0.45);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  color: var(--color-white);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--color-gold);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 576px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 86vh;
    padding: 6rem 0;
  }
  .hero-title {
    font-size: 3.1rem;
  }
  .hero-subtitle {
    font-size: 1.25rem;
  }
  .stat-num {
    font-size: 2.2rem;
  }
}

/* 8. QUICK CONTACT BAR (MOBILE OPTIMIZED) */
.quick-action-bar {
  background: var(--color-white);
  padding: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .quick-action-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-action-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: var(--color-sand);
  transition: var(--transition);
}

.quick-action-item:hover {
  background: var(--color-sand-dark);
  transform: translateY(-2px);
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quick-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: var(--color-whatsapp); }
.quick-icon.phone { background: rgba(14, 134, 212, 0.15); color: var(--color-phone); }
.quick-icon.location { background: rgba(184, 93, 56, 0.15); color: var(--color-terracotta); }
.quick-icon.experience { background: var(--color-gold-light); color: var(--color-gold-hover); }

.quick-text h4 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  color: var(--color-charcoal);
}

.quick-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* 9. ABOUT SECTION */
.about-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge-exp {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-exp .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}

.about-badge-exp .text {
  font-size: 0.9rem;
  line-height: 1.3;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--color-charcoal);
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.about-feat-item i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* 10. SERVICES SECTION */
.services-section {
  padding: 5rem 0;
  background: var(--color-sand);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-border);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
}

.service-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 20, 22, 0.85);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-charcoal);
}

.service-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
}

.service-actions .btn {
  flex: 1;
}

/* 11. WHY CHOOSE US */
.why-us-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-charcoal));
  color: var(--color-white);
}

.why-us-section .section-header h2 {
  color: var(--color-white);
}

.why-us-section .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
  transform: translateY(-5px);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--color-gold-light);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem auto;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
}

.why-card h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 12. PROJECT GALLERY SECTION */
.gallery-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--color-sand);
  color: var(--color-charcoal);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(197, 157, 95, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: #e5e5e5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 20, 22, 0.92) 0%, rgba(18, 20, 22, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay span {
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.gallery-overlay .gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 14, 0.94);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--color-white);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  left: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--color-gold);
}

.lightbox-prev { right: -3.5rem; }
.lightbox-next { left: -3.5rem; }

@media (max-width: 991px) {
  .lightbox-prev { right: 0.5rem; }
  .lightbox-next { left: 0.5rem; }
}

/* 13. GOOGLE REVIEWS SECTION */
.reviews-section {
  padding: 5rem 0;
  background: var(--color-sand);
}

.reviews-summary-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border: 1px solid var(--color-gold-border);
}

.summary-rating-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.rating-score {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-charcoal);
  line-height: 1;
}

.rating-stars {
  color: #ffb800;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sand-dark);
  color: var(--color-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author h4 {
  font-size: 1rem;
  color: var(--color-charcoal);
  margin-bottom: 0.15rem;
}

.review-author span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.review-rating {
  color: #ffb800;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.review-badge {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--color-gold-hover);
  background: var(--color-gold-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* 14. CALL TO ACTION BANNER */
.cta-banner {
  background: linear-gradient(135deg, rgba(18, 20, 22, 0.92), rgba(28, 32, 36, 0.95)),
              url('../assets/generated/outdoor_majlis_saudi.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 15. CONTACT & LOCATION SECTION */
.contact-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-text a, .contact-detail-text p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-charcoal);
  direction: ltr;
  text-align: right;
}

.contact-socials-box {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-socials-box h4 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.social-links-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-white);
  transition: var(--transition);
}

.social-btn.instagram { background: #e1306c; }
.social-btn.tiktok { background: #000000; }
.social-btn.snapchat { background: #fffc00; color: #000000; }
.social-btn.whatsapp { background: #25d366; }

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Contact Form & Map */
.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gold-border);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--color-charcoal);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #dcdfe3;
  border-radius: var(--radius-sm);
  background: #fdfdfd;
  color: var(--color-charcoal);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* 16. FOOTER */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 1.5rem 0;
  border-top: 3px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  background: var(--color-gold);
  margin-top: 0.4rem;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-right: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 17. FLOATING ACTION BUTTONS (WHATSAPP & CALL) */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  font-size: 1.7rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.float-whatsapp {
  background: var(--color-whatsapp);
  animation: pulse-whatsapp 2.5s infinite;
}

.float-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.1);
}

.float-phone {
  background: var(--color-phone);
}

.float-phone:hover {
  background: #0b70b3;
  transform: scale(1.1);
}

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

.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-charcoal);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* 18. PAGE HERO (FOR SUBPAGES) */
.page-hero {
  background: linear-gradient(135deg, rgba(18, 20, 22, 0.9) 0%, rgba(28, 32, 36, 0.85) 100%),
              url('../assets/generated/craftsmanship_workshop.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 4.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-top: 1rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

/* 19. SERVICES DETAILED (ON SERVICES.HTML) */
.service-detail-block {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-detail-block:nth-child(even) {
  background: var(--color-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail-grid.reverse {
    direction: ltr;
  }
  .service-detail-grid.reverse > * {
    direction: rtl;
  }
}

.service-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.service-detail-gallery img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: var(--transition);
}

.service-detail-gallery img:hover {
  transform: scale(1.03);
}

.service-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.service-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.service-spec-item i {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* 20. MOBILE TESTING AND VIEWPORT ADJUSTMENTS */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .about-badge-exp {
    position: static;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
  }
}

/* MOBILE NAVIGATION FIX */
@media (max-width: 991px) {

  /* Keep the header and navigation above the overlay */
  .site-header {
    z-index: 1100;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Keep the navigation drawer clear and visible */
  .nav-menu {
    z-index: 1100;
    background: #ffffff;
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    height: 100vh;
    height: 100dvh;
    visibility: visible;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Overlay must stay behind the navigation drawer */
  .mobile-overlay {
    z-index: 1090;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.55);
  }

  /* Keep the menu button visible */
  .menu-toggle {
    color: #1c2024;
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    position: relative;
    z-index: 1101;
  }

  /* Keep close button visible */
  .drawer-close {
    color: #1c2024;
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    z-index: 1102;
  }

  /* Prevent floating buttons from covering the menu */
  .floating-actions {
    z-index: 1000;
  }
}
