/* ===========================
   MANSOUR AL-DHUWAIBI PORTFOLIO
   Arabic RTL — Dark / Luxury / Cinematic
   =========================== */

:root {
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --dark-card: #141414;
  --gold: #C4A24E;
  --gold-light: #D4B87A;
  --gold-dim: rgba(196, 162, 78, 0.15);
  --white: #FFFFFF;
  --stone: #8C8378;
  --warm-gray: #B5ADA5;
  --cream: #F5F3F0;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Selection */
::selection {
  background: var(--gold);
  color: var(--black);
}

/* ===========================
   PRELOADER
   =========================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 200px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-text {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--stone);
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

/* ===========================
   NAVIGATION
   =========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 0;
  transition: padding 0.4s ease, background 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  padding: 10px 0;
  background: rgba(13, 13, 13, 0.97);
  border-bottom: 1px solid rgba(196, 162, 78, 0.1);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 126px;
  transition: height 0.3s ease;
}

#navbar.scrolled .nav-logo img {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

/* Language Toggle */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(196, 162, 78, 0.5);
  border-radius: 20px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 12px;
}

.lang-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
}

.lang-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.lang-toggle:hover .lang-text {
  color: var(--black);
}

/* English mode adjustments */
html[dir="ltr"] .nav-links a::after {
  right: auto;
  left: 0;
}

html[dir="ltr"] .about-text .section-label,
html[dir="ltr"] .about-text .section-title {
  text-align: left;
}

html[dir="ltr"] .nav-links {
  left: auto;
  right: -100%;
  border-right: none;
  border-left: 1px solid #222;
}

html[dir="ltr"] .nav-links.open {
  right: 0;
  left: auto;
}

html[dir="ltr"] .hero-frame-tl {
  right: auto;
  left: 60px;
  border-width: 1px 0 0 1px;
}

html[dir="ltr"] .hero-frame-br {
  left: auto;
  right: 60px;
  border-width: 0 1px 1px 0;
}

html[dir="ltr"] .float-whatsapp {
  left: auto;
  right: 30px;
}

html[dir="ltr"] .float-top {
  right: auto;
  left: 30px;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

html[dir="ltr"] #hero {
  justify-content: flex-start;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 10s ease-out;
}

.hero-bg-image.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.8) 0%,
    rgba(13, 13, 13, 0.7) 40%,
    rgba(13, 13, 13, 0.85) 100%
  );
  z-index: 1;
}

/* Decorative frames */
.hero-frame {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 2;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.3;
}
.hero-frame-tl {
  top: 60px;
  right: 60px;
  border-width: 1px 1px 0 0;
}
.hero-frame-br {
  bottom: 60px;
  left: 60px;
  border-width: 0 0 1px 1px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-right: 8%;
  max-width: 600px;
  margin-right: 0;
  margin-left: auto;
}

html[dir="ltr"] .hero-content {
  text-align: left;
  align-items: flex-start;
  padding-right: 0;
  padding-left: 8%;
  margin-left: 0;
  margin-right: auto;
}

.hero-logo {
  width: clamp(280px, 40vw, 450px);
  margin-bottom: 16px;
}

.hero-tagline {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--warm-gray);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-location {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.hero-cta {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 42px;
  border-radius: 4px;
  transition: all 0.4s ease;
  letter-spacing: 0.3px;
}

.hero-cta.primary {
  background: var(--gold);
  color: var(--black);
}

.hero-cta.primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 162, 78, 0.3);
}

.hero-cta.secondary {
  border: 1px solid rgba(196, 162, 78, 0.5);
  color: var(--gold);
}

.hero-cta.secondary:hover {
  border-color: var(--gold);
  background: rgba(196, 162, 78, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--stone);
}

.scroll-arrow {
  width: 1px;
  height: 28px;
  background: var(--gold);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* Fade-in Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   SECTION COMMON
   =========================== */
.section-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--white);
}

.section-subtitle {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  color: var(--warm-gray);
  margin-top: 10px;
  font-weight: 300;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PORTFOLIO SECTION
   =========================== */
#portfolio {
  padding: 120px 0 80px;
  background: var(--black);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid #333;
  border-radius: 30px;
  color: var(--stone);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.6s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.1) 0%, rgba(13,13,13,0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 30px 20px;
  gap: 6px;
}

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

.portfolio-category {
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 500;
}

.portfolio-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  text-align: center;
}

.portfolio-arrow {
  color: var(--gold);
  margin-top: 4px;
}

.portfolio-arrow svg {
  width: 18px;
  height: 18px;
}

.portfolio-play {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 8px;
  transition: all 0.3s;
}

.portfolio-play:hover {
  background: var(--gold);
  color: var(--black);
}

.load-more-wrap {
  text-align: center;
  margin-top: 50px;
}

.load-more-btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 44px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 40px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

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

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  margin-top: 16px;
  font-family: 'Tajawal', sans-serif;
  font-size: 18px;
  color: var(--warm-gray);
}

