/* ==========================================================================
   Amanda Boutique — brand stylesheet
   Palette: blush champagne #F4DCCB / #F9EADF · chocolate #6F4A2F · roast #52351F
   ========================================================================== */

:root {
  --blush: #F4DCCB;
  --blush-light: #F9EADF;
  --brown: #6F4A2F;
  --roast: #52351F;
  --shadow: rgba(111, 74, 47, 0.18);
  --shadow-soft: rgba(111, 74, 47, 0.10);
  --line: rgba(111, 74, 47, 0.22);

  --font-ar-display: 'Amiri', serif;
  --font-ar-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-en-display: 'Cormorant Garamond', Georgia, serif;
  --font-en-body: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  --font-script: 'Parisienne', cursive;

  --font-display: var(--font-ar-display);
  --font-body: var(--font-ar-body);

  --container: 1120px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

html[lang="en"] {
  --font-display: var(--font-en-display);
  --font-body: var(--font-en-body);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--blush);
  color: var(--roast);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   Embossed Art-Nouveau tulip texture — tone-on-tone, pressed into the blush
   -------------------------------------------------------------------------- */
.tulip-bg {
  position: relative;
  isolation: isolate;
}
.tulip-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-size: 150px 190px;
  /* light stroke offset above the dark stroke = embossed press */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='190' viewBox='0 0 150 190'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='rgba(255,255,255,0.5)' stroke-width='1.4' transform='translate(0,-1.2)'%3E%3Cpath d='M75 62 C63 50 63 34 75 22 C87 34 87 50 75 62 Z'/%3E%3Cpath d='M75 22 C75 14 75 10 75 6'/%3E%3Cpath d='M75 62 L75 118'/%3E%3Cpath d='M75 84 C60 82 50 70 48 56 C62 58 72 68 75 84 Z'/%3E%3Cpath d='M75 84 C90 82 100 70 102 56 C88 58 78 68 75 84 Z'/%3E%3Cpath d='M75 118 C64 128 52 128 42 120'/%3E%3Cpath d='M75 118 C86 128 98 128 108 120'/%3E%3C/g%3E%3Cg stroke='rgba(111,74,47,0.16)' stroke-width='1.4'%3E%3Cpath d='M75 62 C63 50 63 34 75 22 C87 34 87 50 75 62 Z'/%3E%3Cpath d='M75 22 C75 14 75 10 75 6'/%3E%3Cpath d='M75 62 L75 118'/%3E%3Cpath d='M75 84 C60 82 50 70 48 56 C62 58 72 68 75 84 Z'/%3E%3Cpath d='M75 84 C90 82 100 70 102 56 C88 58 78 68 75 84 Z'/%3E%3Cpath d='M75 118 C64 128 52 128 42 120'/%3E%3Cpath d='M75 118 C86 128 98 128 108 120'/%3E%3C/g%3E%3Cg stroke='rgba(111,74,47,0.09)' stroke-width='1'%3E%3Cpath d='M0 160 C25 150 50 170 75 160 C100 150 125 170 150 160'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.brand-script {
  font-family: var(--font-script);
  color: var(--brown);
  font-size: 2rem;
  line-height: 1;
  direction: ltr;
  display: inline-block;
}

.brand-caps {
  font-family: var(--font-en-display);
  letter-spacing: 0.45em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brown);
  text-transform: uppercase;
  direction: ltr;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.12em; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.5;
  color: var(--roast);
}
html[lang="en"] .section-title { font-weight: 500; line-height: 1.25; }

.section-sub {
  max-width: 34em;
  margin: 0.9rem auto 0;
  color: var(--brown);
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Header & nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(249, 234, 223, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand .brand-script { font-size: 1.7rem; }

.nav-links {
  display: flex;
  gap: clamp(1.1rem, 2.5vw, 2.2rem);
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--roast);
  padding-block: 0.3rem;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--brown);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

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

.lang-toggle,
.menu-toggle,
.mobile-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--brown);
  font-family: var(--font-en-display);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-toggle:hover,
