/* ============================================================
   TAHWISSA — El M'Ghair Eco-Tourism  |  Mobile-First CSS
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* --- Variables --- */
:root {
  --green-deep:  #1B4332;
  --green-main:  #2D6A4F;
  --green-mid:   #3A8A64;
  --green-light: #52B788;
  --green-pale:  #D8F3DC;
  --gold:        #C9A84C;
  --gold-light:  #E9C98C;
  --gold-pale:   #FDF5E0;
  --sand:        #C4956A;
  --sand-light:  #EDD9C0;
  --cream:       #FAFAF5;
  --white:       #FFFFFF;
  --dark:        #0F1C17;
  --text:        #1E2D26;
  --text-muted:  #6B7C74;
  --border:      #E0EBE4;

  --font: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --shadow-sm:   0 2px 12px rgba(27,67,50,.07);
  --shadow:      0 6px 28px rgba(27,67,50,.10);
  --shadow-lg:   0 16px 56px rgba(27,67,50,.14);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --max-w:       1200px;
  --nav-h:       64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea { font-family: var(--font); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 560px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,106,79,.35);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45,106,79,.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--green-main);
  border: 2px solid var(--green-main);
}
.btn-ghost:hover { background: var(--green-main); color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo .logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.nav.scrolled .nav-logo { color: var(--green-deep); }

/* Desktop links (hidden on mobile) */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--green-main); background: var(--green-pale); }

/* Right side: lang + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 3px;
  transition: var(--transition);
}
.nav.scrolled .lang-switcher { background: var(--border); }
.lang-switcher a {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  padding: 5px 10px;
  border-radius: 100px;
  transition: var(--transition);
}
.nav.scrolled .lang-switcher a { color: var(--text-muted); }
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--white);
  color: var(--green-deep) !important;
}
.hamburger {
  width: 40px; height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  transition: var(--transition);
}
.nav.scrolled .hamburger { background: var(--border); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 24px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
[dir="rtl"] .mobile-menu { transform: translateX(-100%); }
[dir="rtl"] .mobile-menu.open { transform: translateX(0); }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-menu nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu nav a::after { content: '›'; color: var(--text-muted); font-size: 1.4rem; }
[dir="rtl"] .mobile-menu nav a::after { content: '‹'; }
.mobile-menu nav a:hover { color: var(--green-main); padding-inline-start: 8px; }

.mobile-lang {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.mobile-lang a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-lang a.active,
.mobile-lang a:hover {
  border-color: var(--green-main);
  background: var(--green-pale);
  color: var(--green-deep);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 0 0;
}

/* Gradient background — desert sunset palette */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(15,28,23,.92) 0%,
      rgba(27,67,50,.80) 40%,
      rgba(45,106,79,.55) 65%,
      rgba(201,168,76,.40) 85%,
      rgba(139,94,60,.60) 100%),
    linear-gradient(to bottom right, #0F1C17, #2D6A4F 50%, #C9A84C);
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
}
.hero-shape-1 {
  width: 500px; height: 500px;
  background: var(--gold);
  top: -100px; right: -150px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--green-light);
  bottom: -80px; left: -100px;
}
.hero-shape-3 {
  width: 250px; height: 250px;
  background: var(--sand);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 120px;
  max-width: 680px;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-location::before {
  content: '📍';
  font-size: 1rem;
}
.hero-title {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-title span {
  color: var(--gold-light);
  position: relative;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-stats-inner {
  display: flex;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-inline-end: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-inline-end: none; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  letter-spacing: .05em;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 120px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 40%, #52B788 70%, #C9A84C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-visual-inner {
  text-align: center;
  color: var(--white);
}
.about-visual-icon {
  font-size: 5rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.2));
  margin-bottom: 12px;
}
.about-visual-label {
  font-size: 1rem;
  font-weight: 700;
  opacity: .85;
  letter-spacing: .05em;
}
.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--green-deep);
}
.badge::before { content: '✓'; }
.about-text .section-desc { max-width: 100%; }
.about-cta { margin-top: 28px; }

