/* src/sass/style.sass */
/* Color tokens shared by all pages */
:root {
  /* Home tokens */
  --mint-green: #99e2d0;
  --light-blue: #eafBff;
  --sky: #89c8fa;
  --soft-blue: #c5e2f8;
  --pale-blue: #d5f0f8;
  --purple: #9356DC;
  --pink: #FF79DA;
  --dark-gray: #353535;
  --text-gray: #666;
  /* Menu tokens (kept for completeness) */
  --mint: #99e2d0;
  --footer: #353535;
}

/* Base reset + shared page wrapper */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  color: #111;
}

.page {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
}

/* ===== Loader (mobile-first) ===== */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  z-index: 9999;
  animation: fadeOut 2s ease forwards;
  animation-delay: 2s;
}

.loader__logo {
  font-family: "Shrikhand", cursive;
  font-size: 55px;
  line-height: 1;
  color: #fff;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  position: sticky;
  top: 8px;
  z-index: 1;
}

.loader__cards {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.loadercard {
  background: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  height: 175px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loadercard__media {
  flex: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.loadercard__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 60%;
     object-position: 50% 60%;
  display: block;
}

.loadercard__body {
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loadercard__title {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.loadercard__subtitle {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #555;
  line-height: 1;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
/* ===== Loader desktop (2x2 grid) ===== */
@media (min-width: 1024px) {
  .loader__cards {
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    justify-content: center;
  }
  .loadercard {
    height: 200px;
  }
  .loadercard__body {
    height: 50px;
  }
  .loadercard__title {
    font-size: 16px;
  }
  .loadercard__subtitle {
    font-size: 14px;
  }
  .loader__logo {
    font-size: 72px;
    margin-top: 30px;
    margin-bottom: 60px;
  }
}
/* Home page background */
body {
  background: #fff;
}

/* ===== Header ===== */
.header {
  height: 60px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo-img {
  height: 32px;
  display: block;
}

/* ===== Location Bar ===== */
.location {
  width: 100%;
  height: 50px;
  background: #ededed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 2px solid #d2d2d2;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.location__icon {
  width: 17px;
  height: 17px;
  opacity: 0.9;
  color: #000;
}

.location__text {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  color: #353535;
  letter-spacing: 0.1px;
}

/* ===== Discover Section ===== */
.discover-section {
  text-align: center;
  background-color: #f6f6f6;
  padding: 40px 15px 60px;
}

.discover-section__title {
  margin: 0 0 40px;
  font-weight: 700;
  font-size: 24px;
}

.discover-section__subtitle {
  margin: 0 0 25px;
  color: var(--text-gray);
  font-size: 18px;
  font-weight: 300;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 18px;
  width: 218px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  box-shadow: 0 8px 18px rgba(147, 86, 220, 0.25), 0 2px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.08s ease;
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(147, 86, 220, 0.33), 0 4px 8px rgba(0, 0, 0, 0.14);
}

/* ===== How It Works ===== */
.how-section__title {
  font-size: 24px;
  font-weight: 700;
  padding: 30px 0 15px 10px;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0 23px 45px 30px;
  display: grid;
  gap: 16px;
}

.how {
  --n: "1";
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  background: #f4f4f4;
  border-radius: 16px;
  padding: 0 0 0 40px;
  height: 72px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.how::before {
  content: var(--n);
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: #fff;
  font-weight: 400;
  font-size: 14px;
}

.how-1 {
  --n: "1";
}

.how-2 {
  --n: "2";
}

.how-3 {
  --n: "3";
}

.how__icon {
  display: block;
}

.how__text {
  font-weight: 500;
  font-size: 16px;
  color: #1b1b1b;
}

/* ===== Restaurants ===== */
.restaurants {
  background-color: #f6f6f6;
  padding-bottom: 55px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  padding-top: 50px;
  margin: 18px 0 20px 16px;
}

.card {
  width: 340px;
  height: 251px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.card__media {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center bottom;
     object-position: center bottom;
  display: block;
}

.card--elderflower .card__media img {
  -o-object-position: 50% 62%;
     object-position: 50% 62%;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 80px;
  height: 29px;
  line-height: 29px;
  background: var(--mint-green);
  color: #1a7a66;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

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

/* ellipsis for long titles/subtitles */
.card__title, .card__subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__body > div {
  min-width: 0;
}

.card__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.card__subtitle {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  color: #000;
}

/* Heart (Like) */
.heart {
  background: none;
  border: none;
  padding-right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  width: 22px;
  height: 22px;
}

.heart__icon {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  z-index: 1;
  display: block;
}

.heart__icon--filled {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.heart:hover .heart__icon--filled, .heart:focus .heart__icon--filled {
  opacity: 1;
}

/* ===== Desktop enhancements (home) ===== */
@media (min-width: 1024px) {
  .page {
    max-width: 1440px;
  }
  .header {
    height: 96px;
  }
  .logo-img {
    height: 40px;
  }
  .location {
    border: none;
    box-shadow: none;
  }
  .discover-section {
    background: #f6f6f6;
    padding: 30px 0;
    text-align: center;
  }
  .discover-section__title {
    font-size: 40px;
    margin: 0 0 25px;
  }
  .discover-section__subtitle {
    font-size: 18px;
    font-weight: 300;
    margin: 0 0 25px;
  }
  .discover-section__subtitle br {
    display: none;
  }
  .how-section {
    padding: 50px 180px;
  }
  .how-section__title {
    padding: 0 0 25px;
    margin: 0 90px;
  }
  .how-list {
    padding: 0;
    margin: 0 96px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .how {
    background: #f4f4f4;
    padding-left: 35px;
    height: 72px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .how-1 .how__icon {
    width: 13px;
    height: 20px;
  }
  .how-2 .how__icon {
    width: 16px;
    height: 16px;
  }
  .how-3 .how__icon {
    width: 18px;
    height: 18px;
  }
  .restaurants {
    background: #f6f6f6;
    padding: 30px 0;
  }
  .restaurants .section-title {
    margin: 0 0 25px 180px;
    padding: 0;
    font-size: 24px;
  }
  .restaurants__grid {
    display: grid;
    grid-template-columns: repeat(2, 490px);
    justify-content: center;
    -moz-column-gap: 100px;
         column-gap: 100px;
    row-gap: 50px;
  }
  .restaurants__grid .card {
    width: 490px;
    height: 251px;
    margin: 0 auto;
  }
  .restaurants__grid .card__media {
    height: 231px;
  }
  .restaurants__grid .card__body {
    height: 75px;
  }
  .card__media img {
    -o-object-position: 50% 65%;
       object-position: 50% 65%;
  }
  .card--elderflower .card__media img {
    -o-object-position: 50% 57%;
       object-position: 50% 57%;
  }
  .heart {
    padding-right: 30px;
  }
  .heart__icon--filled {
    padding-right: 30px;
  }
}
/* ===== Footer (mobile) ===== */
.footer {
  width: 100%;
  max-width: 375px;
  max-height: 186px;
  background: var(--dark-gray);
  color: #fff;
  padding: 22px 25px;
  box-sizing: border-box;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand {
  font-family: "Shrikhand", cursive;
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer__links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__icon {
  width: 15px;
  height: 15px;
  display: block;
}

/* ===== Footer desktop ===== */
@media (min-width: 1024px) {
  .footer {
    max-width: 100%;
    padding: 45px 25px;
  }
  .footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 30px;
  }
  .footer__links {
    display: flex;
    gap: 32px;
    margin-left: 500px;
    padding: 0;
    list-style: none;
  }
  .footer__brand {
    margin: 0;
    font-family: "Shrikhand", cursive;
    font-size: 18px;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
  }
}/*# sourceMappingURL=style.css.map */