/* ═══════════════════════════════════════════
   FFRN – ARTIC 01 | STYLESHEET
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #111111;
  --bg-dark: #000000;
  --bg-card: #1a1a1a;
  --bg-card2: #222222;
  --text: #ffffff;
  --text-muted: #bababa;
  --accent: #C5A86D;
  --border: rgba(197, 168, 109, 0.2);
  --font-main: 'Inter', sans-serif;
  --font-title: 'Bebas Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--text);
}

.nav-logo-image {
  height: 85px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  position: relative;
  margin-top: -12px;
  margin-bottom: -12px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding-right: 6rem;

}

.nav-links a {
  padding-right: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-icons {
  display: flex;
  gap: 12px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  display: grid;
  grid-template-columns: 420px 1fr 180px;
  grid-template-rows: auto 1fr;
  padding: 0 40px 60px;
  gap: 0 30px;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #1f1f1f 100%);
  overflow: hidden;
}

/* subtle texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 5 L35 15 L35 25 L20 35 L5 25 L5 15 Z' fill='none' stroke='%23ffffff' stroke-width='0.8' stroke-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-breadcrumb {
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

/* LEFT */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.hero-title sup {
  font-size: 0.38em;
  vertical-align: super;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  min-width: 55px;
}

.size-options {
  display: flex;
  gap: 8px;
}

.size-btn {
  width: 39px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.colour-options {
  display: flex;
  gap: 16px;
}

.colour-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  position: relative;
}

.colour-btn.active {
  color: #fff;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
}

.colour-btn:hover {
  color: #fff;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  padding: 12px 24px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.hero-price {
  font-family: var(--font-title);
  font-size: 26px;
  letter-spacing: 1px;
  color: #fff;
}

/* CENTER */
.hero-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.hero-img-wrap {
  width: 100%;
  height: 100%;
  max-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-main-img {
  width: 100%;
  max-width: 820px;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* RIGHT */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
}


.thumb-wrap:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
}

.thumb-wrap {
  width: 100%;
  height: 170px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  background: rgba(0, 0, 0, 0.15);
  /* خلفية للمساحات الفارغة */
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ← الصورة كاملة بدون قطع */
}

.hero-counter {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: auto;
}

.hero-socials {
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}

.social-link {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.1);
}

/* Placeholder divs */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-align: center;
  min-height: 140px;
}

.hero-placeholder {
  min-height: 400px;
  border-radius: 12px 12px 0 0;
}

.thumb-placeholder {
  min-height: 150px;
}

.featured-placeholder {
  min-height: 300px;
}

/* ═══════════════════ NEW COLLECTION ═══════════════════ */
.collection-section {
  background: #141414;
  padding: 50px 40px 60px;
  color: #ffffff;
}

.collection-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.collection-title {
  font-family: var(--font-title);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--accent);
  letter-spacing: 2px;
  line-height: 1;
  flex-shrink: 0;
}

.collection-filters-top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.filter-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.filter-tag.active,
.filter-tag:hover {
  color: var(--accent);
  font-weight: 600;
}