/* Decorative card */
.about-card {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
[dir="rtl"] .about-card { right: auto; left: -16px; }
.about-card-icon { font-size: 1.5rem; }
.about-card-num { font-size: 1.2rem; font-weight: 900; color: var(--green-main); display: block; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 80px 0;
  background: var(--cream);
}
.features-header { text-align: center; margin-bottom: 48px; }
.features-header .section-desc { margin: 12px auto 0; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-main), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
[dir="rtl"] .feat-card::before { transform-origin: right; }
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feat-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.feat-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.feat-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ECO COMMITMENT
   ============================================================ */
.eco {
  padding: 80px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.eco::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(82,183,136,.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(201,168,76,.10) 0%, transparent 60%);
}
.eco-inner {
  position: relative;
  z-index: 1;
}
.eco-header { text-align: center; margin-bottom: 56px; }
.eco-header .section-label { background: rgba(82,183,136,.2); color: var(--green-light); }
.eco-header .section-title { color: var(--white); }
.eco-header .section-desc { color: rgba(255,255,255,.65); margin: 12px auto 0; }
.eco-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.eco-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}
.eco-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.eco-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(82,183,136,.2);
  border-radius: var(--radius-sm);
}
.eco-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.eco-card-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
.eco-cta-wrap { text-align: center; }
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  font-weight: 800;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,.5); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 80px 0;
  background: var(--white);
}
.gallery-header { text-align: center; margin-bottom: 40px; }
.gallery-header .section-desc { margin: 12px auto 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-item:nth-child(1) { aspect-ratio: 2/1; grid-column: span 2; }
.gallery-item:nth-child(4) { aspect-ratio: 2/1; grid-column: span 2; }
.gallery-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.gallery-item:hover .gallery-bg { transform: scale(1.07); }

/* Gradient themes for each photo placeholder */
.gallery-item:nth-child(1) .gallery-bg {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #52B788 100%);
}
.gallery-item:nth-child(2) .gallery-bg {
  background: linear-gradient(135deg, #C4956A 0%, #C9A84C 60%, #E9C98C 100%);
}
.gallery-item:nth-child(3) .gallery-bg {
  background: linear-gradient(135deg, #74B3CE 0%, #A8D5E2 50%, #E0F4F8 100%);
}
.gallery-item:nth-child(4) .gallery-bg {
  background: linear-gradient(135deg, #8B3A0F 0%, #C9602A 40%, #E9A87C 70%, #F4C88C 100%);
}
.gallery-item:nth-child(5) .gallery-bg {
  background: linear-gradient(135deg, #3D2B1F 0%, #8B5E3C 50%, #C4956A 100%);
}
.gallery-item:nth-child(6) .gallery-bg {
  background: linear-gradient(135deg, #0A0A1A 0%, #1A1A4A 50%, #4A3A8A 80%, #8A6AC8 100%);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label-text {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
}

/* Gallery icon overlay (visible without hover) */
.gallery-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: .35;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 80px 0;
  background: var(--cream);
}
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.contact-info-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.contact-info-value {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #52B788 100%);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 600;
  gap: 8px;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--green-main);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,106,79,.1);
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
}
.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--green-main);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .03em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.form-submit:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(45,106,79,.35); }
.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  color: var(--green-deep);
  font-weight: 700;
  font-size: .92rem;
  margin-top: 12px;
}
.form-success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--green-main); color: var(--white); }
.footer-col-title {
  font-size: .8rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--gold); }
[dir="rtl"] .footer-links a::before { content: '‹'; }
.footer-links a:hover { color: var(--white); padding-inline-start: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-made { font-size: .78rem; color: var(--gold); }

/* ============================================================
   ANIMATIONS / REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   TABLET (≥ 640px)
   ============================================================ */
@media (min-width: 640px) {
  .hero-content { padding: 100px 40px 140px; }
  .form-row { flex-direction: row; }
  .eco-grid { flex-direction: row; flex-wrap: wrap; }
  .eco-card { flex: 1 1 calc(50% - 12px); }
  .gallery-grid { gap: 16px; }
  .contact-info-list { flex-direction: row; flex-wrap: wrap; }
  .contact-info-item { flex: 1 1 calc(50% - 8px); }
}

/* ============================================================
   DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  :root { --nav-h: 72px; }

  .nav { padding: 0 40px; }
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }

  .container { padding: 0 40px; }

  /* Hero */
  .hero-content { padding: 120px 40px 160px; max-width: 700px; }
  .hero-title { font-size: clamp(3rem, 5vw, 4.5rem); }
  .hero-stats { padding: 0 40px; }
  .hero-stats-inner { border-radius: 24px 24px 0 0; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: .8rem; }
  .stat-item { padding: 24px 24px; }
  .scroll-hint { bottom: 160px; }

  /* About */
  .about { padding: 100px 0; }
  .about-grid {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
  .about-visual { flex: 1; aspect-ratio: 1; max-width: 480px; }
  .about-text { flex: 1; }

  /* Features */
  .features { padding: 100px 0; }
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .feat-card { padding: 36px 24px; }
  .feat-icon { font-size: 3rem; margin-bottom: 18px; }
  .feat-title { font-size: 1rem; }
  .feat-desc { font-size: .88rem; }

  /* Eco */
  .eco { padding: 100px 0; }
  .eco-grid { flex-direction: row; gap: 24px; flex-wrap: nowrap; }
  .eco-card { flex: 1; }

  /* Gallery */
  .gallery { padding: 100px 0; }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 4/3; }
  .gallery-item:nth-child(4) { grid-column: span 1; aspect-ratio: 1; }
  .gallery-icon { font-size: 4rem; }

  /* Contact */
  .contact { padding: 100px 0; }
  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
  .contact-info { flex: 1; }
  .contact-form { flex: 1.4; padding: 40px; }
  .contact-info-list { flex-direction: column; }
  .contact-info-item { flex: unset; }

  /* Footer */
  .footer-grid {
    flex-direction: row;
    gap: 48px;
  }
  .footer-brand { flex: 1.5; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   RTL SPECIFIC
   ============================================================ */
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] .feat-card::before { transform-origin: right; }
[dir="rtl"] .about-card { right: auto; left: -16px; }
[dir="rtl"] .hero-content { margin-inline-end: auto; }

/* Ensure Arabic text looks great */
[dir="rtl"] body { font-size: 15px; }
[dir="rtl"] .hero-title { font-size: clamp(2rem, 7vw, 3.8rem); }
[dir="rtl"] .section-title { font-size: clamp(1.5rem, 5vw, 2.4rem); }
[dir="rtl"] .nav-links a { font-size: .92rem; }

/* ============================================================
   ACCESSIBILITY & MISC
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--green-main);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--green-pale); color: var(--green-deep); }
