:root {
  --bg: #0e0b08;
  --bg-alt: #15110c;
  --bg-card: #1a1510;
  --bg-elevated: #1f1812;
  --line: #2a2118;
  --line-strong: #3a2e22;
  --beige: #d9c7a7;
  --beige-soft: #c4ad84;
  --beige-mute: #8a7858;
  --brown: #a67c52;
  --brown-deep: #6b4a2b;
  --accent: #c8a565;
  --text: #d9c7a7;
  --text-dim: #8a7858;
  --text-bright: #ead8b5;
  --serif: 'Cormorant Garamond', serif;
  --arabic: 'Amiri', serif;
  --sans: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(166, 124, 82, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(200, 165, 101, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
}
::selection { background: var(--brown); color: var(--bg); }
a { color: inherit; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(14, 11, 8, 0.78);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif); font-size: 1.8rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--beige);
  display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none;
}
.logo .arabic { font-family: var(--arabic); font-size: 1.4rem; color: var(--brown); }
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
}
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  transition: color 0.3s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--beige); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: var(--brown);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
  padding: 1rem 2rem; font-family: var(--sans); font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--brown); color: var(--beige); background: transparent;
  transition: all 0.4s ease; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.btn:hover { background: var(--brown); color: var(--bg); }
.btn-filled { background: var(--brown); color: var(--bg); }
.btn-filled:hover { background: var(--accent); border-color: var(--accent); }
.btn-arrow { transition: transform 0.3s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-back .btn-arrow { transform: rotate(180deg); }
.btn-back:hover .btn-arrow { transform: rotate(180deg) translateX(4px); }

.ornament {
  text-align: center; margin: 0 auto;
  color: var(--brown); font-size: 1.5rem; letter-spacing: 1rem; opacity: 0.5;
}

section { padding: 6rem 3rem; position: relative; z-index: 2; }
.section-header {
  max-width: 1500px; margin: 0 auto 4rem;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: end;
}
.section-label {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--brown); display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--brown); }
.section-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400; line-height: 1; color: var(--text-bright); letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--brown); }
.section-description {
  font-size: 1rem; color: var(--text); max-width: 500px;
  line-height: 1.8; margin-top: 1.5rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 5rem 3rem 2rem; background: var(--bg-alt);
  position: relative; z-index: 2;
}
.footer-grid {
  max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-dim); max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 1.5rem; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--beige); }
.footer-bottom {
  max-width: 1500px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-dim);
  flex-wrap: wrap; gap: 1rem;
}

.rating { display: inline-flex; gap: 3px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.dot.filled { background: var(--brown); }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; font-size: 0.7rem; }
  section { padding: 5rem 1.5rem; }
  .section-header { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  nav { padding: 1rem; flex-wrap: wrap; gap: 1rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