.filter-cats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cat-link {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.cat-link.active,
.cat-link:hover {
  color: var(--accent);
}

.filters-btn {
  background: #1a1a1a;
  color: var(--accent);
  border: 1px solid rgba(197, 168, 109, 0.3);
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
}

.filters-btn:hover {
  background: #222222;
  border-color: rgba(197, 168, 109, 0.8);
  transform: translateY(-1px);
}

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

/* Featured card spans 2 rows */
.featured-card {
  grid-row: span 2;
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.featured-img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.featured-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.featured-name {
  font-family: var(--font-title);
  font-size: 30px;
  color: #fff;
  letter-spacing: 2px;
}

.featured-name sup {
  font-size: 0.4em;
  vertical-align: super;
}

.featured-desc-text {
  color: var(--text-muted);
}

.featured-cart-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 15px 44px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}

.featured-cart-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.featured-price {
  font-family: var(--font-title);
  font-size: 22px;
  color: #fff;
  margin-left: auto;
}

.featured-graffiti {
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.graffiti-svg {
  width: 100%;
}

/* Regular product cards */
.product-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:not(.featured-card):hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.prod-img-wrap {
  width: 100%;
  height: 200px;
  background: var(--bg-card2);
  overflow: hidden;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}

.product-card:hover .prod-img-wrap img {
  transform: scale(1.05);
}

.prod-info {
  padding: 14px 16px;
}

.prod-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.prod-colors {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.color-dot.white {
  background: #f0f0f0;
}

.color-dot.blue {
  background: var(--accent);
}

.color-dot.silver {
  background: #ffffff;
}

.color-dot.black {
  background: #000000;
}

.color-dot.grey {
  background: #444444;
}

.color-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-right: 6px;
}

.prod-price {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* ═══════════════════ FOOTER ═══════════════════ */
.site-footer {
  background: var(--bg-dark);
  padding: 30px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 4px;
  color: #fff;
}

.footer-copy {
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 0;
}

.footer-dev {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Cairo', sans-serif;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-copy,
  .footer-dev {
    text-align: center;
  }

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

.footer-links a {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-card {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
  }

  .hero-right {
    flex-direction: row;
  }

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

  .collection-header {
    flex-direction: column;
  }

  .collection-filters-top {
    align-items: flex-start;
  }

  .navbar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .collection-section {
    padding: 36px 20px 50px;
  }
}

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

  .hero-title {
    font-size: 44px;
  }
}

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

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

.hero-left {
  animation: fadeUp 0.7s ease both;
}

.hero-center {
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero-right {
  animation: fadeUp 0.7s 0.25s ease both;
}

.product-card {
  animation: fadeUp 0.5s ease both;
}

/* ═══════════════════ ARABIC / RTL ═══════════════════ */
body {
  font-family: 'Cairo', sans-serif;
}

.hero-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.5;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 100%;
}

.nav-logo {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.collection-title {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.featured-name {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
}

.hero-price {
  font-family: 'Cairo', sans-serif;
}

.prod-price {
  font-family: 'Cairo', sans-serif;
}

.footer-logo {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

.add-to-cart-btn {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

/* ═══════════════════ ABOUT GRID ═══════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px;
}

.about-main-card {
  grid-row: span 3;
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-main-card .featured-img-wrap {
  height: 280px;
}

/* Simple wave line only - no robots */
.featured-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, var(--accent), #fff, transparent);
  background-size: 200% 100%;
  animation: waveMove 2s linear infinite;
}

@keyframes waveMove {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.stat-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  font-size: 28px;
}

.stat-num {
  font-family: 'Cairo', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.about-text-card {
  grid-column: 2 / -1;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
}

.about-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.9;
  font-weight: 500;
}

/* ═══════════════════ SERVICES ═══════════════════ */
.services-section {
  grid-template-columns: 280px 1fr;
  align-items: start;
  padding-bottom: 60px;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.services-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-self: center;
}

/* ===== SMOOTH BORDER WAVE - FIXED VERSION ===== */
.product-card,
.service-card,
.about-main-card,
.stat-card,
.about-text-card,
.faq-item,
.contact-form {
  position: relative;
  border-radius: 14px;
  /* Fix colors - explicit backgrounds */
}

.product-card {
  background: var(--bg-card);
}

.service-card {
  background: rgba(255, 255, 255, 0.07);
}

.about-main-card {
  background: var(--bg);
}

.stat-card {
  background: var(--bg);
}

.about-text-card {
  background: var(--bg-card);
}

.faq-item {
  background: var(--bg);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
}

/* The smooth wave border */
.product-card::before,
.service-card::before,
.about-main-card::before,
.stat-card::before,
.about-text-card::before,
.faq-item::before,
.contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      rgba(197, 168, 109, 0.5),
      rgba(255, 255, 255, 0.3),
      transparent);
  background-size: 300% 100%;
  animation: smoothBorder 6s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes smoothBorder {

  0%,
  100% {
    background-position: 0% 0;
  }

  50% {
    background-position: 100% 0;
  }
}

/* On hover - faster but still smooth */
.product-card:hover::before,
.service-card:hover::before,
.about-main-card:hover::before,
.stat-card:hover::before,
.about-text-card:hover::before,
.faq-item:hover::before,
.contact-form:hover::before {
  animation-duration: 2.5s;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      var(--accent),
      rgba(255, 255, 255, 0.6),
      transparent);
  background-size: 300% 100%;
}

.service-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}

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

.svc-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.svc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.svc-info {
  padding: 20px;
}

.svc-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.svc-title {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.svc-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 14px;
  position: relative;
}

.svc-list li::before {
  content: '◆';
  position: absolute;
  right: 0;
  font-size: 7px;
  color: var(--accent);
  top: 4px;
}

.svc-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.25s;
}

.svc-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════ AUDIENCE ═══════════════════ */
.audience-grid {
  grid-template-columns: repeat(5, 1fr) !important;
  margin-bottom: 30px;
}

.audience-card {
  cursor: default;
}

.aud-icon-wrap {
  height: 120px !important;
  background: var(--bg-card2) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.prod-name {
  text-transform: none !important;
  font-size: 13px !important;
}

/* ─── CITIES BAR ─── */
.cities-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--bg);
  border-radius: 14px;
  margin-top: 10px;
}

.city-tag {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.city-sep {
  color: var(--text-muted);
  font-size: 10px;
}

/* ═══════════════════ CONTACT FORM ═══════════════════ */
.contact-section {
  grid-template-columns: 340px 1fr;
  align-items: start;
  padding-bottom: 60px;
}

.contact-inner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 20px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  direction: rtl;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.form-group select option {
  background: var(--bg-dark);
  color: #fff;
}

.submit-btn {
  align-self: flex-start;
  font-size: 14px !important;
  padding: 14px 28px !important;
  cursor: pointer;
  border: none;
}

.form-success {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  color: #7df9c0;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  background: rgba(125, 249, 192, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(125, 249, 192, 0.3);
}

/* ═══════════════════ FAQ ═══════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: rgba(255, 255, 255, 0.25);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  gap: 16px;
  transition: background 0.2s;
}

.faq-q:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
  line-height: 1;
  padding-bottom: 4px;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.12);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ═══════════════════ SERVICES SECTION GRID FIX ═══════════════════ */
.services-section .hero-breadcrumb {
  grid-column: 1 / -1;
}

.services-section .services-header {
  grid-column: 1;
}

.services-section .services-grid {
  grid-column: 2;
}

/* ═══════════════════ CONTACT SECTION GRID FIX ═══════════════════ */
.contact-section .hero-breadcrumb {
  grid-column: 1 / -1;
}

.contact-section .contact-inner {
  grid-column: 1 / -1;
}

/* ═══════════════════ RESPONSIVE ADDITIONS ═══════════════════ */
@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-main-card {
    grid-row: span 1;
  }

  .about-text-card {
    grid-column: 1 / -1;
  }

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

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

  .services-section .services-grid {
    grid-column: 1;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-desc {
    max-width: 100%;
  }

  .cities-bar {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .audience-grid {
    grid-template-columns: 1fr !important;
  }

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

/* ═══════════════════ RESPONSIVE FIXES FOR HERO (Keep left/right layout) ═══════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 280px 1fr 140px !important;
    /* تصغير الأعمدة فقط، مع الحفاظ على الهيكل */
    gap: 0 20px !important;
    min-height: auto !important;
    padding: 0 24px 60px !important;
  }

  .hero-title {
    font-size: clamp(40px, 5vw, 60px) !important;
  }

  .hero-desc {
    font-size: 13px !important;
  }

  .hero-right .thumb-wrap {
    width: 100% !important;
  }

  .thumb-wrap img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Mobile landscape (600px - 900px) - still keeping side layout */
@media (max-width: 900px) and (min-width: 601px) {
  .hero {
    grid-template-columns: 260px 1fr 100px !important;
    gap: 0 15px !important;
  }

  .hero-title {
    font-size: 36px !important;
  }

  .hero-counter {
    font-size: 10px !important;
  }
}

/* Mobile (below 600px) - هنا فقط نغير الهيكل لأنه ما عاد ينفع */
@media (max-width: 600px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    min-height: auto !important;
    padding: 0 20px 50px !important;
  }

  .hero-breadcrumb {
    text-align: right !important;
    /* يبقى على اليمين، مو توسيط */
    margin-bottom: 10px !important;
  }

  .hero-left {
    order: 1 !important;
    padding-top: 0 !important;
    text-align: right !important;
    /* النص يبقى على اليمين */
    align-items: flex-start !important;
    /* المحتوى يبدأ من اليمين */
  }

  .hero-center {
    order: 2 !important;
    width: 100% !important;
  }

  .hero-right {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    /* المعرض يبدأ من اليمين */
    gap: 15px !important;
    flex-wrap: wrap !important;
  }

  .hero-right .thumb-wrap {
    width: 80px !important;
  }

  .hero-socials {
    flex-direction: row !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .hero-cta {
    justify-content: flex-start !important;
    /* الزر يبقى على اليمين */
  }

  .hero-desc {
    max-width: 100% !important;
  }
}

/* Very small mobile (below 400px) */
@media (max-width: 400px) {
  .hero {
    padding: 0 16px 40px !important;
    gap: 20px !important;
  }

  .hero-title {
    font-size: 32px !important;
  }

  .hero-sub {
    font-size: 13px !important;
  }

  .hero-desc {
    font-size: 12px !important;
  }

  .hero-right .thumb-wrap {
    width: 65px !important;
  }

  .add-to-cart-btn {
    padding: 8px 16px !important;
  }

  .btn-arrow {
    width: 24px !important;
    height: 24px !important;
    font-size: 10px !important;
  }

  .hero-price {
    font-size: 18px !important;
  }
}

/* Fix navbar for mobile */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap !important;
    padding: 12px 20px !important;
  }

  .nav-links {
    order: 3 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    /* الروابط تبقى على اليمين */
    gap: 20px !important;
    margin-top: 12px !important;
    flex-wrap: wrap !important;
  }

  .nav-links li a {
    font-size: 12px !important;
  }
}

/* Mobile (below 600px) */
@media (max-width: 600px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    min-height: auto !important;
    padding: 0 20px 50px !important;
  }

  .hero-breadcrumb {
    text-align: right !important;
    margin-bottom: 10px !important;
  }

  .hero-left {
    order: 1 !important;
    padding-top: 0 !important;
    text-align: right !important;
    align-items: flex-start !important;
  }

  .hero-center {
    order: 2 !important;
    width: 100% !important;
  }

  .hero-right {
    display: none !important;
    /* إخفاء الصور الجانبية والعناصر اليمنى بالكامل */
  }

  .hero-socials {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    margin-top: 20px !important;
  }

  .hero-cta {
    justify-content: flex-start !important;
  }

  .hero-desc {
    max-width: 100% !important;
  }
}

