/* ============================================================
   Al Azhar Tex — Global Stylesheet
   "Where the Nile's light meets the gleam of satin rolls"
   Crafted with love for Shady Anwar & the Zagazig gallery
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Tajawal:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&display=swap');

/* ── CSS Custom Properties — the soul of the palette ───────── */
:root {
  /* Gold: the shimmer of Zagazig's finest satin rolls */
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-deep:   #9A7530;

  /* Ink: the depth of luxe fabric store walls */
  --ink:         #0F0D0A;
  --ink-mid:     #1E1A14;
  --ink-soft:    #2E2820;

  /* Ivory: the raw uncut bolt before dyeing */
  --ivory:       #F5F0E6;
  --ivory-warm:  #EDE5D5;
  --ivory-deep:  #D4C9B0;

  /* Accents: Egyptian sunset hues */
  --crimson:     #8B2635;
  --sand:        #B8A082;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Tajawal', 'Segoe UI', sans-serif;
  --font-italic:  'Cormorant Garamond', Georgia, serif;

  /* Spacing rhythm */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container:   1320px;

  /* Transitions */
  --ease-silk:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-drape: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--ink);
  color: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  /* Subtle textile weave: a fine hatch pattern like linen canvas */
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(201,168,76,0.03) 2px,
      rgba(201,168,76,0.03) 4px
    );
}

/* ── Textile Weave Texture (SVG) — the soul of every surface ─ */
.weave-bg {
  position: relative;
}
.weave-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Crect x='0' y='0' width='1' height='10'/%3E%3Crect x='10' y='10' width='1' height='10'/%3E%3Crect x='0' y='0' width='10' height='1'/%3E%3Crect x='10' y='10' width='10' height='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Scrollbar — gold on ink ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink-mid); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }

/* ── Selection — fabric dipped in gold ───────────────────── */
::selection { background: var(--gold); color: var(--ink); }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease-silk); }

/* ── Utility Classes ─────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

.gold-text    { color: var(--gold); }
.ivory-text   { color: var(--ivory); }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.arabic-sub {
  font-family: var(--font-body);
  font-size: 0.85em;
  color: var(--gold);
  opacity: 0.8;
  direction: rtl;
  display: block;
  margin-top: 0.25rem;
}

.divider-gold {
  width: 4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.4s var(--ease-drape);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-drape);
}
.btn:hover::after { transform: translateX(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.35);
}

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

/* ── Navigation ──────────────────────────────────────────── */
/* A bar that feels like the velvet rope at a luxury textile showroom */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s var(--ease-silk);
}

#navbar.scrolled {
  background: rgba(15, 13, 10, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-ar {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  direction: rtl;
}
.nav-logo .logo-en {
  font-family: var(--font-italic);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivory-deep);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-silk);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.4rem !important;
  font-size: 0.72rem !important;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.3s var(--ease-silk);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,5,0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--ivory);
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--ivory);
  background: none;
  border: none;
}

/* ── Hero Section ─────────────────────────────────────────── */
/* The grand entrance — like stepping into the Zagazig showroom */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(15,13,10,0.92) 0%,
      rgba(30,26,20,0.75) 40%,
      rgba(15,13,10,0.88) 100%
    ),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=90&auto=format&fit=crop')
    center/cover no-repeat;
}

/* Animated fabric fold effect — shimmer like chiffon in sunlight */
.hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201,168,76,0.06) 50%,
    transparent 60%
  );
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50%       { transform: translateX(100%); }
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-drape) forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--gold);
}
.hero-eyebrow span {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.hero h1 {
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease-drape) forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--font-italic);
}

.hero-arabic {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--ivory-deep);
  direction: rtl;
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s var(--ease-drape) forwards;
}