.menu-toggle:hover,
.mobile-close:hover {
  background: var(--brown);
  color: var(--blush-light);
}
.menu-toggle { display: none; font-family: var(--font-body); letter-spacing: 0.05em; }

/* Mobile menu — a quiet full veil, no hamburger theatrics */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--blush-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-close { position: absolute; top: 1.2rem; inset-inline-end: 1.4rem; font-family: var(--font-body); letter-spacing: 0.05em; }
.mobile-tulip {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mobile-tulip::before { opacity: 0.35; }
.mobile-links { text-align: center; display: grid; gap: 1.4rem; }
.mobile-links a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--roast);
}
.mobile-note { position: absolute; bottom: 2rem; opacity: 0.7; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary {
  background: var(--brown);
  color: var(--blush-light);
  box-shadow: 0 10px 24px -12px var(--shadow);
}
.btn-primary:hover {
  background: var(--roast);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px var(--shadow);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--brown);
}
.btn-ghost:hover { background: rgba(111, 74, 47, 0.07); }
.btn-lg { padding: 1rem 2.6rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}
.hero-inner { max-width: 46rem; }

.hero-logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  direction: ltr;
}
.hero-silhouette {
  width: clamp(34px, 6vw, 48px);
  color: var(--brown);
  margin-bottom: 0.9rem;
}
.hero-script { font-size: clamp(3.4rem, 9vw, 5.4rem); }

.hero .brand-caps { margin-top: 0.4rem; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  line-height: 1.6;
  margin-top: 2.4rem;
  color: var(--roast);
}
html[lang="en"] .hero-title { font-weight: 500; font-style: italic; line-height: 1.3; }

.hero-sub {
  margin: 1rem auto 0;
  max-width: 32em;
  color: var(--brown);
  font-size: 1.05rem;
}

.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-light { background: var(--blush-light); }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-cta { text-align: center; margin-top: 3rem; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.pillar {
  text-align: center;
  padding: 2.5rem 1.8rem;
  background: var(--blush);
  border: 1px solid rgba(111, 74, 47, 0.12);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px -22px var(--shadow);
}
.pillar-mark {
  width: 44px;
  margin: 0 auto 1.2rem;
  color: var(--brown);
  opacity: 0.85;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--roast);
  margin-bottom: 0.6rem;
}
html[lang="en"] .pillar h3 { font-weight: 600; }
.pillar p { font-size: 0.96rem; color: var(--brown); }