/* Lightbox Swipe Area */
.lightbox-swipe-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 90vw;
  touch-action: pan-y pinch-zoom;
}

.lightbox-img {
  transition: opacity 0.15s ease, transform 0.15s ease;
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

/* Lightbox Navigation Arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0;
  line-height: 1;
}

.lightbox-nav:active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-50%) scale(0.9);
}

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

.lightbox-prev {
  right: 8px;
}

.lightbox-next {
  left: 8px;
}

.lightbox-counter {
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.5);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* ===========================
   ABOUT SECTION
   =========================== */
#about {
  padding: 120px 0 60px;
  background: var(--charcoal);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 6px;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--black);
  padding: 16px 24px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.about-image-badge span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.about-image-badge small {
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.about-text .section-label {
  text-align: right;
}

.about-text .section-title {
  text-align: right;
  margin-bottom: 8px;
}

.about-accent-line {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 24px;
  border-radius: 2px;
}

.about-text p {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  line-height: 2;
  color: var(--warm-gray);
  margin-bottom: 14px;
}

.about-text strong {
  color: var(--white);
}

.about-equipment {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.equip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #2a2a2a;
  border-radius: 30px;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--warm-gray);
}

.equip-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* ===========================
   STATS BAR
   =========================== */
#stats {
  padding: 80px 0;
  background: var(--black);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-icon svg {
  width: 36px;
  height: 36px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 700;
  color: var(--gold);
  display: inline;
}

.stat-plus {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  color: var(--stone);
  margin-top: 6px;
}

/* ===========================
   SERVICES SECTION
   =========================== */
#services {
  padding: 120px 0 100px;
  background: var(--charcoal);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 162, 78, 0.3);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--gold-dim);
  border-radius: 12px;
}

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

.service-card h3 {
  font-family: 'Tajawal', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--stone);
}

/* ===========================
   CLIENTS SECTION
   =========================== */
