/* ==========================================================================
   Noor Al Ghala Ladies Tailoring
   Palette: cream, beige, gold, dark brown
   ========================================================================== */

:root {
  --cream:      #fbf8f4;
  --cream-2:    #f4ece2;
  --beige:      #e8dac9;
  --sand:       #d9c6ad;
  --gold:       #c2a05a;
  --gold-soft:  #d9bd85;
  --gold-deep:  #a5834a;
  --brown:      #3a2c24;
  --brown-2:    #56423a;
  --ink:        #2a201a;
  --muted:      #7c6a5e;
  --white:      #ffffff;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius: 4px;
  --shadow-sm: 0 6px 24px rgba(58, 44, 36, .07);
  --shadow-md: 0 18px 46px rgba(58, 44, 36, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: .01em;
}

h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); color: var(--brown); }
h2 em { font-style: italic; color: var(--gold-deep); }
h3 { font-size: 1.3rem; color: var(--brown); }

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(66px, 9vw, 116px) 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brown);
  color: var(--cream);
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------- shared bits */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 .9rem;
}
.eyebrow.dark { color: var(--gold-deep); }

.lede {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1rem;
}

.head { text-align: center; margin-bottom: clamp(38px, 5vw, 60px); }
.head .lede { margin-inline: auto; }

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-soft);
  font-size: .8rem;
  margin: 20px 0 22px;
}
.rule span {
  display: block;
  width: clamp(40px, 9vw, 78px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.rule span:last-child { background: linear-gradient(90deg, var(--gold-soft), transparent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .ico { fill: currentColor; }
.btn svg:not(.ico) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2f2318;
  box-shadow: 0 10px 26px rgba(162, 128, 70, .28);
}
.btn-gold:hover { box-shadow: 0 16px 34px rgba(162, 128, 70, .36); }

.btn-ghost {
  color: var(--cream);
  border-color: rgba(251, 248, 244, .5);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(251, 248, 244, .12); border-color: var(--cream); }

.btn-outline {
  color: var(--brown);
  border-color: var(--sand);
  background: transparent;
}
.btn-outline:hover { background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* --------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 248, 244, .95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(58, 44, 36, .08), 0 10px 30px rgba(58, 44, 36, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-soft);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--cream);
  transition: color .4s var(--ease);
}
.brand-sub {
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, .72);
  transition: color .4s var(--ease);
}

.site-header.scrolled .brand-name { color: var(--brown); }
.site-header.scrolled .brand-sub  { color: var(--muted); }
.site-header.scrolled .brand-mark { color: var(--gold-deep); border-color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > a {
  position: relative;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, .9);
  transition: color .3s var(--ease);
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold-soft);
  transition: width .35s var(--ease);
}
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.site-header.scrolled .nav > a { color: var(--brown-2); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--gold-soft) !important;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover { background: var(--gold-soft); color: #2f2318 !important; }

.menu-btn {
  display: none;
  width: 44px; height: 40px;
  padding: 10px 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background-color .4s var(--ease);
}
.site-header.scrolled .menu-btn span { background: var(--brown); }
.menu-btn[aria-expanded="true"] span { background: var(--brown); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 130px 0 96px;
  overflow: hidden;
  background: var(--brown);
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .62;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(58, 44, 36, .28) 0%, rgba(42, 32, 26, .82) 100%),
    linear-gradient(180deg, rgba(42, 32, 26, .55), rgba(42, 32, 26, .35) 45%, rgba(42, 32, 26, .9));
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero h1 {
  font-size: clamp(2.9rem, 9vw, 5.4rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: .02em;
}

.hero-arabic {
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  color: var(--gold-soft);
  margin: .35rem 0 0;
  letter-spacing: .02em;
}

.hero-kicker {
  font-size: clamp(.72rem, 2vw, .84rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(251, 248, 244, .82);
  margin: .9rem 0 0;
}

.hero-tag {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.6vw, 1.42rem);
  font-style: italic;
  color: rgba(251, 248, 244, .9);
  max-width: 34em;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 40px;
  border: 1px solid rgba(251, 248, 244, .45);
  border-radius: 999px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 9px;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* --------------------------------------------------------- about */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.about-media .frame {
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  z-index: 1;
}

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--muted); }

.about-points {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--brown-2);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217, 198, 173, .5);
}
.about-points li:last-child { border-bottom: 0; padding-bottom: 0; }
.about-points span { color: var(--gold); font-size: .8rem; }

