/* ==========================================================================
   شركة سمرقند لاستيراد السجاد والمنسوجات
   Direct Importer: Clothes, Textiles, Carpets, Rugs & Furniture
   Inspired by Bauen Architectural High-End Aesthetics
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --navy-deepest: #050d18;
  --navy-dark: #081525;
  --navy-surface: #0c1d32;
  --navy-surface-hover: #102641;
  --navy-card: #0f223a;
  
  --gold-primary: #c5a059;
  --gold-light: #e5cb8e;
  --gold-lighter: #f7e7be;
  --gold-dark: #987834;
  --gold-gradient: linear-gradient(135deg, #f7e7be 0%, #c5a059 50%, #987834 100%);
  --gold-gradient-soft: linear-gradient(180deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.03) 100%);

  --text-primary: #f5f7fa;
  --text-secondary: #c0cad6;
  --text-muted: #8493a5;

  --border-gold-subtle: rgba(197, 160, 89, 0.18);
  --border-gold-medium: rgba(197, 160, 89, 0.35);
  --border-gold-bright: rgba(197, 160, 89, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);

  --font-serif: 'Amiri', serif;
  --font-sans: 'Cairo', sans-serif;
  --font-arabic: 'Cairo', 'Amiri', sans-serif;

  --sidebar-width: 280px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-luxury: 0 20px 45px rgba(0, 0, 0, 0.45);
  --shadow-gold-glow: 0 0 25px rgba(197, 160, 89, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--navy-deepest);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--navy-dark);
  color: var(--text-secondary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] {
  font-family: var(--font-arabic);
}

html[dir="rtl"] .brand-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .editorial-heading,
html[dir="rtl"] .section-title {
  font-family: 'Amiri', 'Cairo', serif;
  letter-spacing: 0;
}

.ltr-force {
  direction: ltr !important;
  display: inline-block;
}

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

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

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

/* --------------------------------------------------------------------------
   LAYOUT ARCHITECTURE (Bauen Desktop Sidebar + Main Content)
   -------------------------------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--navy-deepest);
  border-right: 1px solid var(--border-gold-subtle);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 1.6rem;
  transition: var(--transition-smooth);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
}

html[dir="rtl"] .sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--border-gold-subtle);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.4);
}

.main-content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  position: relative;
  background-color: var(--navy-dark);
}

html[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: var(--sidebar-width);
}

/* --------------------------------------------------------------------------
   MOBILE TOPBAR & DRAWER TOGGLE (Hidden on Desktop)
   -------------------------------------------------------------------------- */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(5, 13, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold-subtle);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mobile-brand-text {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--gold-light);
  max-width: 175px;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px;
}

.menu-toggle-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gold-light);
  transition: var(--transition-smooth);
}

.menu-toggle-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   SIDEBAR COMPONENTS: HEADER, NAVIGATION, FOOTER
   -------------------------------------------------------------------------- */
.sidebar-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.brand-emblem-wrap {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.brand-container:hover .brand-emblem-wrap {
  transform: scale(1.08) rotate(4deg);
}

.sidebar-emblem {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(197, 160, 89, 0.3));
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

html[dir="rtl"] .brand-title {
  letter-spacing: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.brand-tagline {
  margin-top: 0.65rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
  letter-spacing: 0.5px;
}

/* Navigation Links */
.sidebar-nav {
  margin: 1.5rem 0;
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--border-gold-subtle);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-radius: 4px;
  position: relative;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .nav-link {
  letter-spacing: 0;
  font-size: 0.92rem;
}

.nav-indicator {
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  margin-right: 0;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .nav-indicator {
  margin-right: 0;
  margin-left: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(197, 160, 89, 0.08);
}

.nav-link.active {
  color: var(--gold-light);
  font-weight: 600;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
  width: 14px;
  margin-right: 10px;
}

html[dir="rtl"] .nav-link:hover .nav-indicator,
html[dir="rtl"] .nav-link.active .nav-indicator {
  margin-right: 0;
  margin-left: 10px;
}

/* Sidebar Footer */
.sidebar-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-gold-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-subtle);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-circle svg {
  width: 14px;
  height: 14px;
}

.social-circle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.12);
  transform: translateY(-2px);
}

.sidebar-copyright {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   HERO FULLSCREEN SLIDER (Matching Bauen Hero Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background-color: var(--navy-deepest);
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--navy-deepest);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s ease-out;
  transform: scale(1.04);
  display: flex;
  align-items: center;
  padding: 0 4rem;
}

