/* ===================================================================
   AYAAT ARTS — Design tokens
   Palette pulled from the brand mark: deep navy, leaf green, warm gold
   (frames are gilded — the gold is the one liberty taken beyond the
   logo's navy/green/white, earned by the product itself).
   Type: Amiri (display, calligraphic serif with Arabic support) paired
   with Poppins (body/UI) — the pairing itself is the brand voice.
   =================================================================== */

:root {
  --navy-deep: #0B1730;
  --navy: #12213F;
  --navy-soft: #1C2E52;
  --green: #3FA65A;
  --green-deep: #2C7A42;
  --green-tint: #E7F3EA;
  --gold: #B4933F;
  --gold-soft: #E7DAB4;
  --cream: #FBF6EC;
  --ink: #1B2333;
  --ink-soft: #4B5468;
  --white: #FFFFFF;

  --font-display: 'Amiri', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --arch-radius: 40% 40% 0 0 / 60% 60% 0 0;
  --shadow-soft: 0 20px 40px -20px rgba(11, 23, 48, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(11, 23, 48, 0.25);

  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ===================================================================
   Signature motif: the arch. Derived from the dome/finial shape in the
   Ayaat Arts mark. Used to literally "frame" product photography and
   as a section divider — tying the visual language to the product.
   =================================================================== */

.arch-frame {
  position: relative;
  border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}

.arch-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--gold-soft);
  pointer-events: none;
}

.arch-divider {
  width: 100%;
  height: 46px;
  display: block;
}

/* ===================================================================
   Top bar / announcement strip
   =================================================================== */

.topbar {
  background: var(--navy-deep);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px 16px;
}

/* ===================================================================
   Header / nav
   =================================================================== */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(11, 23, 48, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 2px;
  color: var(--navy);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active { color: var(--green-deep); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }

.nav-links a.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.25s ease;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 40;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--white); font-size: 1.1rem; }
  .nav-links a::after { background: var(--gold); }
  .nav-cta { display: none; }
  .nav-links a.nav-cta-mobile { display: inline-flex; margin-top: 12px; }
  .nav-toggle { display: block; }
}

/* ===================================================================
   Hero
   =================================================================== */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 88px 24px 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-soft);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  max-width: 620px;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero p.lede {
  margin-top: 22px;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px -10px rgba(63, 166, 90, 0.55);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-arch {
  width: min(360px, 100%);
  aspect-ratio: 3/4;
}

.hero-visual .arch-frame {
  width: min(360px, 100%);
  aspect-ratio: 3/4;
  border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -18px;
  background: var(--cream);
  color: var(--navy);
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  max-width: 200px;
  font-weight: 600;
}

.hero-badge span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green-deep);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px 72px; text-align: left; }
  .hero-visual { justify-self: start; margin-top: 8px; }
}

/* ===================================================================
   Section scaffolding
   =================================================================== */

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-tint { background: var(--green-tint); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center { margin-inline: auto; text-align: center; }

.section-head .eyebrow { color: var(--green-deep); }
.section-navy .section-head .eyebrow { color: var(--gold-soft); }

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-top: 8px;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ===================================================================
   Category grid (home)
   =================================================================== */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }

.cat-card .cat-media {
  aspect-ratio: 4/5;
  background: var(--navy-soft);
  position: relative;
  overflow: hidden;
}

.cat-media img { width: 100%; height: 100%; object-fit: cover; }

.cat-card .cat-body {
  padding: 18px 20px 22px;
}

.cat-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.cat-card p {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ===================================================================
   Product grid
   =================================================================== */

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-chip {
  background: var(--white);
  border: 1.5px solid rgba(11,23,48,0.12);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover { border-color: var(--green); color: var(--green-deep); }

.filter-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.product-media {
  aspect-ratio: 1/1;
  position: relative;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  overflow: hidden;
}

.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-media .ph-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  gap: 10px;
  text-align: center;
  padding: 0 16px;
}

.product-media .ph-icon svg { width: 44px; height: 44px; opacity: 0.7; }
.product-media .ph-icon small { font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.4); }

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body .cat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  font-weight: 600;
}

.product-body .sku-label {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  color: var(--ink-soft);
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.product-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
}

.product-body p.desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 12px;
}

.price {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}

.price small {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 0.72rem;
  display: block;
  font-weight: 500;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wa-btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.wa-btn svg { width: 16px; height: 16px; }

@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   How-it-works (inquiry process) strip
   =================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  text-align: left;
  padding: 8px 0;
}

.process-step .step-mark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green);
  display: block;
  margin-bottom: 10px;
}

.process-step h4 { font-size: 1.05rem; color: var(--white); }
.process-step p { margin-top: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.68); }

@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   Testimonials
   =================================================================== */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testi-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold-soft);
  position: absolute;
  top: 6px;
  left: 20px;
  line-height: 1;
}

.testi-card p.quote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-top: 18px;
}

.testi-name {
  margin-top: 16px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.testi-name span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   About page specific
   =================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-hero .arch-frame { aspect-ratio: 4/5; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }

.value-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg { width: 22px; height: 22px; }

.value-item h4 { font-size: 1rem; color: var(--navy); }
.value-item p { margin-top: 4px; font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

/* ===================================================================
   Contact page
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11,23,48,0.08);
}
.contact-method:last-child { border-bottom: none; }

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-method h4 { font-size: 0.98rem; color: var(--navy); }
.contact-method p { margin-top: 4px; font-size: 0.9rem; color: var(--ink-soft); }
.contact-method a.link { color: var(--green-deep); font-weight: 600; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(11,23,48,0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green);
  outline: none;
  background: var(--white);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CTA banner
   =================================================================== */

.cta-banner {
  background: var(--navy-deep);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,166,90,0.25), transparent 70%);
}

.cta-banner h3 { color: var(--white); font-size: 1.7rem; max-width: 420px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 420px; }

/* ===================================================================
   Footer
   =================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img { height: 42px; width: 42px; object-fit: contain; }
.footer-brand span { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); }

.footer-grid h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-grid p { font-size: 0.9rem; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.social-row a:hover { background: var(--green); }
.social-row svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Floating WhatsApp button
   =================================================================== */

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(63,166,90,0.6);
  z-index: 60;
  transition: transform 0.2s ease;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; color: var(--white); }

/* ===================================================================
   Page hero (about/contact/shop simple banner)
   =================================================================== */

.page-banner {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
}
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-banner p { margin-top: 14px; color: rgba(255,255,255,0.7); max-width: 560px; margin-inline: auto; }

/* Utility */
.mt-lg { margin-top: 64px; }
.text-center { text-align: center; }
