/* =========================================================================
   urfood-landing.css — UR FOOD public landing page.

   Loaded LAST in layouts/landing/app.blade.php so it wins over the bundled
   theme (assets_new/css/main.css). Palette is the brand one, sampled from the
   logo: maroon #481818 + tan #B08860 — same as the admin sign-in screen.

   Nothing here points at /storage: every image is either a repo asset or drawn
   in CSS, so the page renders correctly even while uploaded media is missing.
   ========================================================================= */

:root {
  --uf-maroon:#4A1919;
  --uf-maroon-deep:#2C0D0D;
  --uf-maroon-soft:#6B2B2B;
  --uf-tan:#B08860;
  --uf-tan-light:#D3B189;
  --uf-tan-deep:#8E6A45;

  --uf-ink:#241615;
  --uf-body:#5C4A45;
  --uf-page:#FFFCFA;
  --uf-surface:#FFFFFF;
  --uf-line:#EFE4DA;

  --uf-radius:16px;
  --uf-radius-lg:24px;
  --uf-shadow:0 10px 30px rgba(44,13,13,.08);
  --uf-shadow-lg:0 24px 60px rgba(44,13,13,.16);
  --uf-container:1160px;
  --uf-ease:cubic-bezier(.4,0,.2,1);
}

.uf-page { background: var(--uf-page); color: var(--uf-body); }
.uf-container { width: min(100% - 2.5rem, var(--uf-container)); margin-inline: auto; }

.uf-section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.uf-section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); }
.uf-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--uf-tan-deep);
  margin-bottom: .75rem;
}
.uf-h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em; color: var(--uf-ink); margin: 0 0 .75rem;
}
.uf-lead { font-size: clamp(.98rem, 1.4vw, 1.0625rem); line-height: 1.65; color: var(--uf-body); margin: 0; }

