@charset "utf-8";

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 45%, #000 100%);
  color: var(--text-light);
  overflow-x: hidden;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* THEME */
:root {
  --primary: #050816;
  --accent: #00e0ff;
  --accent-hover: #00b5ff;
  --accent-strong: #4effd2;
  --text-light: #f5f7ff;
  --text-muted: #9aa4c6;
  --bg-dark: #020617;
  --bg-section: #020617;
  --card-bg: rgba(15, 23, 42, 0.85);
  --border-soft: rgba(148, 163, 184, 0.25);
  --glass: rgba(15, 23, 42, 0.75);
  --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.9);
}

html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 80px;
}

/* REUSABLE BRAND TEXT */
.brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== HEADER (TWO BARS) ===== */
header#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  animation: slideDown 0.6s ease;
}

/* TOP BAR */
.nav-top {
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.4),
      transparent 60%
    ),
    rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}
.nav-top-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* BOTTOM BAR */
.nav-bottom {
  background: rgba(2, 6, 23, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}
.nav-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 12px; */
}

/* Scrolled */
header#navbar.scrolled .nav-top {
  background: rgba(2, 6, 23, 0.98);
}
header#navbar.scrolled .nav-bottom {
  background: rgba(2, 6, 23, 1);
}

/* Logo with image */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}
.logo-img {
  height: 32px;
  width: auto;
}

.logo-text {
  /* 1. Ensure the element has dimensions */
  display: inline-block; 

  /* 2. The Gradient */
  background: linear-gradient(135deg, #e5e7eb, #3b82f6); /* Swapped var for a hex for testing */
  
  /* 3. The Magic Tricks */
  -webkit-background-clip: text;
  background-clip: text; /* Standard property */
  
  /* 4. Make the actual text invisible so the background shows through */
  -webkit-text-fill-color: transparent;
  color: transparent; /* Fallback */
}

/* Language */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-btn {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  border-color: transparent;
}

/* Basket chip */
.top-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 11px;
  cursor: pointer;
}
.top-cart-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.top-cart-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* BOTTOM LINKS */

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 0;
  position: relative;
  transition: all 0.25s ease;
}
.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.25s ease;
}
.nav-links a:hover {
  color: #e5e7eb;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  width: 40%;
}
.nav-links a.active {
  color: #e5e7eb;
}


/* Burger (kept for desktop only) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  margin: 3px 0;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ================= DESKTOP ONLY NAVIGATION (1024px+) ================= */
@media (min-width: 1024px) {
  .nav-bottom {
    background: rgba(2, 6, 23, 0.8); /* Semi-transparent glass look */
    backdrop-filter: blur(15px);     /* Modern blur effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;                 /* Taller bar for desktop */
  }

  .nav-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;        /* Centers the menu on computer */
  }

  .nav-links {
    gap: 50px;                      /* Large spacing between links */
  }

  .nav-links a {
    font-size: 15px;                /* Larger, readable font */
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    padding: 10px 0;
    transition: all 0.3s ease;
  }

  /* Premium Hover Effect */
  .nav-links a:hover {
    color: #fff;
    transform: translateY(-2px);    /* Subtle lift */
  }

  /* Active state underline */
  .nav-links a.active {
    color: #fff;
    font-weight: 700;
  }

  .nav-links a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-strong);
    transition: width 0.3s ease;
    margin-top: 5px;
  }

  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }

  /* Larger Logo for Desktop */
  .logo-img {
    height: 42px; 
  }
}

/* ================= DESKTOP RTL FIX (Kurdish/Arabic) ================= */
@media (min-width: 1024px) {
  [dir="rtl"] .nav-links a {
    font-family: 'Noto Sans Arabic', sans-serif !important;
    font-size: 17px;               /* Kurdish needs to be slightly larger */
    letter-spacing: 0;             /* Prevents letters from splitting */
    line-height: 1.2;
  }
}


/* Mobile nav overlay disabled */
.mobile-nav {
  display: none !important;
}

