﻿:root {
  --burgundy: #7a1626;
  --burgundy-dark: #3f0c17;
  --burgundy-deep: #1f0509;
  --gold: #c9a646;
  --gold-soft: #d7b87c;
  --ivory: #fdf1d0;
  --stone: #f5f1ea;
  --slate: #2c2521;
  --body-bg: #0f0508;
  --accent: rgba(201, 166, 70, 0.18);
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, rgba(122, 22, 38, 0.4), transparent 55%), var(--body-bg);
  color: var(--stone);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--gold);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 6vw;
  background: var(--burgundy);
  color: var(--ivory);
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.language-switcher {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ivory);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
  border-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 5, 8, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f5dca6);
  color: var(--burgundy-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  border-color: var(--gold);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 3rem;
  padding: 4rem 6vw 5rem;
  align-items: center;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -12% -8% -18% -12%;
  background: radial-gradient(circle, rgba(201, 166, 70, 0.25), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--gold-soft);
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-top: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-content .intro {
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
}

.btn.primary {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.btn.primary:hover {
  background: #f0d295;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--stone);
}

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

.btn.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.hero-highlights {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

.featured {
  background: linear-gradient(180deg, rgba(122, 22, 38, 0.12), transparent 65%);
  padding: 4rem 6vw;
}

.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--gold);
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-heading p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

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

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(201, 166, 70, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 1.2rem;
}

.product-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  flex: 1;
}

.brand-story {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  padding: 4.5rem 6vw;
}

.story-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.story-copy p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.story-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.story-highlights .metric {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
}

.story-visual {
  display: grid;
  gap: 1.5rem;
}

.note-card,
.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 1.8rem;
}

.note-card h3,
.tech-card h3 {
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

.note-card ul,
.tech-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.collection-split {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 6vw;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.split-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card .content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.split-card .eyebrow {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.split-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.newsletter-option {
  padding: 4rem 6vw 5rem;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
}

.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.newsletter-form label {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input {
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 5, 8, 0.6);
  color: var(--stone);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

.newsletter-form .privacy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  padding: 4rem 6vw 5rem;
  background: linear-gradient(160deg, rgba(122, 22, 38, 0.22), rgba(15, 5, 8, 0.9));
  border-radius: 40px;
  margin: 0 5vw 4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.assurance {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.assurance h3 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}

.assurance ul {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding: 3.5rem 6vw 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 5, 8, 0.92);
}

.site-footer .footer-heading {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer ul li a:hover {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-media {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .collection-split {
    gap: 2rem;
  }

  .split-card {
    grid-template-columns: 1fr;
  }

  .newsletter-inner,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 4.5rem;
    background: rgba(15, 5, 8, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: flex;
  }
}

body[dir='rtl'] {
  direction: rtl;
  font-family: 'Source Sans 3', 'Tajawal', system-ui, sans-serif;
}

body[dir='rtl'] .nav-links,
body[dir='rtl'] .hero-actions,
body[dir='rtl'] .hero-highlights,
body[dir='rtl'] .story-highlights,
body[dir='rtl'] .site-footer ul {
  text-align: right;
}

body[dir='rtl'] .hero-actions,
body[dir='rtl'] .story-highlights {
  justify-content: flex-end;
}

body[dir='rtl'] .product-card,
body[dir='rtl'] .note-card,
body[dir='rtl'] .tech-card,
body[dir='rtl'] .assurance {
  text-align: right;
}

body[dir='rtl'] .newsletter-form label,
body[dir='rtl'] .privacy {
  text-align: right;
}

body[dir='rtl'] .language-switcher {
  flex-direction: row-reverse;
}

body.menu-open {
  overflow: hidden;
}

.btn:focus-visible,
.lang-btn:focus-visible,
.mobile-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

