/* =========================================================
   Krafty Eats — main stylesheet
   Edit colours, fonts and spacing once in :root below.
   ========================================================= */

:root {
  /* ---- Brand colours ---- */
  --color-brand:        #B40010;   /* primary red          */
  --color-brand-dark:   #8E000C;   /* hover / pressed red  */
  --color-brand-bright: #FF5A5A;   /* red on dark sections */
  --color-brand-soft:   #FBEAEB;   /* light red wash       */

  /* ---- Neutrals ---- */
  --color-ink:        #141414;     /* main text / dark bg  */
  --color-bg:         #FAF8F6;     /* page background      */
  --color-surface:    #ffffff;     /* cards / nav          */
  --color-image-bg:   #F3EFEC;     /* image placeholder    */

  /* ---- Tag colours (veg) ---- */
  --color-veg:        #2E7D32;
  --color-veg-soft:   #EAF6EB;

  /* ---- Text on tints ---- */
  --text-muted:       rgba(20, 20, 20, .66);
  --text-soft:        rgba(20, 20, 20, .58);
  --text-faint:       rgba(20, 20, 20, .55);
  --text-on-dark:     rgba(255, 255, 255, .70);
  --text-on-dark-soft:rgba(255, 255, 255, .62);

  /* ---- Lines / borders ---- */
  --line:             rgba(20, 20, 20, .08);
  --line-strong:      rgba(20, 20, 20, .16);
  --line-on-dark:     rgba(255, 255, 255, .12);

  /* ---- Typography ---- */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Hanken Grotesk', sans-serif;

  /* ---- Layout ---- */
  --container:   1240px;
  --gutter:      28px;

  /* ---- Radii ---- */
  --radius-sm:   12px;
  --radius-md:   18px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* ---- Shadows ---- */
  --shadow-card:  0 12px 30px -22px rgba(20, 20, 20, .35);
  --shadow-media: 0 34px 70px -26px rgba(20, 20, 20, .40);
  --shadow-cta:   0 12px 30px -10px rgba(180, 0, 16, .55);
}

/* =========================================================
   Base
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
::selection { background: var(--color-brand); color: #fff; }

.page { width: 100%; overflow-x: hidden; background: var(--color-bg); }
.container { max-width: var(--container); margin: 0 auto; }

/* =========================================================
   Reusable text styles
   ========================================================= */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-brand);
}
.eyebrow--bright { color: var(--color-brand-bright); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-top: 12px;
  text-wrap: balance;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn--primary { background: var(--color-brand); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--color-brand-dark); }
