@font-face {
  font-family: "IwanZaza";
  src: url("../assets/fonts/iwan-zaza-personal.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IwanZaza";
  src: url("../assets/fonts/iwanzaza-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html,
body,
button,
a,
input,
textarea {
  font-family: "IwanZaza", sans-serif;
}

:root {
  --hero-logo-watermark: url("../assets/images/logo.png");
  --navy: #17465E;
  --navy-deep: #0f3446;
  --gold: #EFC384;
  --cream: #FAF7C8;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #17313e;
  --muted: #6c7b83;
  --line: rgba(23, 70, 94, 0.11);
  --shadow: 0 18px 46px rgba(23, 70, 94, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
  --brand-font: Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  direction: rtl;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--brand-font);
  line-height: 1.75;
  overflow-x: hidden;
}

body.font-ready {
  --brand-font: "IwanZaza", Arial, sans-serif;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-title {
  margin: 0 0 12px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(2.05rem, 4vw, 3.4rem);
  line-height: 1.2;
}

.section-subtitle {
  max-width: 730px;
  margin: 0 auto 40px;
  color: var(--muted);
  text-align: center;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(23, 70, 94, .16);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

/* Header */
.site-header {
    position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;

  /* position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 70, 94, .97);
  color: var(--white);
  border-bottom: 1px solid rgba(239, 195, 132, .17);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease; */
}

.site-header.is-scrolled {
    background: rgba(6, 24, 34, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .20);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .3s ease;
}

.site-header.is-scrolled .nav {
  min-height: 66px;
}

.logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: width .3s ease, height .3s ease;
}

.site-header.is-scrolled .logo {
  width: 50px;
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  opacity: .84;
  transition: color .25s ease, opacity .25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  opacity: 1;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Editing */
.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  /* display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #EFC384;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: .92;
  transition: color .22s ease, transform .22s ease, opacity .22s ease; */
    width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.social-icon:hover {
  /* color: var(--gold);
  transform: translateY(-2px);
  opacity: 1; */
  transform: translateY(-2px) scale(1.08);
  opacity: 0.85;
}

/* Hero */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(239, 195, 132, .18), transparent 32%),
    linear-gradient(90deg, #fffdf8 0%, #fffaf2 55%, #f2e3ce 100%);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  padding-block: 70px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #bd8338;
  font-size: 1.2rem;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.3rem, 6.3vw, 6rem);
  line-height: 1.08;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 30px;
  color: #435760;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  align-self: stretch;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-photo-frame {
  position: absolute;
  inset: 36px 0 0 0;
  overflow: hidden;
  border-radius: 230px 0 0 0;
  border: 5px solid var(--navy);
  border-right-width: 0;
  border-bottom-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  background: #ead9c2;
  -webkit-mask-image: linear-gradient(
    to left,
    #000 0%,
    #000 74%,
    rgba(0,0,0,.94) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to left,
    #000 0%,
    #000 74%,
    rgba(0,0,0,.94) 82%,
    transparent 100%
  );
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  filter: saturate(.94) contrast(.99) brightness(1.02);
}

/* Categories / Instagram-highlight style */
.categories {
  background: var(--white);
}

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

.category {
  text-align: center;
}

.category-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease;
}

.category-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(23,70,94,.30), rgba(23,70,94,.30)),
    var(--category-image, none) center/cover no-repeat;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(23,70,94,.72), transparent 58%);
}

.category-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(23,70,94,.18);
}

.category-media:hover::before {
  transform: scale(1.08);
}

.category h3 {
  margin: 13px 0 0;
  color: var(--navy);
  font-size: 1.05rem;
}