/* ============================== HERO ==================================== */
.uf-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(211,177,137,.22), transparent 60%),
    radial-gradient(760px 460px at 100% 106%, rgba(176,136,96,.26), transparent 58%),
    linear-gradient(155deg, #5A2222 0%, var(--uf-maroon) 44%, var(--uf-maroon-deep) 100%);
}
.uf-hero::after {                     /* fork-and-spoon watermark */
  content: "";
  position: absolute; inset-block-end: -8%; inset-inline-end: 2%;
  width: min(30%, 260px); aspect-ratio: 500/610;
  background: url("../admin/img/urfood-mark-white.png") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.uf-hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .uf-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.uf-hero__logo { height: clamp(46px, 6vw, 62px); width: auto; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.uf-hero__title {
  font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -.03em; color: #fff; margin: 0 0 .85rem;
}
.uf-hero__title span { color: var(--uf-tan-light); }
.uf-hero__sub { font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.55; color: rgba(255,255,255,.82); margin: 0 0 2rem; max-width: 46ch; }

/* store buttons — the point of the page. Brand pills carrying the authentic
   Play / Apple marks (cropped out of the official badges). */
.uf-stores { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2rem; }
.uf-store {
  display: inline-flex; align-items: center; gap: .8rem;
  min-height: 62px; padding: .7rem 1.5rem .7rem 1.15rem;
  border-radius: 16px; text-decoration: none;
  background: linear-gradient(160deg, #FFF9F1, #F6E7D6);
  border: 1.5px solid rgba(176,136,96,.55);
  color: var(--uf-maroon);
  box-shadow: 0 12px 28px rgba(0,0,0,.26);
  transition: transform .18s var(--uf-ease), box-shadow .18s var(--uf-ease), background .18s var(--uf-ease);
}
.uf-store:hover, .uf-store:focus {
  transform: translateY(-2px); text-decoration: none; color: var(--uf-maroon);
  background: linear-gradient(160deg, #FFFDF9, #FBEFE0);
  box-shadow: 0 18px 36px rgba(0,0,0,.32);
}
.uf-store:focus-visible { outline: 3px solid var(--uf-tan-light); outline-offset: 3px; }
.uf-store__mark { width: 26px; height: 28px; flex: 0 0 auto; object-fit: contain; }
.uf-store__label { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.uf-store__label small {
  font-size: .6875rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--uf-tan-deep);
}
.uf-store__label strong { font-size: 1.125rem; font-weight: 800; letter-spacing: -.015em; color: var(--uf-maroon); }
@media (max-width: 420px) {
  .uf-store { min-height: 56px; padding: .6rem 1.15rem .6rem .9rem; gap: .65rem; }
  .uf-store__label strong { font-size: 1rem; }
}
/* footer pair: same pill, a touch smaller and quieter on the dark band */
.uf-stores--footer { margin: 1.25rem 0 0; gap: .6rem; }
.uf-stores--footer .uf-store { min-height: 52px; padding: .5rem 1.1rem .5rem .85rem; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.uf-stores--footer .uf-store__mark { width: 22px; height: 24px; }
.uf-stores--footer .uf-store__label small { font-size: .625rem; }
.uf-stores--footer .uf-store__label strong { font-size: .9375rem; }
/* the footer rule that whitens every link must not bleach the pills */
footer .uf-store .uf-store__label small { color: var(--uf-tan-deep) !important; }
footer .uf-store .uf-store__label strong { color: var(--uf-maroon) !important; }

/* trust chips */
.uf-hero__stats { display: flex; flex-wrap: wrap; gap: .625rem; }
.uf-chip {
  display: inline-flex; align-items: baseline; gap: .4rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(211,177,137,.28);
  font-size: .8125rem; color: rgba(255,255,255,.9);
}
.uf-chip b { font-size: 1rem; font-weight: 800; color: var(--uf-tan-light); }

/* phone mockup — pure CSS, ready to hold a real screenshot later */
.uf-phone-wrap { display: flex; justify-content: center; }
.uf-phone {
  position: relative; width: min(78vw, 286px); aspect-ratio: 9/19;
  border-radius: 38px; padding: 10px;
  background: linear-gradient(160deg, #3A1414, #1B0A0A);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 1px rgba(211,177,137,.22);
}
.uf-phone::before {                  /* speaker notch */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 6px; border-radius: 99px; background: rgba(211,177,137,.28); z-index: 2;
}
.uf-phone__screen {
  height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #FFF8F1 0%, #F6EBDF 100%);
  display: flex; flex-direction: column; gap: 10px; padding: 34px 14px 16px;
}
/* real screenshot fills the glass edge to edge */
.uf-phone__screen--shot { padding: 0; gap: 0; background: #2C0D0D; }
.uf-phone__shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.uf-phone__logo { height: 26px; width: auto; align-self: center; margin-bottom: 4px; }
.uf-phone__bar { height: 30px; border-radius: 10px; background: rgba(74,25,25,.07); }
.uf-phone__card { flex: 1; border-radius: 14px; background: rgba(74,25,25,.06); position: relative; overflow: hidden; }
.uf-phone__card::after {
  content: ""; position: absolute; inset-inline: 10px; bottom: 10px; height: 8px;
  border-radius: 99px; background: rgba(176,136,96,.45);
}
.uf-phone__row { display: flex; gap: 8px; }
.uf-phone__row span { flex: 1; height: 46px; border-radius: 12px; background: rgba(74,25,25,.06); }
.uf-phone__row span:first-child { background: rgba(176,136,96,.28); }

/* ============================== STEPS =================================== */
.uf-steps__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .uf-steps__grid { grid-template-columns: repeat(3, 1fr); } }
.uf-step {
  background: var(--uf-surface); border: 1px solid var(--uf-line);
  border-radius: var(--uf-radius); padding: 1.75rem 1.5rem; box-shadow: var(--uf-shadow);
}
.uf-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 14px; margin-bottom: 1rem;
  background: rgba(176,136,96,.14); color: var(--uf-maroon);
  font-weight: 800; font-size: 1.05rem;
}
.uf-step h3 { font-size: 1.0625rem; font-weight: 700; color: var(--uf-ink); margin: 0 0 .45rem; }
.uf-step p { font-size: .9375rem; line-height: 1.6; margin: 0; color: var(--uf-body); }

/* ============================== WHY ===================================== */
.uf-why { background: var(--uf-surface); }
.uf-why__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .uf-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .uf-why__grid { grid-template-columns: repeat(4, 1fr); } }
.uf-feature { text-align: center; padding: 1.5rem 1rem; }
.uf-feature__icon {
  width: 62px; height: 62px; margin: 0 auto 1rem;
  border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(176,136,96,.20), rgba(74,25,25,.10));
  color: var(--uf-maroon);
}
.uf-feature__icon svg { width: 28px; height: 28px; }
.uf-feature h3 { font-size: 1rem; font-weight: 700; color: var(--uf-ink); margin: 0; line-height: 1.4; }

/* ============================== ZONES =================================== */
.uf-zones__inner {
  background: linear-gradient(150deg, #FFF7EF, #FBEFE4);
  border: 1px solid var(--uf-line); border-radius: var(--uf-radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.uf-zone-list { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.uf-zone-list li {
  padding: .5rem 1rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--uf-line); font-size: .875rem; font-weight: 600; color: var(--uf-maroon);
}

/* ============================== JOIN ==================================== */
.uf-join {
  color: #fff; border-radius: var(--uf-radius-lg); overflow: hidden;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(211,177,137,.22), transparent 60%),
    linear-gradient(140deg, var(--uf-maroon) 0%, var(--uf-maroon-deep) 100%);
  text-align: center;
}
.uf-join .uf-h2, .uf-join .uf-eyebrow { color: #fff; }
.uf-join .uf-eyebrow { color: var(--uf-tan-light); }
.uf-join p { color: rgba(255,255,255,.82); max-width: 60ch; margin: 0 auto 1.75rem; }
.uf-join__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.uf-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 52px;
  padding: .75rem 1.75rem; border-radius: 999px; font-weight: 700; font-size: .9375rem;
  text-decoration: none; transition: transform .18s var(--uf-ease), box-shadow .18s var(--uf-ease), background .18s var(--uf-ease);
}
.uf-btn--solid { background: var(--uf-tan); color: #2A0F0F; box-shadow: 0 10px 24px rgba(176,136,96,.30); }
.uf-btn--solid:hover { background: var(--uf-tan-light); color: #2A0F0F; transform: translateY(-2px); text-decoration: none; }
.uf-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(211,177,137,.5); }
.uf-btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ============================ HEADER / NAV ============================== */
/* The bundled theme header stays, but rebranded: brand logo from the repo,
   warm surface, pill nav. */
header .logo img.uf-nav-logo { max-height: 44px; width: auto; }
header .menu > li > a { color: var(--uf-ink); }
header .menu > li > a:hover,
header .menu > li > a.active { color: var(--uf-maroon) !important; background: rgba(176,136,96,.12) !important; }
header .header--btn:not(.btn-base) {
  background: rgba(176,136,96,.12) !important;
  color: var(--uf-maroon) !important;
  border-color: rgba(176,136,96,.28) !important;
}
header .header--btn:not(.btn-base):hover { background: var(--uf-maroon) !important; color: #fff !important; border-color: var(--uf-maroon) !important; }
header .dropdown--btn.btn-base { background: var(--uf-maroon) !important; border-color: var(--uf-maroon) !important; }
header .dropdown--btn.btn-base:hover { background: var(--uf-maroon-soft) !important; }
header .nav-toggle span { background: var(--uf-maroon) !important; }

/* ============================== FOOTER ================================== */
footer, .footer-section {
  background:
    radial-gradient(700px 340px at 92% 0%, rgba(211,177,137,.16), transparent 62%),
    linear-gradient(160deg, var(--uf-maroon) 0%, var(--uf-maroon-deep) 100%) !important;
}
footer .footer-logo img, footer .footer-widget img.uf-footer-logo { max-height: 46px; width: auto; }
footer h4, footer h5, footer .widget-title { color: #fff !important; }
footer a, footer p, footer li, footer span { color: rgba(255,255,255,.80) !important; }
footer a:hover { color: var(--uf-tan-light) !important; }

/* ============================ RTL / MOTION ============================== */
/* The watermark uses logical insets, so it mirrors on its own — no override. */

@media (prefers-reduced-motion: reduce) {
  .uf-store, .uf-btn { transition: none !important; }
  .uf-store:hover, .uf-btn:hover { transform: none !important; }
}
