/* ==================================================
   Belmerlion Main Stylesheet
   ================================================== */


/* ==================================================
   1. CSS VARIABLES
   ================================================== */

:root {
  --primary: #8bbf3d;
  --accent: #8bbf3d;
  --bg: #f7f7f7;
  --text: #222222;
  --muted: #666666;
  --cream: #ffffff;
  --line: #eeeeee;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --container: 1180px;
}


/* ==================================================
   2. RESET + BASE
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}


/* ==================================================
   3. GLOBAL LAYOUT
   ================================================== */

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: #ffffff;
}

.main-offset {
  padding-top: 78px;
}


/* ==================================================
   4. TYPOGRAPHY
   ================================================== */

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: #222222;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}


/* ==================================================
   5. HEADER + NAVIGATION
   ================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(249, 247, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 223, 210, 0.5);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(47, 42, 37, 0.08);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #3c352f;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--primary);
  margin: 4px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


/* ==================================================
   6. HERO SECTION
   ================================================== */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: none;
  box-shadow: none;
  outline: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0;
  border: none;
  box-shadow: none;
  outline: none;
}

.hero .container {
  border: none;
  box-shadow: none;
  outline: none;
}

.hero p {
  font-size: 1.15rem;
  max-width: 620px;
}


/* ==================================================
   7. BUTTONS
   ================================================== */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(47, 93, 80, 0.2);
}

.btn-primary:hover {
  background: #ffffff;
  color: #333333;
  border-color: #dddddd;
}

.btn-secondary {
  background: var(--cream);
  color: var(--primary);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}


/* ==================================================
   8. GRIDS
   ================================================== */

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ==================================================
   9. CARDS + IMAGE PLACEHOLDERS
   ================================================== */

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-content {
  padding: 24px;
}

.card img,
.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #e5e5e5, #f2f2f2);
}

.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  padding: 24px;
}


/* ==================================================
   10. PAGE HERO + FEATURE ROW
   ================================================== */

.page-hero {
  padding: 80px 0 50px;
  background: linear-gradient(180deg, #ffffff, var(--bg));
}

.page-hero .container {
  max-width: 860px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}


/* ==================================================
   11. RECIPE PAGE
   ================================================== */

.recipe-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 12px;
}

.recipe-card-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.recipe-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 30px;
}

.meta-item {
  background: #f2f2f2;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.meta-item strong {
  display: block;
  color: var(--primary);
}

.ingredients,
.instructions,
.notes {
  margin-top: 28px;
}

.ingredients ul,
.notes ul {
  padding-left: 20px;
  color: var(--muted);
}

.instructions ol {
  padding-left: 22px;
  color: var(--muted);
}


/* ==================================================
   12. SHOP
   ================================================== */

.product-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}


/* ==================================================
   13. CONTACT FORM
   ================================================== */

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #403832;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 191, 61, 0.18);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary);
}


/* ==================================================
   14. FOOTER
   ================================================== */

.footer {
  background: #2b2b2b;
  color: #cccccc;
  border-top: none;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p,
.footer span,
.footer li,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer a {
  color: #cccccc;
}

.footer a:hover {
  color: #ffffff;
}


/* ==================================================
   15. ANIMATIONS
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==================================================
   16. PRINT STYLES
   ================================================== */

@media print {
  .site-header,
  .recipe-toolbar,
  .video-section,
  .footer {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .main-offset {
    padding-top: 0;
  }

  .recipe-card-panel {
    box-shadow: none;
    border: 1px solid #dddddd;
  }
}


/* ==================================================
   17. TABLET RESPONSIVE
   ================================================== */

@media (max-width: 980px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row,
  .grid-2,
  .step-item {
    grid-template-columns: 1fr;
  }

  .recipe-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==================================================
   18. MOBILE RESPONSIVE
   ================================================== */

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 4px;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: 720px;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .recipe-card-panel {
    padding: 24px;
  }
}