/* =========================================================
   ROBORESSO — Landing page v2 (light)
   ========================================================= */
/* ---------- Original brand fonts ----------
   Put the font files in /fonts with these names:
     fonts/metro.woff2 (or .ttf)            -> English brand font (Metro)
     fonts/roboresso-arabic.woff2 (or .ttf) -> Arabic tagline font from the design
   The design uses "Farah" (an Apple system font, not licensed for web embedding):
   Mac users with Farah installed see it automatically; everyone else gets Reem Kufi.
   Until the files are added, the page falls back to the Google Fonts below. */
@font-face {
  font-family: "Roboresso Arabic";
  src: url("fonts/roboresso-arabic.woff") format("woff"), url("fonts/roboresso-arabic.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg:       #f4ddd7;   /* matches the coffee visual's backdrop */
  --blush:    #f3ddd5;
  --copper:   #c38e7e;
  --navy:     #222d44;
  --charcoal: #3d3d3d;
  --ink:      #222226;
  --slate:    #5d6579;   /* location cards */

  --font-en: "Metro", "Josefin Sans", "Century Gothic", "Futura", sans-serif; /* swap for Metro if licensed */
  --font-script: "Roboresso Script", "Caveat", "Segoe Script", cursive;
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-ar-display: "Roboresso Arabic", "Farah", "Reem Kufi", "Tajawal", sans-serif;

  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[lang="ar"] { font-family: var(--font-ar); }

/* ---------- Decorative left-edge shapes ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--arc {
  left: -70px;
  top: 16%;
  width: 120px;
  height: 260px;
  background: var(--navy);
  border-radius: 0 140px 140px 0;
}
.deco--leaves {
  left: 0;
  top: 46%;
  width: 70px;
  opacity: .9;
}

/* ---------- Page wrapper ---------- */
.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.1rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

/* ---------- Top section ---------- */
.top {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.brand__logo img { width: clamp(220px, 28vw, 340px); }
.brand__ar {
  font-family: var(--font-ar-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.3;
  margin-top: .9rem;
}
.brand__en {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
  margin-top: .4rem;
}

/* WhatsApp offer card with copper offset */
.offer {
  position: relative;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.3rem 1.6rem;
  text-align: left;
  background: #f0d3ca;
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--copper), 0 12px 30px rgba(34, 45, 68, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.offer:hover {
  transform: translate(-3px, -3px);
  box-shadow: 18px 18px 0 var(--copper), 0 16px 36px rgba(34, 45, 68, .16);
}
.offer:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.offer__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--navy);
}
.offer__icon svg { width: 38px; height: 38px; fill: var(--blush); }
.offer__text {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding-left: 1.3rem;
  border-left: 1.5px solid rgba(34, 45, 68, .35);
}
.offer__en {
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.35;
  color: var(--navy);
}
.offer__en strong { color: var(--copper); filter: brightness(.8); }
.offer__ar { font-weight: 700; font-size: 1rem; color: var(--charcoal); text-align: right; }
.offer__arrow {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--navy);
  transition: transform .25s ease;
}
.offer:hover .offer__arrow { transform: translateX(4px); }

/* Coffee visual */
.visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual img {
  width: 100%;
  max-width: 520px;
  max-height: 72vh;
  object-fit: contain;
  /* soft edges so the photo melts into the page */
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 55% 52%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 66% at 55% 52%, #000 55%, transparent 100%);
}

/* ---------- Bottom bar ---------- */
.bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-top: clamp(1.2rem, 2.5vw, 1.6rem);
  border-top: 1px solid rgba(195, 142, 126, .55);
}
.bar h2 {
  font-weight: 600;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.3;
}
.bar__label p { font-weight: 700; font-size: 1.1rem; margin-top: .4rem; }

.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.loc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem .8rem 1rem;
  border-radius: 12px;
  background: var(--slate);
  color: #fff;
  overflow: hidden;
  transition: transform .25s ease, background-color .25s ease;
}
.loc:hover { transform: translateY(-4px); background: var(--navy); }
.loc:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.loc__num {
  position: absolute;
  top: .35rem;
  right: .7rem;
  font-weight: 600;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, .14);
}
.loc__pin {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blush);
  margin-bottom: .55rem;
}
.loc__pin svg { width: 17px; fill: var(--navy); }
.loc__name {
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: .06em;
  line-height: 1.2;
}
.loc__ar { font-size: .95rem; color: var(--blush); margin-top: .2rem; }

.follow {
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid rgba(195, 142, 126, .55);
}
.follow p { color: var(--copper); font-weight: 700; margin: .2rem 0 .7rem; }
.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  transition: transform .25s ease, background-color .25s ease;
}
.socials svg { width: 20px; fill: var(--blush); }
.socials a:hover { transform: translateY(-3px); background: var(--copper); }
.socials a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* ---------- Entrance animation ---------- */
.brand > *, .visual, .bar { animation: fadeUp .8s ease both; }
.brand__ar { animation-delay: .1s; }
.brand__en { animation-delay: .2s; }
.offer     { animation-delay: .3s; }
.visual    { animation-delay: .15s; }
.bar       { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Laptop / small desktop */
@media (max-width: 1180px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar__label { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 1rem; }
  .bar__label p { margin-top: 0; }
}

/* Tablet: stack top section */
@media (max-width: 900px) {
  .top { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .visual { margin-block: 1.2rem .4rem; }
  .offer { margin-bottom: 1.2rem; }
  .brand { display: contents; }
  .brand__logo { order: 1; } .brand__ar { order: 2; } .brand__en { order: 3; }
  .visual { order: 4; } .offer { order: 5; }
  .brand__logo, .brand__ar, .brand__en { text-align: center; }
  .visual img { max-width: 380px; max-height: none; }
  .offer { margin-inline: auto; }
  .bar { grid-template-columns: 1fr; text-align: center; }
  .bar__label { justify-content: center; }
  .follow {
    padding-left: 0;
    border-left: 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(195, 142, 126, .55);
  }
  .socials { justify-content: center; }
}

/* Phone */
@media (max-width: 600px) {
  .deco--arc { width: 90px; height: 180px; left: -60px; top: 8%; }
  .deco--leaves { width: 46px; top: 40%; }
  .visual img { max-width: 300px; }
  .brand__ar { font-size: clamp(1.35rem, 7vw, 1.9rem); white-space: nowrap; }
  .loc__num { display: none; }
  .offer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
    box-shadow: 8px 10px 0 var(--copper), 0 12px 30px rgba(34, 45, 68, .12);
  }
  .offer:hover { box-shadow: 10px 12px 0 var(--copper), 0 16px 36px rgba(34, 45, 68, .16); }
  .offer__text { padding-left: 0; border-left: 0; }
  .offer__ar { text-align: center; }
  .offer__arrow { display: none; }
  .bar__label { flex-direction: column; align-items: center; gap: .2rem; }
  .locations { grid-template-columns: 1fr; }
  .loc { flex-direction: row; text-align: left; gap: .9rem; padding: .9rem 1rem; }
  .loc__pin { margin-bottom: 0; flex-shrink: 0; }
  .loc__name { flex: 1; }
  .loc__ar { margin: 0; }
}

/* Very small phones */
@media (max-width: 360px) {
  .offer__icon { width: 58px; height: 58px; }
  .socials a { width: 40px; height: 40px; }
}

/* Landscape phones */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .visual img { max-width: 240px; }
}