.btn--dark { background: var(--color-ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost {
  background: var(--color-surface);
  border: 1px solid var(--line-strong);
  color: var(--color-ink);
}

/* =========================================================
   Header / nav
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
}
.nav__link:hover { opacity: 1; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .2s;
}
.nav__cta:hover { background: var(--color-brand-dark); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--color-bg); }
.hero__glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 0, 16, .10), transparent 68%);
  pointer-events: none;
}
.hero__inner {
  padding: 72px var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  position: relative;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-surface);
  border: 1px solid rgba(180, 0, 16, .22);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brand);
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(180, 0, 16, .16);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 66px;
  line-height: 1.0;
  letter-spacing: -.035em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero__title span { color: var(--color-brand); }
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 22px 0 0;
  max-width: 480px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* hero stats */
.stats { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.stats--lg { gap: 34px; margin-top: 30px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--color-brand);
}
.stats--lg .stat__num { font-size: 30px; }
.stat__label { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.stat__divider { width: 1px; background: rgba(20, 20, 20, .12); }

/* hero media */
.hero__media { position: relative; }
.media-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-media);
  background: var(--color-surface);
}
.hero__media .media-img { height: 450px; border-radius: 26px; }
.hero__float {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--color-surface);
  color: var(--color-ink);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -14px rgba(20, 20, 20, .3);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.hero__float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero__float-title { font-weight: 700; font-size: 14px; }
.hero__float-sub { font-size: 12px; opacity: .6; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust { background: var(--color-brand); color: #fff; }
.trust__inner {
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 38px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.trust__sep { opacity: .45; }

/* =========================================================
   Sections — generic spacing
   ========================================================= */
.section { padding: 84px var(--gutter) 78px; }
.section--pad { padding: 88px var(--gutter); }
.section--dark { background: var(--color-ink); color: #fff; }
.section--soft { background: var(--color-brand-soft); }
.section--surface { background: var(--color-surface); }

/* =========================================================
   Products
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-top: 10px;
  max-width: 620px;
  text-wrap: balance;
}
.section-head__note {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 330px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid rgba(20, 20, 20, .07);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -22px rgba(180, 0, 16, .45);
}
.product-card__img { width: 100%; height: 210px; object-fit: cover; background: var(--color-image-bg); }
.product-card__body { padding: 20px 22px 24px; }
.product-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
}
.product-card__desc { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-top: 8px; }

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.tag--veg { color: var(--color-veg); background: var(--color-veg-soft); border: 1px solid rgba(46, 125, 50, .25); }
.tag--nonveg { color: var(--color-brand); background: var(--color-brand-soft); border: 1px solid rgba(180, 0, 16, .25); }

.product-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.product-more__count { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.product-more__dash { color: rgba(20, 20, 20, .3); }
.link-strong { font-size: 16px; font-weight: 700; color: var(--color-brand); text-decoration: none; }

/* =========================================================
   Coming soon
   ========================================================= */
.center { text-align: center; margin-bottom: 40px; }
.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.coming-card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 30px 28px;
  border: 1px solid rgba(180, 0, 16, .12);
}
.coming-card__icon { font-size: 34px; }
.coming-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  margin-top: 14px;
  letter-spacing: -.02em;
}
.coming-card__desc { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-top: 8px; }
.pill {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.pill--soft { color: var(--color-brand); background: var(--color-brand-soft); }
.pill--solid { color: #fff; background: var(--color-brand); text-decoration: none; padding: 6px 14px; }

/* =========================================================
   Process (dark)
   ========================================================= */
.split { display: grid; gap: 56px; align-items: center; }
.split--process { grid-template-columns: .9fr 1.1fr; }
.split--story { grid-template-columns: 1fr 1fr; }
.process__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark);
  margin-top: 18px;
  max-width: 440px;
}
.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-brand-bright);
  min-width: 40px;
}
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.step__desc { font-size: 14px; line-height: 1.5; color: var(--text-on-dark-soft); margin-top: 5px; }

/* =========================================================
   Story
   ========================================================= */
.story__media .media-img { height: 420px; }
.story__body p {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-muted);
  margin-top: 14px;
}
.story__body p:first-of-type { margin-top: 18px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: stretch;
}
.contact-card {
  background: var(--color-brand);
  color: #fff;
  border-radius: 26px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.contact-card__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
  margin-top: 16px;
  max-width: 360px;
}
.contact-links { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #fff; }
.contact-link__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.contact-link__label { font-size: 12px; opacity: .7; }
.contact-link__value { font-weight: 700; font-size: 15px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.field__input,
.field__select,
.field__textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  outline: none;
  color: var(--color-ink);
}
.field__textarea { resize: vertical; }
.form__submit { align-self: flex-start; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--color-ink); color: #fff; padding: 54px var(--gutter) 30px; }
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer__brand { max-width: 300px; }
.footer__brand img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .6); margin-top: 16px; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.footer__col a { font-size: 14px; color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
}
.footer__bottom span { font-size: 13px; color: rgba(255, 255, 255, .5); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 880px) {
  .hero__inner,
  .split,
  .story-grid,
  .contact-grid,
  .form__row { grid-template-columns: 1fr; }
  .product-grid,
  .coming-grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .hero__title { font-size: 46px; }
}
@media (max-width: 560px) {
  .product-grid,
  .coming-grid { grid-template-columns: 1fr; }
}