#clients {
  padding: 100px 0;
  background: var(--black);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.client-card {
  background: var(--dark-card);
  border: 1px solid #1e1e1e;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.client-card:hover {
  border-color: rgba(196, 162, 78, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(196, 162, 78, 0.08), 0 4px 12px rgba(0,0,0,0.3);
  background: linear-gradient(145deg, #1a1a1a, #141414);
}

.client-card:hover::before {
  opacity: 1;
}

.client-logo {
  width: 100%;
  max-width: 120px;
  height: 70px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7) opacity(0.6);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-card:hover .client-logo img {
  filter: grayscale(0%) brightness(1) opacity(1);
  transform: scale(1.08);
}

/* Glow effect on hover */
.client-logo::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,78,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.client-card:hover .client-logo::after {
  opacity: 1;
}

.client-card h4 {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.client-card:hover h4 {
  color: var(--gold);
}

.client-card span {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  color: var(--stone);
  transition: color 0.3s ease;
}

.client-card:hover span {
  color: var(--warm-gray);
}

/* ===========================
   CONTACT SECTION
   =========================== */
#contact {
  padding: 120px 0 80px;
  background: var(--charcoal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.contact-detail strong {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  color: var(--warm-gray);
  transition: color 0.3s;
}

.contact-detail a:hover {
  color: var(--gold);
}

.contact-detail small {
  display: block;
  font-size: 12px;
  color: var(--stone);
  margin-top: 4px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 30px;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  color: var(--stone);
  transition: all 0.3s ease;
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

/* PNG Icons */
.social-png-icon {
  width: 18px;
  height: 18px;
  filter: invert(0.6);
  transition: filter 0.3s ease;
}

.social-btn:hover .social-png-icon {
  filter: invert(1);
}

.contact-png-icon {
  width: 20px;
  height: 20px;
  filter: invert(0.75) sepia(1) saturate(2) hue-rotate(10deg) brightness(0.9);
}

.footer-png-icon {
  width: 16px;
  height: 16px;
  filter: invert(0.5);
  transition: filter 0.3s ease;
}

.footer-socials a:hover .footer-png-icon {
  filter: invert(0.75) sepia(1) saturate(2) hue-rotate(10deg) brightness(0.9);
}

.social-btn.instagram:hover {
  border-color: #E1306C;
  color: #E1306C;
  background: rgba(225, 48, 108, 0.1);
}

.social-btn.whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
}

.social-btn.x-twitter:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.social-btn.tiktok:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--dark-card);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: var(--white);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  color: #555;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

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

.submit-btn {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  background: var(--gold);
  border: none;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn svg {
  width: 18px;
  height: 18px;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 162, 78, 0.3);
}

.form-success {
  display: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--gold);
  padding: 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  text-align: center;
  background: var(--gold-dim);
}

.form-success.show {
  display: block;
}

/* ===========================
   FOOTER
   =========================== */
#footer {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
  border-bottom: 1px solid #1a1a1a;
}

.footer-logo {
  height: 120px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  color: var(--stone);
  line-height: 1.8;
}

.footer-nav h4,
.footer-social h4 {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-nav a {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 10px;
  transition: color 0.3s;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  color: #444;
}

/* ===========================
   MEDIA TABS (Photos / Videos)
   =========================== */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.media-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid #333;
  border-radius: 30px;
  color: var(--stone);
  cursor: pointer;
  transition: all 0.3s ease;
}

.media-tab svg {
  width: 18px;
  height: 18px;
}

.media-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.media-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Media Panels */
.media-panel {
  display: none;
}

.media-panel.active {
  display: block;
}

/* ===========================
   VIDEO GRID
   =========================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-item {
  background: var(--dark-card);
  border: 1px solid #222;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-item:hover {
  border-color: rgba(196, 162, 78, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-item:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(196, 162, 78, 0.85);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-item:hover .video-play-btn {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-item h3 {
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  padding: 16px 18px 6px;
}

.video-item span {
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  color: var(--stone);
  padding: 0 18px 16px;
}

/* Video Lightbox */
.video-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-content {
  width: 92%;
  max-width: 1000px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox-content video {
  width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  background: #000;
  outline: none;
  display: block;
  -webkit-tap-highlight-color: transparent;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.video-close-btn {
  top: 15px;
  left: 15px;
  right: auto;
  font-size: 36px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  z-index: 10001;
}

/* ===========================
   FLOATING BUTTONS
   =========================== */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(196, 162, 78, 0.4);
  transition: all 0.3s ease;
}

.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(196, 162, 78, 0.5);
}

.float-whatsapp img {
  width: 28px;
  height: 28px;
  filter: brightness(0);
}

.float-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  color: var(--black);
  box-shadow: 0 4px 20px rgba(196, 162, 78, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(196, 162, 78, 0.5);
}

.float-top svg {
  width: 22px;
  height: 22px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 400px; }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .lang-toggle { margin-right: 8px; padding: 5px 12px; }

  html[dir="ltr"] .float-whatsapp { right: 20px; }
  html[dir="ltr"] .float-top { left: 20px; }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: left 0.4s ease;
    border-right: 1px solid #222;
  }

  .nav-links.open { left: 0; }

  .nav-links a { font-size: 16px; }

  .hero-logo { width: 220px; }
  .hero-frame { display: none; }
  .hero-content { padding-right: 5%; padding-left: 5%; max-width: 100%; }
  html[dir="ltr"] .hero-content { padding-right: 5%; padding-left: 5%; }

  .section-container { padding: 0 24px; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
  .video-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }

  /* Video lightbox mobile */
  .video-lightbox-content { width: 100%; padding: 0; border-radius: 0; }
  .video-lightbox-content video { border-radius: 0; max-height: 70vh; }
  .video-close-btn { top: 10px; left: 10px; font-size: 30px; width: 40px; height: 40px; background: rgba(0,0,0,0.7); }
  .video-play-btn { width: 50px; height: 50px; }
  .video-play-btn svg { width: 24px; height: 24px; }
  .video-item h3 { font-size: 14px; padding: 12px 14px 4px; }
  .video-item span { font-size: 11px; padding: 0 14px 12px; }

  /* Image lightbox mobile */
  .lightbox-close { top: 12px; left: 12px; font-size: 28px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); border-radius: 50%; }
  .lightbox-swipe-area { max-width: 100vw; }
  .lightbox-img { max-width: 94vw; max-height: 70vh; }
  .lightbox-nav { width: 52px; height: 52px; }
  .lightbox-nav svg { width: 18px; height: 18px; }
  .lightbox-prev { right: 10px; }
  .lightbox-next { left: 10px; }
  .lightbox-counter { font-size: 12px; }

  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number, .stat-plus { font-size: 38px; }
  .stat-icon svg { width: 28px; height: 28px; }

  .float-whatsapp { bottom: 20px; left: 20px; width: 50px; height: 50px; }
  .float-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

  .media-tab { padding: 10px 22px; font-size: 13px; }

  .footer-container { padding: 0 24px; }

  .filter-buttons { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 12px; }

  .about-text .section-label,
  .about-text .section-title {
    text-align: center;
  }
  .about-accent-line { margin: 0 auto 24px; }
  .about-equipment { justify-content: center; }
  .about-image-badge { left: auto; right: -10px; }

  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-cta { text-align: center; }

  .social-links { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 20px; }
  .hero-tagline { font-size: 14px; }
  .hero-cta { font-size: 14px; padding: 14px 32px; }

  /* Video on small mobile */
  .video-lightbox-content video { max-height: 60vh; }
  .video-grid { gap: 10px; }
  .video-play-btn { width: 44px; height: 44px; }
  .video-play-btn svg { width: 20px; height: 20px; }
}