/* Why */
.why {
  background: linear-gradient(180deg, #fffaf0, #fffdf8);
}

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

.feature-card {
  padding: 34px 28px;
  text-align: center;
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(23,70,94,.06);
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(239,195,132,.28);
  color: #a9702c;
  font-size: 1.45rem;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

/* Instagram */
.instagram {
  background: var(--white);
}

.instagram-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
}

.instagram-copy .section-title {
  text-align: right;
}

.instagram-track-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.instagram-track {
  direction: ltr;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 14px;
}

.instagram-track::-webkit-scrollbar {
  display: none;
}

.insta-card {
  scroll-snap-align: start;
  aspect-ratio: .78;
  overflow: hidden;
  border-radius: 18px;
  background: #f0eee8;
  box-shadow: 0 10px 24px rgba(23,70,94,.08);
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.insta-card:hover img {
  transform: scale(1.06);
}

/* Shop */
.shop {
  background: var(--paper);
}

.shop-strip {
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.shop-strip h2 {
  margin: 0;
  color: var(--gold);
}

.shop-strip p {
  margin: 8px 0 0;
  opacity: .9;
}

/* Branches */
.branches {
  background: #fffaf0;
}

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

.branch-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(23,70,94,.06);
  text-align: center;
}

.branch-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
    text-align: center;
}

.branch-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.footer {
  padding: 54px 0 26px;
  background: var(--navy);
  color: rgba(255,255,255,.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 48px;
}

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer h3 {
  margin-top: 0;
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  opacity: .74;
  font-size: .92rem;
}

/* Floating buttons */
.floating-whatsapp,
.scroll-top {
  position: fixed;
  z-index: 90;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}

.floating-whatsapp {
  inset-inline-start: 24px;
  background: #1f8f5f;
  color: white;
}

.scroll-top {
  inset-inline-end: 24px;
  background: var(--gold);
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-whatsapp:hover,
.scroll-top:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    text-align: center;
    padding-bottom: 20px;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-photo-frame {
    position: relative;
    inset: auto;
    width: 100%;
    height: 500px;
    border-radius: 80px 80px 0 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
  }


  .category-grid {
    grid-template-columns: repeat(3, 1fr);
   
    
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .instagram-layout {
    grid-template-columns: 1fr;
  }

  .instagram-copy {
    text-align: center;
  }

  .instagram-copy .section-title {
    text-align: center;
  }

  .branch-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section { padding: 62px 0; }

  .nav { min-height: 68px; }

  .logo {
    width: 50px;
    height: 50px;
  }

  .header-instagram {
    min-height: 44px;
    padding: 0 14px;
    font-size: .87rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.35rem);
  }

  .hero-visual {
    min-height: 420px;
  }
  .hero-photo-frame {
    height: 420px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  .instagram-track {
    grid-auto-columns: 68%;
  }

  .shop-strip {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
}


@media (max-width: 980px) {
  .header-actions {
    gap: 10px;
  }

  .social-icons {
    display: none;
  }

  .hero-photo-frame {
    border: 4px solid var(--navy);
    border-bottom-width: 0;
    border-radius: 80px 80px 0 0;
  }
}


/* ===== Hero centered - text only ===== */
.hero-centered {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(239,195,132,.20), transparent 26%),
    radial-gradient(circle at 10% 70%, rgba(23,70,94,.05), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf2 100%);
}

.hero-centered::before,
.hero-centered::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  opacity: .055;
  background-image: var(--hero-logo-watermark, none);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.hero-centered::before {
  top: 50%;
  right: -130px;
  transform: translateY(-50%) rotate(-8deg);
}

.hero-centered::after {
  top: 50%;
  left: -130px;
  transform: translateY(-50%) rotate(8deg);
}

.hero-centered-wrap {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-copy-centered {
  width: min(100%, 860px);
  padding: 92px 20px;
  text-align: center;
  margin-inline: auto;
}

.hero-copy-centered .eyebrow {
  /* margin-bottom: 12px; */
  font-size: 2rem;
}

.hero-copy-centered h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 1.04;
}

.hero-copy-centered p {
  max-width: 720px;
  margin: 24px auto 32px;
  color: #435760;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-copy-centered .hero-actions {
  justify-content: center;
}

/* Hide old image hero if any residual markup/styles remain */
.hero-centered .hero-visual,
.hero-centered .hero-photo-frame {
  display: none !important;
}

@media (max-width: 620px) {
  /* .hero-centered,
  .hero-centered-wrap {
    min-height: 540px;
  }

  .hero-copy-centered {
    padding: 70px 10px;
  }

  .hero-copy-centered h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-copy-centered .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy-centered .btn {
    width: min(100%, 280px);
  } */

  .hero-centered::before,
.hero-centered::after {
  width: 300px;
  height: 300px;
  top: 50%;
  opacity: 0.075;
}

/* الشعار على اليمين */
.hero-centered::before {
  right: -150px;
  left: auto;
  transform: translateY(-50%);
}

/* الشعار على اليسار */
.hero-centered::after {
  left: -170px;
  right: auto;
  transform: translateY(-50%);
}
}


/* ===== Al Loaloaa Dark Theme ===== */
:root {
  --paper: #071a24;
  --white: #0c2936;
  --ink: #f8efdf;
  --muted: #bec7c7;
  --line: rgba(239,195,132,.14);
  --shadow: 0 18px 46px rgba(0,0,0,.28);
}

body { background:#071a24; color:#f8efdf; }

.site-header {
   background: transparent;
  border-bottom-color: transparent;
}

.hero-centered {
  background:
    radial-gradient(circle at 50% 5%, rgba(239,195,132,.12), transparent 28%),
    radial-gradient(circle at 15% 70%, rgba(23,70,94,.42), transparent 34%),
    linear-gradient(180deg,#0d3445 0%,#071a24 100%);
}

.hero-copy-centered h1,
.hero h1,
.section-title { color:var(--gold); }

.hero-copy-centered .eyebrow,
.eyebrow { color:#f1cf9c; }

.hero-copy-centered p,
.hero p,
.section-subtitle,
.instagram-copy p { color:#c9cecc; }

.hero-centered::before,
.hero-centered::after { opacity:.075; }

.categories,
.instagram,
.shop { background:#0a222e; }

.why {
  background:
    radial-gradient(circle at 50% 0%,rgba(239,195,132,.06),transparent 35%),
    #071a24;
}

.branches { background:#061821; }

.category h3 { color:#f8efdf; }

.category-media {
  background:#123c4e;
  border-color:var(--gold);
  box-shadow:0 16px 36px rgba(0,0,0,.28);
}

.feature-card,
.branch-card {
  background:#0d2936;
  border-color:rgba(239,195,132,.14);
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}

.feature-card h3,
.branch-card h3 { color:var(--gold); }

.feature-card p,
.branch-card p { color:#c6cbca; }

.feature-icon {
  background:rgba(239,195,132,.12);
  color:var(--gold);
  border:1px solid rgba(239,195,132,.18);
}

.insta-card {
  background:#102f3d;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}

.shop-strip {
  background:linear-gradient(135deg,#123f53,#0b2c3a);
  border:1px solid rgba(239,195,132,.14);
  box-shadow:0 18px 42px rgba(0,0,0,.28);
}

.btn-gold { background:var(--gold); color:#10384a; }

.btn-navy {
  background:#17465E;
  color:#fff;
  border:1px solid rgba(239,195,132,.16);
}

.footer {
  background:#05151d;
  border-top:1px solid rgba(239,195,132,.12);
}
