:root {
  --gold: #c8a24d;
  --gold-light: #e3c578;
  --dark: #0e0e0e;
  --light: #f7f5f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Playfair Display', serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.9;
  overflow-x: hidden;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  padding: 18px 8%;
  z-index: 1000;
  transition: padding .3s ease, background .3s ease;
}

.navbar.scrolled {
  padding: 10px 8%;
  background: rgba(0,0,0,.92);
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}

.nav-top { display: flex; justify-content: space-between; align-items: center; }

.logo {
  color: white;
  font-size: 1.5rem;
  letter-spacing: 5px;
  font-weight: 600;
}

.lang-switch { display: flex; gap: 8px; }
.lang-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: .75rem;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--dark);
}
.lang-btn:focus-visible,
.btn:focus-visible,
.quote-form input:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  cursor: pointer;
  width: 26px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: white;
  transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Links */
.nav-links { display: flex; gap: 35px; margin-top: 18px; }
.nav-links a {
  color: white;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  height: 100vh;
  padding-top: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.75)),
    url('hero-caftan.png') center / cover no-repeat;
}

.hero-content { max-width: 700px; padding: 0 24px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
}

/* ===== SECTIONS ===== */
.section { padding: 140px 14%; text-align: center; }
.section.dark { background: var(--dark); color: white; }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 2px;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.section p { max-width: 640px; margin: 0 auto; opacity: .85; }

/* Quote form */
.quote-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.quote-form label { text-align: left; font-size: .9rem; }
.quote-form span { margin-bottom: 6px; display: block; }

.quote-form input {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--gold);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .25s ease, background .25s ease;
}
.quote-form input::placeholder { color: rgba(255,255,255,.5); }
.quote-form input:focus {
  border-color: var(--gold-light);
  background: rgba(200,162,77,.06);
}

/* Button */
.btn {
  margin-top: 20px;
  padding: 14px 34px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: background .3s ease, color .3s ease;
}
.btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Footer */
footer { padding: 35px; background: black; color: #aaa; text-align: center; font-size: .85rem; }

/* Animation */
.js .reveal { opacity: 0; transform: translateY(30px); transition: .9s ease; }
.js .reveal.active { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
  }
  .nav-links.show { display: flex; }
  .section { padding: 100px 8%; }
}

/* RTL */
body[dir="rtl"] { font-family: 'Cairo', sans-serif; }
body[dir="rtl"] .quote-form label,
body[dir="rtl"] .section p,
body[dir="rtl"] .hero p { text-align: right; }
body[dir="rtl"] .lang-switch { flex-direction: row-reverse; }
body[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
body[dir="rtl"] .section h2::after { left: 50%; }
