/* TYPOGRAPHY */

html {
  font-family: "sets-grotesk-s", sans-serif;
  font-weight: 500;
  font-style: normal;
}

h1 {
  font-family: "liquida", serif;
  font-weight: 200;
  font-size: clamp(3em, 4vw, 4em);
  line-height: 1.8em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2 {
  font-weight: 700;
  font-size: 2em;
  line-height: 1em;
}

h3 {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1em;
  margin-top: 0;
}

li {
  line-height: 1.3em;
}


/* NAVIGATION BAR */

.site-header {
  border-bottom: 1px solid #e0e0e0;
  background: white;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px clamp(16px, 3vw, 20px);
}

.nav-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #222;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #888;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #333;
}


/* LAYOUT */

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: clamp(20px, 3vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 3vw, 20px);
}

.recipe-layout + .recipe-layout {
  position: relative;
}

.recipe-layout + .recipe-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 3vw, 20px);
  right: clamp(16px, 3vw, 20px);
  height: 1px;
  background: #d0d0d0;
}

.recipe-info,
.recipe-steps {
  min-width: 0;
}



/* ROW 1: INTRO */
 
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  background: #e0e0e0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tag:hover {
  background: #a0a0a0;
}

.recipe-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}


/* ROW 2: INGREDIENTS + INSTRUCTIONS */
   
.recipe-details {
  align-items: start;
}

.recipe-meta {
  color: #666;
  margin-bottom: 16px;
}

.recipe-info ul,
.recipe-steps ol {
  padding-left: 1.25rem;
}

.recipe-info li,
.recipe-steps li {
  margin-bottom: 10px;
  margin-right: 30px;
}


/* ROW 3: IMAGE GALLERY */

.recipe-layout.recipe-gallery-row {
  grid-template-columns: 1fr;
}

.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.5vw, 16px);
}

.recipe-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}



/* ROW 4: FAQ + REHEATING */

.recipe-faq-row {
  align-items: start;
}

.recipe-faq-row p {
  line-height: 1.4;
  margin: 0;
}

.faq-question {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin: 0 0 8px;
}


/* ROW 5: FOOTER */

.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 3vw, 20px);
  text-align: center;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 3vw, 20px);
  right: clamp(16px, 3vw, 20px);
  height: 1px;
  background: #d0d0d0;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #888;
}

/* RESPONSIVE ELEMENTS */

@media (max-width: 1050px) {
  .recipe-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  }

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

@media (max-width: 900px) {
  .recipe-layout {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
  }

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

  .nav-links a {
    display: block;
    padding: 14px clamp(16px, 3vw, 20px);
  }
}