/* --------------------------------------------------------------------------
   Collection grid
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.card {
  background: var(--blush-light);
  border: 1px solid rgba(111, 74, 47, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -24px var(--shadow);
}

.card-media,
.feat-media {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Placeholder tints — replaced by real photos */
.ph-1 { background: linear-gradient(160deg, #EAD0BC, #F4DCCB); }
.ph-2 { background: linear-gradient(160deg, #E3C3A9, #F1D7C3); }
.ph-3 { background: linear-gradient(160deg, #EDD5C0, #F9EADF); }
.ph-4 { background: linear-gradient(160deg, #E7CBB4, #F4DCCB); }
.ph-5 { background: linear-gradient(160deg, #EFD8C6, #F7E5D6); }
.ph-6 { background: linear-gradient(160deg, #E5C7AE, #F3DAC7); }
.ph-7 { background: linear-gradient(160deg, #DFBFA3, #F0D5BF); }
.ph-8 { background: linear-gradient(160deg, #ECD3BE, #F8E8DA); }

.card-media::after,
.feat-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 74, 47, 0.25);
  border-radius: 2px;
  pointer-events: none;
  transition: inset 0.45s var(--ease);
}
.card:hover .card-media::after { inset: 16px; }

.ph-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(82, 53, 31, 0.55);
}

.card-media img,
.feat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img,
.feat:hover .feat-media img { transform: scale(1.04); }

/* Editorial photo + identity strip in the story section */
.story-photo {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(111, 74, 47, 0.15);
  box-shadow: 0 24px 48px -30px var(--shadow);
  position: relative;
}
.story-photo img { width: 100%; max-height: 460px; object-fit: cover; object-position: center 30%; }
.story-photo figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1rem 1.4rem 0.9rem;
  background: linear-gradient(0deg, rgba(82, 53, 31, 0.55), transparent);
  color: var(--blush-light);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.id-strip {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
.id-strip figure {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(111, 74, 47, 0.15);
  aspect-ratio: 1;
}
.id-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.id-strip figure:hover img { transform: scale(1.06); }

@media (max-width: 820px) {
  .id-strip { grid-template-columns: repeat(3, 1fr); }
}

.card-body { padding: 1.1rem 1.2rem 1.3rem; text-align: center; }
.card-cat {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.75;
  margin-bottom: 0.3rem;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--roast);
  line-height: 1.6;
}
html[lang="en"] .card-name { font-weight: 600; }

/* --------------------------------------------------------------------------
   Featured / bestsellers
   -------------------------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feat {
  background: var(--blush);
  border: 1px solid rgba(111, 74, 47, 0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feat:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -24px var(--shadow);
}
.feat-body { padding: 1.5rem 1.6rem 1.8rem; text-align: center; }
.feat-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--roast);
}
html[lang="en"] .feat-body h3 { font-weight: 600; }
.feat-desc { font-size: 0.92rem; color: var(--brown); margin-top: 0.5rem; }
.feat-price {
  font-family: var(--font-en-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--roast);
  margin-top: 0.9rem;
}
.feat-price .old {
  font-size: 0.95rem;
  color: var(--brown);
  opacity: 0.7;
  text-decoration: line-through;
  margin-inline-start: 0.5rem;
}
.feat-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--brown);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feat-link:hover { color: var(--roast); border-color: var(--roast); }

.fineprint {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.8rem;
  color: rgba(111, 74, 47, 0.7);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.quote {
  background: var(--blush-light);
  border: 1px solid rgba(111, 74, 47, 0.1);
  border-radius: 4px;
  padding: 2.2rem 1.9rem;
  position: relative;
}
.quote::before {
  content: "❝";
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 1.2rem;
  font-size: 1.6rem;
  color: rgba(111, 74, 47, 0.3);
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 2;
  color: var(--roast);
}
html[lang="en"] .quote blockquote { line-height: 1.6; font-style: italic; }
.quote figcaption {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--brown);
}

/* --------------------------------------------------------------------------
   Visit / order
   -------------------------------------------------------------------------- */
.visit-wrap { text-align: center; }
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.visit-meta {
  margin-top: 3rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--brown);
}
.meta-label {
  font-weight: 500;
  color: var(--roast);
  margin-inline-end: 0.6rem;
}
.meta-label::after { content: " —"; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  text-align: center;
  background: var(--blush);
}
.footer-brand .brand-script { font-size: 2.4rem; }
.footer-brand .brand-caps { margin-top: 0.3rem; }
.footer-line {
  font-family: var(--font-display);
  color: var(--brown);
  margin-top: 1.4rem;
  font-size: 1.05rem;
}
.footer-credit {
  margin-top: 2.2rem;
  font-size: 0.8rem;
  color: rgba(111, 74, 47, 0.8);
}
.footer-credit a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease);
}
.footer-credit a:hover { color: var(--roast); }
.dot { margin-inline: 0.6rem; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .feat { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-block; }
  .pillars { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .quotes { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .card-body { padding: 0.9rem 0.7rem 1rem; }
  .card-name { font-size: 0.95rem; }
  .hero { padding-top: 6rem; }
  .btn { padding: 0.8rem 1.7rem; font-size: 0.9rem; }
}