/* CART DRAWER */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: -24px 0 80px rgba(15, 23, 42, 0.9);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}
.cart-drawer.open {
  right: 0;
}
.cart-drawer-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(30, 64, 175, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 {
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cart-close-btn {
  background: none;
  border: none;
  color: #9aa4c6;
  font-size: 16px;
  cursor: pointer;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
}
.cart-drawer-footer {
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* BACKDROP */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* HERO OFFSET */
.hero {
  margin-top: 96px;
}


/* Learnmore button */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-num {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-num.active {
  background: #7c3aed; /* The purple color from your screenshot */
  border-color: #7c3aed;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.page-btn-next {
  padding: 0 20px;
  height: 45px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #9aa4c6;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

[dir="rtl"] .bi-chevron-right {
  transform: rotate(180deg);
}

/* ================= MOBILE RESPONSIVENESS FIX ================= */
@media (max-width: 768px) {
  /* Fix the Grid: 2 columns on mobile instead of 1 or 4 */
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 10px;
  }

  /* Fix Pagination Bar: Stack or wrap buttons */
  .pagination-bar {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
  }

  /* Make page numbers slightly smaller for mobile */
  .page-num {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* Ensure "Learn More" button fits screen width */
  .page-btn-next {
    width: 100%;
    justify-content: center;
    order: 2; /* Moves button below the numbers */
  }
  
  .page-numbers {
    width: 100%;
    justify-content: center;
    order: 1;
  }
}


/* HERO SECTION */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #0b1120 0, #020617 60%, #000 100%);
}
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background:
    radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(45, 212, 191, 0.22), transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.25), transparent 60%);
  filter: blur(18px);
  opacity: 0.75;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(2, 6, 23, 0.95) 72%
  );
}
.hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}
.hero-left {
  padding-right: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(100%);
  animation: slideUp 0.7s ease forwards;
}
.hero-title .line:nth-child(1) span {
  animation-delay: 0.1s;
}
.hero-title .line:nth-child(2) span {
  animation-delay: 0.18s;
}
.hero-title .line:nth-child(3) span {
  animation-delay: 0.26s;
}
.hero-title .accent {
  /* 1. Force the element to recognize height/width */
  display: inline-block; 

  /* 2. Define the gradient */
  background: linear-gradient(
    120deg,
    var(--accent, #3b82f6),       /* Added fallback colors */
    var(--accent-strong, #1d4ed8), 
    #ffffff
  );

  /* 3. Clip and Fill */
  -webkit-background-clip: text;  /* For Safari/Chrome */
  background-clip: text;          /* Standard property */
  -webkit-text-fill-color: transparent;
  
  /* 4. Accessibility Fallback */
  color: var(--accent-strong);    /* Shows this color if gradient fails */
}
.hero-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-stats {
  display: flex;
  gap: 26px;
  margin-bottom: 28px;
}
.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.cta-group {
  display: flex;
  gap: 12px;
}
.cta-button {
  padding: 11px 24px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-button.primary {
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-strong)
  );
  color: #020617;
  box-shadow: 0 20px 50px rgba(34, 211, 238, 0.5);
}
.cta-button.outline {
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  border-radius: 28px;
  background: radial-gradient(circle at top, #0f172a, #020617 75%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  overflow: hidden;
  background: #020617;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.3s ease, transform 1.3s ease;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.8),
    rgba(2, 6, 23, 0.2)
  );
}
.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.indicator {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}
.indicator.active {
  width: 38px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-strong)
  );
}
.floating-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tag {
  position: absolute;
  padding: 6px 12px;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-light);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.tag:nth-child(1) {
  top: 16%;
  left: -18px;
}
.tag:nth-child(2) {
  top: 40%;
  right: -24px;
}
.tag:nth-child(3) {
  bottom: 20%;
  left: -12px;
}
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-indicator span {
  width: 24px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: block;
  position: relative;
}
.scroll-indicator span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  animation: scrollDot 1.8s ease infinite;
}