.hero-slide:nth-child(1) {
  background-image: var(--bg-image), url('assets/textile_pattern.svg');
}
.hero-slide:nth-child(2) {
  background-image: var(--bg-image), url('assets/carpet_pattern.svg');
}
.hero-slide:nth-child(3) {
  background-image: var(--bg-image), url('assets/furniture_pattern.svg');
}
.hero-slide:nth-child(4) {
  background-image: var(--bg-image), url('assets/apparel_pattern.svg');
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(5, 13, 24, 0.94) 0%, 
    rgba(8, 21, 37, 0.78) 55%, 
    rgba(8, 21, 37, 0.45) 100%
  );
  z-index: 1;
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(
    270deg, 
    rgba(5, 13, 24, 0.94) 0%, 
    rgba(8, 21, 37, 0.78) 55%, 
    rgba(8, 21, 37, 0.45) 100%
  );
}

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

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
}

html[dir="rtl"] .hero-badge {
  letter-spacing: 1px;
}

.badge-line {
  width: 45px;
  height: 2px;
  background: var(--gold-gradient);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.6rem;
  letter-spacing: 2px;
}

html[dir="rtl"] .hero-title {
  font-size: 3.4rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gold-primary);
  color: var(--navy-deepest);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
  transition: var(--transition-smooth);
}

