/* ===== Design tokens ===== */
:root {
  --cream:      #f7f3ec;
  --cream-2:    #efe9e0;
  --beige:      #e3dacb;
  --beige-deep: #cdbfa8;
  --sand:       #b59f80;
  --gold:       #b08d57;
  --ink:        #2b2620;
  --ink-soft:   #6c6457;
  --line:       #e2daccf2;
  --white:      #fffdfa;
  --shadow:     0 18px 50px -24px rgba(80, 68, 45, .35);
  --radius:     18px;
  --maxw:       1200px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ff-serif:   "Cormorant Garamond", "Cairo", serif;
  --ff-body:    "Jost", "Cairo", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}
html[lang="ar"] body { font-family: "Cairo", sans-serif; }
html[lang="ar"] .section-title { font-family: "Cairo", serif; font-weight: 700; }

.container { width: min(92%, var(--maxw)); margin-inline: auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .9rem 1.8rem; border-radius: 100px;
  font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #1d1813; box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--beige-deep); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--white); }
.btn.full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  padding-block: .25rem;
}
.header.scrolled {
  background: rgba(247, 243, 236, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-img { height: 46px; width: auto; display: block; }
@media (max-width: 760px) { .logo-img { height: 38px; } }
.logo-text { font-family: var(--ff-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .22em; color: var(--ink); }
.logo-tag { font-family: var(--ff-body); font-size: .58rem; letter-spacing: .42em; text-transform: uppercase; color: var(--sand); margin-top: .35rem; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: .95rem; color: var(--ink-soft); position: relative; padding-block: .25rem;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 0; height: 1px; background: var(--ink); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-toggle {
  background: transparent; border: 1px solid var(--beige-deep); color: var(--ink);
  border-radius: 100px; padding: .45rem 1rem; font-size: .85rem; font-weight: 600;
  cursor: pointer; letter-spacing: .05em; transition: all .3s var(--ease); font-family: var(--ff-body);
}
.lang-toggle:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 4px; }
.menu-btn span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 5%, var(--cream-2) 0%, transparent 55%),
    radial-gradient(90% 80% at 5% 95%, var(--beige) 0%, transparent 50%),
    var(--cream);
  padding-block: 7rem 4rem;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .78rem;
  color: var(--sand); margin-bottom: 1.2rem; font-weight: 600;
}
.hero-title {
  font-family: var(--ff-serif); font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1; letter-spacing: .12em;
  margin-bottom: .6rem; color: var(--ink);
}
.hero-tagline {
  font-family: var(--ff-body); text-transform: uppercase; letter-spacing: .38em;
  font-size: clamp(.7rem, 1.4vw, .9rem); color: var(--gold); margin-bottom: 1.8rem;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); max-width: 480px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover; object-position: top center;
}
.hero-badge {
  position: absolute; inset-block-end: 1.2rem; inset-inline-start: 1.2rem;
  background: rgba(247, 243, 236, .9); backdrop-filter: blur(6px);
  padding: .5rem 1.1rem; border-radius: 100px; font-size: .8rem; letter-spacing: .04em;
  color: var(--ink); box-shadow: var(--shadow);
}
.hero-scroll {
  position: absolute; inset-block-end: 1.5rem; inset-inline-start: 50%;
  transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-soft);
}
.hero-scroll span { animation: bob 2s var(--ease) infinite; display: inline-block; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

/* ===== Section primitives ===== */
section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-eyebrow { text-transform: uppercase; letter-spacing: .26em; font-size: .76rem; color: var(--sand); font-weight: 600; margin-bottom: .9rem; }
.section-title { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; margin-bottom: 1.2rem; }
.section-desc { color: var(--ink-soft); max-width: 540px; }
.section-head.center { text-align: center; margin-inline: auto; margin-bottom: 2.5rem; max-width: 640px; }
.section-head.center .section-desc { margin-inline: auto; }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-visual { position: relative; height: 520px; }
.about-img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; object-position: top center; background: var(--cream-2); }
.about-img-1 { inset-block-start: 0; inset-inline-start: 0; width: 66%; height: 78%; }
.about-img-2 { inset-block-end: 0; inset-inline-end: 0; width: 52%; height: 60%; border: 6px solid var(--white); }
.about-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--ff-serif); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat-label { font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; }