.hero-desc {
  max-width: 520px;
  color: var(--ivory-deep);
  font-weight: 300;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s var(--ease-drape) forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s var(--ease-drape) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeIn 1s 1.5s ease forwards;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* ── Announcement Strip ───────────────────────────────────── */
/* Like the hand-written signs in the Zagazig fabric souk */
.announcement-strip {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  color: var(--ink);
  padding: 0.7rem 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 4rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.strip-track span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.strip-track .ar {
  font-family: var(--font-body);
  font-size: 0.85rem;
  direction: rtl;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section: New Arrivals ────────────────────────────────── */
.new-arrivals {
  padding: var(--section-pad) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title-wrap { flex: 1; }

/* ── Product Cards ────────────────────────────────────────── */
/* Each card: a bolt of fabric standing upright in the gallery */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-mid);
  border: 1px solid rgba(201,168,76,0.12);
  transition: all 0.4s var(--ease-drape);
  cursor: pointer;
  group: true;
}
.product-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
}

.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-drape);
}
.product-card:hover .product-card-img img {
  transform: scale(1.07);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  z-index: 2;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,13,10,0.9) 0%, transparent 60%);
  z-index: 1;
}

.product-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 3;
  transform: translateY(0);
  transition: transform 0.4s var(--ease-drape);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.3;
}
.product-card-arabic {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold);
  direction: rtl;
  margin-top: 0.2rem;
}
.product-card-type {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.5rem;
}

.product-card-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-drape);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-card:hover .product-card-action {
  opacity: 1;
  transform: translateY(0);
}

/* ── Filter Tabs ──────────────────────────────────────────── */
/* Like the category dividers in a fabric archive */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: 0.55rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(201,168,76,0.25);
  background: transparent;
  color: var(--ivory-deep);
  cursor: pointer;
  transition: all 0.3s var(--ease-silk);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ── Trending Section ─────────────────────────────────────── */
/* Hot off the Egyptian Instagram fabric reels */
.trending {
  padding: var(--section-pad) 0;
  background: var(--ink-mid);
  position: relative;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
}
.trending-item {
  background: var(--ink-mid);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-silk);
}
.trending-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease-drape);
}
.trending-item:hover { background: var(--ink-soft); }
.trending-item:hover::before { height: 100%; }

.trending-number {
  font-family: var(--font-italic);
  font-size: 3rem;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.trending-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.trending-ar {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold);
  direction: rtl;
  margin-top: 0.3rem;
}
.trending-desc {
  font-size: 0.82rem;
  color: var(--sand);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── About Section (home excerpt) ────────────────────────── */
.about-excerpt {
  padding: var(--section-pad) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2px solid rgba(201,168,76,0.3);
  pointer-events: none;
  z-index: -1;
}

.about-quote {
  font-family: var(--font-italic);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.6;
  margin: 1.5rem 0;
}

.stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.3rem;
}

/* ── Gallery Section ──────────────────────────────────────── */
/* A masonry arrangement like fabric bolts leaning in the showroom */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-drape);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,13,10,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease-silk);
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(15,13,10,0.55);
}
.gallery-zoom-icon {
  color: var(--gold);
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s var(--ease-drape);
}
.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,4,3,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.2);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1.5px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ── Contact Form ─────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--ivory);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--ink-mid); }

/* ── Map ─────────────────────────────────────────────────── */
.map-container {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
  filter: grayscale(0.3) contrast(1.1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── WhatsApp Float ──────────────────────────────────────── */
/* The most-used contact method in Egypt's fabric markets */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: all 0.3s var(--ease-drape);
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────── */
/* The foundation, like the base of a bolt standing on marble floors */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.footer-brand .logo-ar {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  direction: rtl;
}
.footer-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--sand);
  margin-top: 0.5rem;
  direction: rtl;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--ivory-deep);
  margin-top: 1rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--ivory-deep);
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.footer-col ul a:hover { opacity: 1; color: var(--gold); }

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  transition: all 0.3s var(--ease-silk);
  font-size: 1rem;
}
.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright {
  font-size: 0.78rem;
  color: var(--ivory-deep);
  opacity: 0.5;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(201,168,76,0.04) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-reveal class — added by JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-drape), transform 0.7s var(--ease-drape);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive — Mobile First ────────────────────────────── */
@media (max-width: 1024px) {
  .about-excerpt { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-burger { display: flex; }
  .trending-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 1.5rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.tall { grid-row: span 1; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 1rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .products-grid { grid-template-columns: 1fr; }
}