/* --------------------------------------------------------- services */
.services {
  background:
    linear-gradient(180deg, var(--cream-2), var(--cream-2) 70%, var(--cream));
  border-block: 1px solid rgba(217, 198, 173, .45);
}

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

.card {
  background: var(--white);
  border: 1px solid rgba(217, 198, 173, .6);
  border-radius: var(--radius);
  padding: 40px 26px 34px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}

.card .icon {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid rgba(194, 160, 90, .35);
  transition: background-color .4s var(--ease);
}
.card:hover .icon { background: var(--beige); }
.card .icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------- gallery */
.gallery { background: var(--cream); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 224px);
  grid-template-areas:
    "a b c"
    "a d c"
    "e e f";
  gap: 16px;
}

/* the two portrait images take the tall cells, the interior shot goes wide */
.g-item:nth-child(1) { grid-area: a; }
.g-item:nth-child(2) { grid-area: b; }
.g-item:nth-child(3) { grid-area: d; }
.g-item:nth-child(4) { grid-area: f; }
.g-item:nth-child(5) { grid-area: c; }
.g-item:nth-child(6) { grid-area: e; }

.g-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige);
}
.g-item.tall { grid-row: span 2; }

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(42, 32, 26, .72));
  opacity: .55;
  transition: opacity .45s var(--ease);
}
.g-item:hover img { transform: scale(1.07); }
.g-item:hover::after { opacity: .9; }

.g-item figcaption {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--cream);
  letter-spacing: .02em;
  transform: translateY(6px);
  opacity: .92;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.g-item:hover figcaption { transform: translateY(0); opacity: 1; }

/* --------------------------------------------------------- contact */
.contact {
  background: var(--brown);
  color: rgba(251, 248, 244, .82);
}
.contact h2 { color: var(--cream); }
.contact .lede { color: rgba(251, 248, 244, .7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.info-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list svg {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 4px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-list strong {
  display: block;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.info-list span { font-size: .97rem; line-height: 1.65; }
.info-list a { border-bottom: 1px solid rgba(217, 189, 133, .45); }
.info-list a:hover { color: var(--gold-soft); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact .btn-outline { color: var(--cream); border-color: rgba(251, 248, 244, .35); }
.contact .btn-outline:hover { background: var(--cream); color: var(--brown); border-color: var(--cream); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(217, 189, 133, .3);
  box-shadow: var(--shadow-md);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: sepia(18%) saturate(88%) contrast(96%);
}

/* --------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 244, .62);
  padding: 46px 0 26px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(251, 248, 244, .12);
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { color: var(--gold-soft); border-color: rgba(217, 189, 133, .5); }
.f-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin: 0;
}
.f-sub {
  margin: 2px 0 0;
  font-size: .8rem;
  letter-spacing: .04em;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-nav a {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-soft); }

.copyright {
  padding-top: 22px;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .04em;
}
.copyright p { margin: 0; }

/* --------------------------------------------------------- floating whatsapp */
.fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab svg { width: 28px; height: 28px; fill: #fff; }
.fab:hover { transform: scale(1.07); box-shadow: 0 14px 32px rgba(37, 211, 102, .5); }

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

/* --------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-map iframe { height: 340px; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; position: relative; z-index: 2; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px 34px;
    background: var(--cream);
    box-shadow: -20px 0 50px rgba(42, 32, 26, .18);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav.open { transform: none; }
  .nav > a { color: var(--brown) !important; font-size: .9rem; }
  .nav-cta { color: var(--gold-deep) !important; border-color: var(--gold-deep); }
  .nav-cta:hover { background: var(--gold-deep); color: var(--cream) !important; }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(42, 32, 26, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
  }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .about-media .frame { inset: 16px -16px -16px 16px; }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 200px;
  }
  .g-item:nth-child(n) { grid-area: auto; }
  .g-item.tall { grid-row: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }

  .hero { padding: 120px 0 90px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .scroll-hint { display: none; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 32px 22px; }

  .grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .g-item.tall { grid-row: span 1; }

  .contact-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-nav { justify-content: center; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