/* ═══════════════════ MODAL ═══════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-title {
  font-family: 'Cairo', sans-serif;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 14px;
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 20px;
}

.modal-subtitle {
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}

.mt-4 {
  margin-top: 20px;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 18px;
  position: relative;
}

.modal-list li::before {
  content: '◆';
  position: absolute;
  right: 0;
  font-size: 8px;
  color: var(--accent);
  top: 6px;
}

.details-btn {
  color: var(--accent);
  border-color: var(--accent);
}

.details-btn:hover {
  background: var(--accent) !important;
  color: #000 !important;
}

/* ═══════════════════ FONT SIZE OVERRIDES & MOBILE H1 ═══════════════════ */
.hero-desc {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.about-desc {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.featured-desc-text {
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.svc-list li {
  font-size: 16px !important;
}

.stat-label {
  font-size: 15px !important;
}

.modal-desc {
  font-size: 16px !important;
}

.modal-list li {
  font-size: 16px !important;
}

.filter-tag {
  font-size: 14px !important;
}

/* Section Titles Size Reduction */
.hero-title,
.collection-title {
  font-size: clamp(26px, 4vw, 44px) !important;
}

/* DEV text inside sup styling to match original TM */
sup {
  font-size: 0.3em !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  vertical-align: super !important;
  color: inherit !important;
}

@media (max-width: 768px) {
  .hero-title {
    white-space: nowrap !important;
    font-size: clamp(22px, 6vw, 32px) !important;
  }

  .hero-title br {
    display: none !important;
  }
}

/* ═══════════════════ FLOATING ACTION BUTTONS ═══════════════════ */
.fab-group {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9998;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.fab:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* WhatsApp — dark forest green تتناسب مع ألوان الموقع الداكنة */
.fab-whatsapp {
  background: #1a5c35;
  color: #fff;
}

.fab-whatsapp:hover {
  background: #1e6e3f;
}

/* Phone — gold accent لون الموقع الرسمي */
.fab-phone {
  background: var(--accent);
  color: #151515;
}

.fab-phone:hover {
  background: #d4b97a;
}

/* Tooltip on hover */
.fab::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(10, 10, 10, 0.85);
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 12px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s, transform 0.2s;
}

.fab:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation on WhatsApp */
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1a5c35;
  animation: fabPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes fabPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.55);
    opacity: 0;
  }

  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .fab-group {
    bottom: 20px;
    left: 16px;
    gap: 12px;
  }

  .fab {
    width: 50px;
    height: 50px;
  }
}