/* ===== Filters ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn {
  font-family: var(--ff-body); font-size: .9rem; letter-spacing: .03em;
  padding: .55rem 1.3rem; border-radius: 100px; cursor: pointer;
  border: 1px solid var(--beige-deep); background: transparent; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--sand); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-btn.filter-ribbon { border-color: #e3b8c2; color: #9a4a5e; }
.filter-btn.filter-ribbon:hover { border-color: #c97f91; }
.filter-btn.filter-ribbon.active { background: #9a4a5e; border-color: #9a4a5e; color: var(--cream); }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--beige); box-shadow: var(--shadow); cursor: pointer;
  aspect-ratio: 4/5; transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43, 38, 32, .45) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card:hover img { transform: scale(1.05); }
.card:hover::after { opacity: 1; }
.card-label {
  position: absolute; inset-block-end: 0; inset-inline: 0; z-index: 2;
  padding: 1.1rem 1.2rem; color: var(--cream); font-size: .85rem; letter-spacing: .05em;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card-label { opacity: 1; transform: translateY(0); }
.card.hide { display: none; }

/* ===== Testimonials ===== */
.testimonials { background: var(--white); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; display: flex; flex-direction: column; gap: 1rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1rem; }
.review blockquote { font-family: var(--ff-serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
html[lang="ar"] .review blockquote { font-family: "Cairo", serif; font-size: 1.12rem; line-height: 1.7; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review-name { font-weight: 600; }
.review-role { font-size: .85rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-text p { color: var(--ink-soft); margin-bottom: 2rem; }
.contact-info { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-info li { display: flex; flex-direction: column; gap: .15rem; }
.ci-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--sand); }
.contact-info a, .contact-info span:not(.ci-label) { font-size: 1.05rem; color: var(--ink); }
.contact-info a:hover { color: var(--sand); }
.socials { display: flex; gap: .8rem; flex-wrap: wrap; }
.social { font-size: .85rem; padding: .55rem 1.1rem; border: 1px solid var(--beige-deep); border-radius: 100px; transition: all .3s var(--ease); }
.social:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  transition: border .3s var(--ease), box-shadow .3s var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(181, 159, 128, .18); }
.form-note { font-size: .95rem; color: var(--gold); font-weight: 600; text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--cream); padding-block: 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; line-height: 1; }
.footer .logo-text { color: var(--cream); }
.footer .logo-tag { color: var(--beige-deep); }
.footer-copy { font-size: .85rem; color: rgba(247, 243, 236, .6); }

/* ===== Product modal (lightbox) ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(30, 25, 20, .92); backdrop-filter: blur(4px); padding: 3vmin;
}
.lightbox.open { display: flex; }
.lb-panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  width: min(94vw, 920px); max-height: 92vh; background: var(--cream);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lb-media { position: relative; background: var(--beige); min-height: 0; }
.lb-veil {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem; text-align: center; padding: 1.6rem;
  background: linear-gradient(180deg, rgba(250,238,241,.42), rgba(154,74,94,.30));
  backdrop-filter: blur(9px) saturate(115%);
  -webkit-backdrop-filter: blur(9px) saturate(115%);
}
.lb-veil-icon { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.lb-veil-text {
  font-family: var(--ff-serif); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: #fff; line-height: 1.35; text-shadow: 0 2px 10px rgba(80,30,45,.45);
}
html[lang="ar"] .lb-veil-text { font-family: "Cairo", serif; }
.lb-veil-sub {
  font-size: .8rem; letter-spacing: .04em; color: #fff;
  background: rgba(154,74,94,.55); border: 1px solid rgba(255,255,255,.45);
  padding: .4rem 1rem; border-radius: 100px; backdrop-filter: blur(2px);
}
.lb-img { width: 100%; height: 100%; max-height: 92vh; object-fit: cover; object-position: top center; display: block; }
.lb-info {
  padding: clamp(1.4rem, 3vw, 2.2rem); overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.lb-collection { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--sand); font-weight: 600; }
.lb-title { font-family: var(--ff-serif); font-size: 1.8rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
html[lang="ar"] .lb-title { font-family: "Cairo", serif; }
.lb-desc { color: var(--ink-soft); font-size: .98rem; }
.lb-support {
  background: #fbeef1; color: #9a4a5e; border: 1px solid #f1d3da;
  border-radius: 12px; padding: .75rem .95rem; font-size: .88rem; line-height: 1.65;
}
.lb-sizes h4 { font-size: .95rem; margin-bottom: .6rem; color: var(--ink); }
.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.size-table th, .size-table td { border: 1px solid var(--line); padding: .5rem .55rem; text-align: center; }
.size-table thead th { background: var(--beige); color: var(--ink); font-weight: 600; }
.size-table tbody td:first-child { font-weight: 600; color: var(--ink); }
.lb-sizes-note { font-size: .78rem; color: var(--ink-soft); margin-top: .55rem; }
.lb-order { margin-top: .4rem; }
.lb-order.soon {
  background: #f6e4e8; color: #9a4a5e; border: 1px dashed #d49aa8;
  pointer-events: none; cursor: default; box-shadow: none; transform: none;
}

.lb-close, .lb-nav {
  background: rgba(247,243,236,.14); color: var(--cream);
  border: 1px solid rgba(247,243,236,.32); cursor: pointer; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(247,243,236,.3); }
.lb-close { position: fixed; inset-block-start: 3vmin; inset-inline-end: 3vmin; z-index: 110; }
.lb-nav { position: absolute; inset-block-start: 50%; transform: translateY(-50%); background: rgba(30,25,20,.4); }
.lb-prev { inset-inline-start: .7rem; }
.lb-next { inset-inline-end: .7rem; }

@media (max-width: 760px) {
  .lb-panel { grid-template-columns: 1fr; max-height: 92vh; }
  .lb-media { max-height: 46vh; }
  .lb-img { max-height: 46vh; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.3rem; }
}

/* ===== Reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 420px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { height: 420px; max-width: 460px; }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; inset-block-start: 0; inset-inline-end: 0; height: 100dvh; width: min(78%, 320px);
    background: var(--cream); flex-direction: column; justify-content: center; gap: 2rem;
    padding: 2rem; box-shadow: var(--shadow); z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 1.3rem; font-family: var(--ff-serif); }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .about-stats { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
