/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Heebo', sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --navy: #0f1b2d;
  --navy-light: #1a2d4a;
  --cream: #ffffff;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
  font-weight: 300;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 24px;
  border-radius: 2px;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 27, 45, 0.95);
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}
header.scrolled { background: rgba(15, 27, 45, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.nav-brand {
  display: none;
}
/* Header with centered logo above nav */
.header-logo-bar {
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
  margin-bottom: 15px;
}
.header-center-logo {
  height: 80px;
  width: auto;
}
.header-with-logo nav {
  justify-content: center;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4a 50%, #243b55 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.page-hero-logo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-65%);
  height: 80px;
  width: auto;
  opacity: 0.9;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

/* ===== HERO (home page) ===== */
.hero {
  padding: 140px 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4a 50%, #243b55 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; }
/* ===== PRODUCT CAROUSEL ===== */
.carousel-section {
  padding: 60px 0;
  background: var(--white);
  overflow: hidden;
}
.carousel-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.carousel-track-wrapper {
  overflow: hidden;
  margin-top: 32px;
}
.carousel-track {
  display: flex;
  gap: 24px;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}
.carousel-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8f8f8;
  padding: 12px;
}
.carousel-card-body { padding: 14px; }
.carousel-card-brand {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}
.carousel-card-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-label {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}
.hero-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(184,134,11,0.3); }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.about-text .gold-line { margin: 16px 0 24px; margin-left: 0; }
.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== BRANDS ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}
.brand-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: all 0.3s;
}
.brand-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(184,134,11,0.1);
  transform: translateY(-4px);
}
.brand-card img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.8;
  transition: all 0.3s;
}
.brand-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ===== WAREHOUSE / FEATURES ===== */
.warehouse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.warehouse-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.warehouse-img img { width: 100%; height: 320px; object-fit: cover; }
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}
.feature {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* features on light bg (about page) */
.features-light .feature {
  background: var(--white);
  border: 1px solid #eee;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.features-light .feature h4 { color: var(--navy); }
.features-light .feature p { color: var(--text-light); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-info .gold-line { margin: 16px 0 24px; margin-left: 0; }
.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-item-text h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 4px; }
.contact-item-text p { color: var(--text); font-size: 1rem; margin: 0; }
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.submit-btn:hover { background: var(--gold); }

/* ===== CATALOG ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar */
.catalog-sidebar {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 24px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.sidebar-section { margin-bottom: 28px; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-section h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream);
}
.sidebar-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}
.sidebar-search:focus { outline: none; border-color: var(--gold); }
.brand-list { max-height: 320px; overflow-y: auto; }
.brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
}
.brand-item:hover { color: var(--gold); }
.brand-item input[type="radio"] {
  accent-color: var(--gold);
  cursor: pointer;
  width: 15px;
  height: 15px;
}
.brand-item .brand-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 10px;
}
.audience-list { display: flex; flex-direction: column; gap: 4px; }
.audience-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
}
.audience-item:hover { color: var(--gold); }
.audience-item input[type="radio"] {
  accent-color: var(--gold);
  cursor: pointer;
  width: 15px;
  height: 15px;
}
.sidebar-clear {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  background: var(--cream);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  width: 100%;
  text-align: center;
}
.sidebar-clear:hover { background: var(--gold); color: var(--white); }

/* Main content area */
.catalog-main {}
.catalog-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}
.catalog-count {
  font-size: 0.9rem;
  color: var(--text-light);
}
.pagination-top {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  gap: 12px;
}
.pagination-top .pag-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
a.product-card { display: block; }
.product-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.product-card-img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f8f8f8;
  padding: 16px;
}
.product-card-body { padding: 20px; }
.product-card-brand {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--cream);
  border-radius: 20px;
  color: var(--text-light);
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.no-results h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.pag-btn {
  padding: 10px 24px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
}
.pag-btn:hover:not(:disabled) { background: var(--gold); }
.pag-btn:disabled { opacity: 0.4; cursor: default; }
.pag-info {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s;
}
.cta-btn:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  font-family: 'Heebo', 'Inter', sans-serif;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== RTL SUPPORT ===== */
html[dir="rtl"] body {
  font-family: 'Heebo', 'Inter', sans-serif;
}
html[dir="rtl"] .about-text .gold-line {
  margin-left: auto;
  margin-right: 0;
}
html[dir="rtl"] .contact-info .gold-line {
  margin-left: auto;
  margin-right: 0;
}
html[dir="rtl"] .brand-item .brand-count {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}
html[dir="rtl"] .back-link {
  flex-direction: row-reverse;
}
html[dir="rtl"] .back-link svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .lang-toggle {
  right: auto;
  left: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .lang-toggle {
    right: 60px;
  }
  html[dir="rtl"] .lang-toggle {
    left: 60px;
    right: auto;
  }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero-logo { height: 50px; top: 50%; transform: translateY(-60%); }
  .hero h1 { font-size: 2rem; }
  .section { padding: 70px 0; }
  .section-title { font-size: 2rem; }
  .about-grid,
  .contact-grid,
  .warehouse-grid { grid-template-columns: 1fr; }
  .about-image img { height: 350px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