html[dir="rtl"] .btn-primary {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

html[dir="rtl"] .btn-primary:hover .btn-arrow {
  transform: translateX(-4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

html[dir="rtl"] .btn-outline {
  letter-spacing: 0;
  font-size: 0.95rem;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Hero Bottom Navigation & Counter (Matching Bauen Bottom-Left Controls) */
.hero-controls-bar {
  position: absolute;
  bottom: 3.5rem;
  left: 4rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
}

html[dir="rtl"] .hero-controls-bar {
  left: auto;
  right: 4rem;
}

.hero-nav-buttons {
  display: flex;
  gap: 0.75rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 13, 24, 0.6);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-btn:hover {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: var(--navy-deepest);
  transform: scale(1.06);
}

.slide-counter {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 2px;
}

.current-slide {
  color: var(--gold-light);
  font-weight: 700;
}

.counter-separator {
  color: var(--text-muted);
}

.total-slides {
  color: var(--text-muted);
}

.hero-progress-line {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   STANDARD SECTIONS & CONTAINERS
   -------------------------------------------------------------------------- */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.section-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
}

html[dir="rtl"] .section-subtitle {
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.gold-pill-emblem {
  display: inline-flex;
}

.mini-emblem {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}

html[dir="rtl"] .section-title {
  letter-spacing: 0;
  font-size: 2.4rem;
}

.section-title.centered {
  text-align: center;
}

.gold-accent-center {
  width: 70px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 0 auto 3.5rem auto;
}

.gold-accent-bar {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin-top: 1.5rem;
}

.section-desc-light {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION STYLING
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--navy-surface);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

html[dir="rtl"] .editorial-heading {
  font-size: 2.1rem;
}

.about-summary-card {
  background: var(--navy-dark);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-luxury);
}

.company-badge-box {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gold-subtle);
  padding-bottom: 1.25rem;
}

.about-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.about-logo-badge {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex: 0 0 auto;
}

.about-company-name {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.about-text-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

.pillar-card {
  background: var(--navy-dark);
  border: 1px solid var(--border-glass);
  padding: 2.2rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
  position: relative;
}

.pillar-card:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold-glow);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-num {
  opacity: 1;
  color: var(--gold-light);
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.pillar-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Stats Ribbon */
.stats-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy-deepest);
  border: 1px solid var(--border-gold-subtle);
  padding: 2.5rem 3.5rem;
  border-radius: 4px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

html[dir="rtl"] .stat-label {
  letter-spacing: 0;
  font-size: 0.88rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-gold-subtle);
}

/* --------------------------------------------------------------------------
   SERVICES SECTION (01 - 04 Core Divisions)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--navy-dark);
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

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

.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: var(--navy-surface-hover);
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.6;
}

.service-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.service-icon-circle svg {
  width: 24px;
  height: 24px;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-details {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.service-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
}

html[dir="rtl"] .service-link {
  letter-spacing: 0;
  font-size: 0.88rem;
}

.service-link:hover {
  color: var(--text-primary);
  gap: 0.9rem;
}

/* --------------------------------------------------------------------------
   PROJECTS & SHOWCASE SECTION (Filterable Gallery)
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--navy-surface);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.projects-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-tabs-wrapper {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .filter-btn {
  letter-spacing: 0;
  font-size: 0.88rem;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-gold-subtle);
}

.filter-btn.active {
  background: var(--gold-primary);
  color: var(--navy-deepest);
  border-color: var(--gold-primary);
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  transition: var(--transition-smooth);
}

.project-card.hide {
  display: none;
}

.project-img-box {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--navy-deepest);
  border: 1px solid var(--border-glass);
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-box img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 24, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.project-overlay-content {
  text-align: center;
}

.project-cat-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.project-spec {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.btn-quickview {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.btn-quickview:hover {
  background: var(--gold-primary);
  color: var(--navy-deepest);
}

.project-info-under {
  padding: 1rem 0.25rem 0.5rem 0.25rem;
}

.cat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title-label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   CONTACT & INQUIRY SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--navy-dark);
}

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

.contact-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--navy-card);
  border: 1px solid var(--border-gold-subtle);
  padding: 1.5rem;
  border-radius: 4px;
}

.c-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.c-icon-circle svg {
  width: 20px;
  height: 20px;
}

.c-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.c-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

html[dir="rtl"] .c-label {
  letter-spacing: 0;
  font-size: 0.82rem;
}

.c-val {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
}

.c-val:hover {
  color: var(--gold-light);
}

.c-val-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* WhatsApp Card */
.whatsapp-card-box {
  margin-top: 0.5rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #1f6e43 0%, #124d2c 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 1.25rem 1.75rem;
  border-radius: 4px;
  color: #fff;
  transition: var(--transition-smooth);
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.wa-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  fill: #fff;
}

.wa-text-group {
  display: flex;
  flex-direction: column;
}

.wa-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.wa-sub {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Inquiry Form */
.form-wrapper-card {
  background: var(--navy-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  padding: 2.8rem;
  box-shadow: var(--shadow-luxury);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

html[dir="rtl"] .form-group label {
  letter-spacing: 0;
  font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-dark);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.1rem;
  border-radius: 3px;
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--gold-primary);
  color: var(--navy-deepest);
  border: none;
  padding: 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

html[dir="rtl"] .btn-submit {
  letter-spacing: 0;
  font-size: 1rem;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--navy-deepest);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

.form-feedback {
  display: none;
  padding: 0.9rem;
  border-radius: 3px;
  font-size: 0.88rem;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid #4caf50;
  color: #a5d6a7;
}

.form-feedback.error {
  display: block;
  background: rgba(198, 40, 40, 0.2);
  border: 1px solid #f44336;
  color: #ef9a9a;
}

/* --------------------------------------------------------------------------
   FOOTER STYLING
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-deepest);
  border-top: 1px solid var(--border-gold-subtle);
  padding: 5rem 0 2.5rem 0;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
}

.footer-head {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

html[dir="rtl"] .footer-head {
  letter-spacing: 0;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-nav-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   MODALS (PRODUCT QUICKVIEW & VIDEO PLAYER)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--navy-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 6px;
  max-width: 880px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1.25rem;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: var(--navy-deepest);
}

/* Modal Content Injected Styles */
.modal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.modal-info-col {
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-badge {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-specs-list {
  list-style: none;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-specs-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-specs-list li strong {
  color: var(--gold-light);
}

.modal-action-row {
  display: flex;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .about-columns-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  /* Mobile Sidebar Drawer Mode */
  .mobile-topbar {
    z-index: 1002;
  }
  .sidebar-backdrop {
    z-index: 1000;
  }
  .sidebar {
    z-index: 1001;
  }
  .mobile-topbar {
    display: flex;
  }
  .sidebar-backdrop {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  html[dir="rtl"] .sidebar {
    transform: translateX(100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding-top: 70px;
  }

  .hero-section {
    height: calc(100vh - 70px);
  }

  .hero-slide {
    padding: 0 2rem;
  }

  .hero-controls-bar {
    bottom: 2rem;
    left: 2rem;
  }

  html[dir="rtl"] .hero-controls-bar {
    left: auto;
    right: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-head-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-columns-row {
    grid-template-columns: 1fr;
  }

  .stats-ribbon {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .modal-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  html[dir="rtl"] .hero-title {
    font-size: 2.2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}



/* صور مجموعة شركة سمرقند لاستيراد السجاد والمنسوجات */
.collection-photo-section {
  background: var(--navy-surface);
  border-top: 1px solid var(--border-gold-subtle);
}

.collection-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-photo-card {
  overflow: hidden;
  background: var(--navy-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 4px;
  box-shadow: var(--shadow-luxury);
}

.collection-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-photo-card:hover img {
  transform: scale(1.04);
}

.collection-photo-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem 1rem;
  text-align: right;
}

.collection-photo-card figcaption strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.collection-photo-card figcaption span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.contact-phone-numbers {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  direction: ltr;
  justify-content: flex-end;
}

.contact-phone-numbers a {
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .collection-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .collection-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .collection-photo-grid { grid-template-columns: 1fr; }
}
