/* Bahr Qazween — mobile-first, EN + RTL AR */
:root {
  --bg: #0f1419;
  --surface: #1a222c;
  --surface-2: #232d3a;
  --text: #e8edf2;
  --muted: #9aa5b1;
  --accent: #d4a24a;
  --accent-dim: #a67c2e;
  --ring: rgba(212, 162, 74, 0.45);
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-ar: "Noto Sans Arabic", "DM Sans", system-ui, sans-serif;
  --space: clamp(1rem, 4vw, 2rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e4b85c;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo-link:hover {
  color: var(--text);
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(212, 162, 74, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}

.logo-placeholder svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo-text small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav {
  display: flex;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: var(--surface);
}

.lang-switch button {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button.is-active {
  background: rgba(212, 162, 74, 0.2);
  color: var(--accent);
}

/* Sections */
section {
  padding: clamp(2.5rem, 6vw, 4rem) var(--space);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section__sub {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 42rem;
}

/* Hero */
.hero {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: #1a1208;
  box-shadow: 0 4px 20px rgba(212, 162, 74, 0.25);
}

.btn--primary:hover {
  color: #1a1208;
  box-shadow: 0 6px 28px rgba(212, 162, 74, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Trust strip */
.trust {
  background: var(--surface);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem var(--space);
}

.trust__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

@media (min-width: 600px) {
  html[dir="ltr"] .trust__grid {
    text-align: left;
  }
  html[dir="rtl"] .trust__grid {
    text-align: right;
  }
}

.trust__val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.trust__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* About */
.about__content {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.about__content p {
  margin: 0;
}

.about__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.card dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.card dd a {
  text-decoration: none;
  word-break: break-word;
}

.card dd a:hover {
  text-decoration: underline;
}

.visit-address {
  margin-bottom: 1.5rem;
}

.visit-address__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.visit-address__text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Products */
.products__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.15s;
}

.product-card:hover {
  border-color: rgba(212, 162, 74, 0.25);
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Brands */
.brands {
  background: var(--surface);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.brands__panel {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.brands__panel p {
  margin: 0;
  color: var(--muted);
  max-width: 52rem;
}

.brands__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 0.85rem;
}

.brands__logos li {
  margin: 0;
}

.brands__logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.brands__logos li:hover .brands__logo-card {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.brands__logo-card img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brands__logo-card img[src$=".jpg"],
.brands__logo-card img[src$=".jpeg"] {
  max-height: 64px;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(212, 162, 74, 0.12);
  color: var(--accent);
  border: 1px solid rgba(212, 162, 74, 0.25);
}

/* Gallery */
.gallery__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__grid a {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 1;
}

.gallery__grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__grid a:hover img {
  transform: scale(1.04);
}

/* Visit */
.visit__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .visit__grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: inherit;
}

.hours-table th {
  color: var(--muted);
  font-weight: 500;
  width: 42%;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
  min-height: 280px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: min(360px, 50vh);
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* Contact */
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__links .btn {
  align-self: flex-start;
}

html[dir="rtl"] .contact__links .btn {
  align-self: flex-end;
}

/* Footer */
.site-footer {
  padding: 2rem var(--space);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0.35rem 0;
}