/* COLLECTIONS */
.collections {
  padding: 100px 20px 80px;
  max-width: 1320px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 38px;
}
.section-title {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
/* TABS */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 7px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--text-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab-btn.active,
.tab-btn:hover {
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.18), #020617);
  border-color: var(--accent);
  color: #e5e7eb;
}
/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.collection-card {
  position: relative;
  background: var(--glass);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.9);
  transform: translateY(8px);
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
  display: flex;         /* Added to allow vertical alignment */
  flex-direction: column;/* Added */
  height: 100%;          /* Ensures all cards in a row are the same height */
}
.collection-thumbnail {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at top, #1f2937, #020617);
}

/* Animation for the Add to Basket button */
.add-to-cart {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.add-to-cart.added {
  background: var(--accent-strong) !important;
  color: #020617 !important;
  pointer-events: none; /* Prevent double clicking during animation */
}

/* Optional: Slight scale effect on click */
.add-to-cart:active {
  transform: scale(0.95);
}

.collection-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-content {
  padding: 14px 14px 16px;
  display: flex;         /* Added */
  flex-direction: column;/* Added */
  flex-grow: 1;          /* Forces this section to fill all empty space */
}
.card-badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.card-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.card-price {
  font-size: 15px;
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: auto;      /* This is the "magic" line: it pushes the price and button to the very bottom of the card */
  margin-bottom: 10px;
  
}
.card-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  
  /* Standard way to limit text to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* FIX: Use 4.5em (1.5 line-height * 3 lines) */
  /* This ensures the space is ALWAYS exactly 3 lines high */
  min-height: 4.5em; 
}

/* Specific fix for Kurdish/Arabic height */
[dir="rtl"] .card-description {
  line-height: 1.7;    /* Kurdish needs more vertical space */
  min-height: 5.1em;   /* 1.7 line-height * 3 lines */
}

/* Updated Price Alignment */
.card-price {
  margin-top: auto; /* Pushes price and button to the very bottom */
  font-size: 15px;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 10px;
}

button.add-to-cart {
  margin-top: 4px;
  padding: 8px 10px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
}

/* FEATURED */
.featured {
  padding: 100px 20px 80px;
  background: radial-gradient(
      circle at top left,
      rgba(34, 211, 238, 0.15),
      transparent 55%
    ),
    #020617;
}
.featured-container {
  max-width: 1320px;
  margin: 0 auto;
}
.featured-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.featured-content .label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.featured-content h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.featured-content p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.highlight-item {
  padding: 14px 12px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(18px);
}
.highlight-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.2), #020617);
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 18px;
}
.highlight-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.highlight-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.featured-image-section {
  position: relative;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, #111827, #020617);
}
.featured-image-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr;
  grid-template-rows: 1.1fr 1fr;
  gap: 4px;
  height: 100%;
}
.featured-img {
  position: relative;
  overflow: hidden;
}
.featured-img:first-child {
  grid-row: 1 / 3;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-strong)
  );
  color: #020617;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 18px 50px rgba(34, 211, 238, 0.55);
}

/* TESTIMONIALS */
.testimonials {
  margin-top: 26px;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 26px;
}
.testimonials-header h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.testimonial-card {
  padding: 20px 18px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.testimonial-quote {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 10px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.2), #020617);
  color: var(--accent-strong);
  font-weight: 700;
}
.author-info h4 {
  font-size: 13px;
}
.author-info p {
  font-size: 11px;
  color: var(--text-muted);
}
.testimonial-rating {
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 13px;
}

/* CONTACT */
.contact {
  padding: 100px 20px 70px;
  background: #020617;
}
.contact-container {
  max-width: 1320px;
  margin: 0 auto;
}
.contact-header {
  text-align: center;
  margin-bottom: 38px;
}
.contact-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-bottom: 30px;
}
.contact-form-wrapper {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 24px;
  padding: 26px 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-light);
  font-size: 14px;
}
.form-group textarea {
  min-height: 110px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-submit {
  width: 100%;
  margin-top: 4px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-strong)
  );
  color: #020617;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

/* CONTACT INFO */
.contact-info {
  padding: 22px 20px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.2), #020617);
  color: var(--accent-strong);
}
.info-content h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}
.info-content p {
  font-size: 12px;
  color: var(--text-muted);
}
.info-content a {
  color: var(--accent-strong);
  text-decoration: none;
}

