/* ==========================================================================
   Al-Riyadh Curtains & Majlis - Premium Luxury Design System
   Riyadh, Saudi Arabia | UI/UX Pro Max Edition
   ========================================================================== */

:root {
  /* Color Tokens - Dark / Luxury Gold (Default) */
  --bg-primary: #0a0c10;
  --bg-secondary: #12161f;
  --bg-card: rgba(20, 25, 35, 0.75);
  --bg-card-hover: rgba(26, 33, 46, 0.95);
  --bg-glass: rgba(14, 18, 25, 0.88);
  --border-color: rgba(212, 175, 55, 0.22);
  --border-glow: rgba(212, 175, 55, 0.55);

  --text-primary: #f8f9fa;
  --text-secondary: #b8c1cf;
  --text-muted: #7e889b;

  --gold-primary: #d4af37;
  --gold-light: #f7e7a9;
  --gold-dark: #aa7c11;
  --gold-gradient: linear-gradient(135deg, #f7e7a9 0%, #d4af37 50%, #aa7c11 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #f7e7a9 40%, #d4af37 100%);

  --whatsapp-green: #25d366;
  --whatsapp-hover: #1eb956;
  --phone-blue: #3b82f6;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-latin: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #fbf9f5;
  --bg-secondary: #f2eee6;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-color: rgba(180, 140, 50, 0.25);
  --border-glow: rgba(180, 140, 50, 0.6);

  --text-primary: #15181e;
  --text-secondary: #4a5262;
  --text-muted: #7b8495;

  --gold-primary: #b8860b;
  --gold-light: #dfb75c;
  --gold-dark: #8c6505;
  --gold-gradient: linear-gradient(135deg, #dfb75c 0%, #b8860b 50%, #8c6505 100%);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 36px rgba(184, 134, 11, 0.12);
  --shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.18);
}

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

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

body {
  font-family: var(--font-latin);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}


/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

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

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0d11 !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   Full-Width Luxury Header & Responsive Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all var(--transition-smooth);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.site-header.scrolled {
  background: rgba(10, 12, 16, 0.95);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .site-header {
  background: rgba(251, 249, 245, 0.92);
  border-bottom: 1px solid rgba(180, 140, 50, 0.2);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(251, 249, 245, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Full Width Header Container */
.header-container {
  width: 100%;
  max-width: 100%;
  padding: 0 2.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Clean Brand Logo without redundant text */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.05);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.2;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Navigation Menu - Clean, Horizontal, No Wrapping */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0.2rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

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

/* Controls Cluster */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Icon Buttons: Theme & Lang */
.control-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  height: 40px;
  padding: 0 0.9rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.control-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.theme-toggle-btn {
  width: 40px;
  padding: 0;
}

.lang-toggle-btn {
  font-size: 0.88rem;
}

.lang-toggle-btn i {
  color: var(--gold-primary);
  font-size: 1rem;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hamburger-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Mobile & Tablet Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  z-index: 1100;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  visibility: hidden;
}

html[dir="rtl"] .mobile-drawer {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border-color);
  transform: translateX(-100%);
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

html[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}


.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.drawer-links a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.drawer-links a:hover, .drawer-links a.active {
  color: var(--gold-primary);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

/* ==========================================================================
   Hero Section - Luxury Cinematic Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.65) 45%, rgba(8, 10, 14, 0.25) 100%);
  z-index: 1;
}

html[dir="rtl"] .hero-overlay {
  background: linear-gradient(270deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.65) 45%, rgba(8, 10, 14, 0.25) 100%);
}

[data-theme="light"] .hero-overlay {
  background: linear-gradient(90deg, rgba(15, 18, 25, 0.82) 0%, rgba(15, 18, 25, 0.55) 45%, rgba(15, 18, 25, 0.2) 100%);
}

html[dir="rtl"][data-theme="light"] .hero-overlay {
  background: linear-gradient(270deg, rgba(15, 18, 25, 0.82) 0%, rgba(15, 18, 25, 0.55) 45%, rgba(15, 18, 25, 0.2) 100%);
}

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

.hero-content .gold-badge {
  background: rgba(10, 12, 16, 0.65);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-desc {
  font-size: 1.22rem;
  color: #f1f5f9;
  margin-bottom: 2.25rem;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  max-width: 720px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  padding-top: 2rem;
}

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

.stat-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}


/* ==========================================================================
   Services Section with Photos on Every Card
   ========================================================================== */
.services-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.service-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #151922;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-card-img-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

html[dir="rtl"] .service-card-img-badge {
  right: auto;
  left: 1rem;
}

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

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.service-title {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features li i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   Why Choose Us & Feature Cards
   ========================================================================== */
.why-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.feature-box:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Fabrics Showcase Section
   ========================================================================== */
.fabrics-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.fabric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.fabric-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.fabric-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.fabric-body {
  padding: 1.5rem;
}

.fabric-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.fabric-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.testi-stars {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testi-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.testi-author {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-primary);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.75rem;
  text-align: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question i {
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Riyadh Districts Coverage Banner
   ========================================================================== */
.districts-section {
  padding: 5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.districts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.district-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.district-tag i {
  color: var(--gold-primary);
}

/* ==========================================================================
   Portfolio Gallery & Lightbox
   ========================================================================== */
.portfolio-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0b0d11;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-smooth);
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-tag {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.portfolio-caption {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

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

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-primary);
  font-size: 1.05rem;
  text-align: center;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--gold-primary);
  color: #000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

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

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

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

.team-photo-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #141720;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.05);
}

.team-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

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

.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.team-pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact & Quote Form
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}

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

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-color);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-content p, .info-content a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.75rem;
  backdrop-filter: blur(12px);
}

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

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  color: var(--text-primary);
  font-size: 0.98rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Call)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

html[dir="rtl"] .floating-actions {
  right: auto;
  left: 2rem;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  position: relative;
}

.floating-btn.whatsapp-float {
  background: var(--whatsapp-green);
}

.floating-btn.phone-float {
  background: var(--phone-blue);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.floating-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid currentColor;
  opacity: 0.4;
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.2rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

html[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints - Optimized for PC, Tablet & Mobile
   ========================================================================== */
@media (max-width: 992px) {
  .header-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .nav-links, .nav-controls .btn-gold {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

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

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

@media (max-width: 640px) {
  .header-container {
    padding: 0 0.85rem;
    gap: 0.4rem;
  }

  .brand-logo {
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1.02rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-controls {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .control-btn {
    height: 36px;
    padding: 0 0.65rem;
    font-size: 0.82rem;
  }

  .theme-toggle-btn {
    width: 36px;
    padding: 0;
  }

  .hamburger-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2.05rem;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .services-grid, .portfolio-grid, .team-grid, .features-grid, .fabrics-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  html[dir="rtl"] .floating-actions {
    left: 1.25rem;
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 0.92rem;
  }

  .lang-toggle-btn {
    padding: 0 0.5rem;
  }

  .lang-toggle-btn .lang-label {
    font-size: 0.76rem;
  }
}