/* MAP PLACEHOLDER */
.map-section {
  margin-top: 20px;
  border-radius: 20px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  padding: 14px;
  text-align: center;
  color: var(--text-muted);
}

/* FOOTER */
footer {
  background: #020617;
  padding: 52px 20px 24px;
  border-top: 1px solid rgba(15, 23, 42, 1);
}
.footer-content {
  max-width: 1320px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.footer-brand h3 {
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 8px;
}
.social-link {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}
.footer-column h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.footer-column a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.payment-methods {
  display: flex;
  gap: 8px;
}
.payment-icon {
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 10px;
}


/* ANIMATIONS */
@keyframes slideDown {
  from {
    transform: translateY(-16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(8px);
    opacity: 1;
  }
}
@keyframes scrollDot {
  0% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 22px;
    opacity: 0.3;
  }
  100% {
    top: 8px;
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 90px;
  }
  .hero-left {
    padding-right: 0;
  }
  .hero-description,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-right {
    display: none;
  }
  .featured-hero,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    justify-content: center;
  }
}

/* MOBILE (menu always visible, no burger) */
@media (max-width: 768px) {
  .nav-bottom-inner {
    padding: 12px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
   
    .scroll-indicator {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    margin-top: 50px;
  }

  .cta-group {
    flex-direction: column;
  }
  .cta-button {
    width: 100%;
  }
  .collections,
  .featured,
  .contact,
  footer {
    padding: 70px 14px 40px;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
  .collection-thumbnail {
    height: 190px;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cart-drawer {
    max-width: 100%;
  }
}
/* footer mobile resposive  */

@media (max-width: 768px) {
  footer {
    padding: 28px 16px 20px;
  }

  .footer-content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 340px;          /* center the whole footer area */
    margin: 0 auto;            /* horizontally center */
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 8px;
  }

  .footer-column {
    text-align: center;        /* center text in each column */
  }

  .footer-bottom {
    max-width: 340px;
    margin: 18px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    text-align: center;
  }
}

footer ul {
  padding-left: 18px;      /* smaller left padding */
}

footer ul li {
  margin-left: 0;
}

footer ul li::marker {
  font-size: 8px;          /* smaller dot, optional */
}

/*
footer socail logo center */

.social-links {
  display: flex;
  justify-content: center;  /* center horizontally */
  gap: 10px;                /* space between icons */
}

/* ================= RTL ADJUSTMENTS ================= */

/* Flip Hero text alignment and spacing */
[dir="rtl"] .hero-left {
  padding-right: 0;
  padding-left: 32px;
  text-align: right;
}

/* Ensure stats and badges align to the right */
[dir="rtl"] .hero-badge, 
[dir="rtl"] .hero-description,
[dir="rtl"] .hero-stats {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

/* Flip Card and Footer text */
[dir="rtl"] .card-content,
[dir="rtl"] .footer-column,
[dir="rtl"] .footer-brand {
  text-align: right;
}

/* Adjust the Top Bar layout (Logo/Basket) */
[dir="rtl"] .nav-top-inner {
  flex-direction: row-reverse;
}

/* Adjust icons that have specific directions */
[dir="rtl"] .info-item {
  flex-direction: row; /* Flex handles the order, but gaps might need checking */
  text-align: right;
}

/* Ensure the cart drawer slides in from the left instead of right (Optional) */
[dir="rtl"] .cart-drawer {
  right: auto;
  left: -100%;
  border-left: none;
  border-right: 1px solid rgba(148, 163, 184, 0.5);
}
[dir="rtl"] .cart-drawer.open {
  left: 0;
}

/* ================= MOBILE RTL CENTERING ================= */
@media (max-width: 1024px) {
  /* Center Hero content for RTL languages on mobile/tablet */
  [dir="rtl"] .hero-left {
    padding-left: 0;
    text-align: center;
  }

  [dir="rtl"] .hero-badge, 
  [dir="rtl"] .hero-description,
  [dir="rtl"] .hero-stats {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  [dir="rtl"] .hero-stats {
    justify-content: center;
  }

  /* Adjusting the line animation container for centering */
  [dir="rtl"] .hero-title .line {
    text-align: center;
  }
}



