/*
Theme Name: RecipeeGlow
Theme URI: https://www.recipeeglow.online
Author: RecipeeGlow
Author URI: https://www.recipeeglow.online
Description: Warm editorial recipe WordPress theme with Home, About, Service, and Contact. English language, Unsplash imagery.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recipeeglow
Tags: one-page, custom-menu, featured-images, translation-ready, food-and-drink
*/

:root {
  --cream: #f6f0e8;
  --ivory: #fbf7f1;
  --blush: #eed9c8;
  --espresso: #1f1612;
  --ink: #1f1612;
  --wine: #6b2d3c;
  --amber: #c4841d;
  --amber-deep: #a56b12;
  --gold: #e8b84a;
  --text: #2a211c;
  --text-soft: #5c4e44;
  --muted: #8a7a6d;
  --white: #ffffff;
  --line: rgba(31, 22, 18, 0.1);
  --shadow: 0 24px 56px rgba(31, 22, 18, 0.14);
  --shadow-soft: 0 10px 28px rgba(31, 22, 18, 0.08);
  --radius: 999px;
  --radius-card: 20px;
  --header-h: 84px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  background: var(--amber);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(196, 132, 29, 0.28);
}

.btn:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--espresso);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.chip {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blush);
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wine);
  border-bottom: 1px solid var(--wine);
}

.text-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* Header — sticky cream bar, centered pill nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  position: sticky;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
  background: rgba(251, 247, 241, 0.97);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.03em;
  justify-self: start;
}

.logo-mark {
  color: var(--amber);
  font-style: italic;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  justify-self: end;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle::before {
  top: 13px;
}

.nav-toggle::after {
  bottom: 13px;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 5px;
  background: var(--blush);
  border-radius: var(--radius);
}

.primary-nav a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--espresso);
  background: var(--white);
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 22px;
  font-size: 13px;
}

/* Hero — split ivory copy + overlapping photos */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
  background: var(--ivory);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8vw 72px 7vw;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  margin: 14px 0 8px;
  color: var(--espresso);
}

.hero-brand span {
  color: var(--amber);
  font-style: italic;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  margin: 0 0 18px;
  max-width: 12ch;
}

.hero-copy > p {
  margin: 0 0 22px;
  color: var(--text-soft);
  max-width: 42ch;
  font-size: 16px;
}

.hero-chip {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 8px 16px;
  background: var(--blush);
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--blush) 0%, #e4c9ae 55%, #d9b896 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 74, 0.7) 0%, rgba(232, 184, 74, 0) 70%);
  top: 12%;
  right: 8%;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-photo-main {
  width: 62%;
  height: 68%;
  top: 16%;
  left: 12%;
  z-index: 2;
}

.hero-photo-side {
  width: 38%;
  height: 34%;
  bottom: 10%;
  right: 8%;
  z-index: 3;
  border: 6px solid var(--ivory);
}

.hero-photo-tiny {
  width: 26%;
  height: 24%;
  top: 10%;
  right: 14%;
  z-index: 3;
  border: 5px solid var(--ivory);
}

/* Recipes — featured horizontal + 2x2 cards */
.recipes {
  padding: 108px 0 96px;
  background: var(--cream);
}

.section-head {
  margin-bottom: 48px;
}

.section-head-center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 10px 0 12px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

.recipe-featured {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.recipe-featured img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.recipe-featured-copy {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-featured-copy h3 {
  font-size: 36px;
  margin: 12px 0 10px;
}

.recipe-featured-copy p {
  color: var(--text-soft);
  margin: 0 0 18px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
}

.recipe-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.recipe-card-copy {
  padding: 22px 22px 26px;
}

.recipe-card-copy h3 {
  font-size: 24px;
  margin: 10px 0 6px;
}

.recipe-card-copy p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-soft);
}

.recipe-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
}

/* About — manifesto, stats, quote on image */
.about {
  padding: 108px 0;
  background: var(--ivory);
}

.about-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.about-intro h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 10px 0 16px;
}

.about-intro p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-stage {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-stage img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-quote {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 340px;
  margin: 0;
  padding: 24px 26px;
  background: rgba(251, 247, 241, 0.95);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.about-quote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--espresso);
}

.about-quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

/* Services — alternating image / copy rows */
.services {
  padding: 108px 0;
  background: var(--cream);
}

.service-rows {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.service-row.is-reverse {
  direction: rtl;
}

.service-row.is-reverse > * {
  direction: ltr;
}

.service-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
}

.service-copy {
  padding: 12px 28px 12px 12px;
}

.service-copy h3 {
  font-size: 32px;
  margin: 12px 0 10px;
}

.service-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* Contact — map first, then cards, then form */
.contact {
  background: var(--ivory);
  padding: 0 0 108px;
}

.contact-map {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.contact-body {
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.contact-body .section-head {
  background: var(--ivory);
  padding-top: 72px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold);
}

.contact-card small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 10px;
}

.contact-card strong,
.contact-card strong a {
  display: block;
  font-size: 18px;
  color: var(--espresso);
  margin-bottom: 8px;
}

.contact-card p,
.contact-card p a {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--amber);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 40px 36px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 32px;
  margin: 0 0 6px;
}

.form-lead {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 132, 29, 0.18);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--wine);
  font-weight: 600;
}

/* Footer — centered brand + two columns */
.site-footer {
  background: var(--espresso);
  color: rgba(255, 255, 255, 0.68);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.footer-brand {
  text-align: left;
}

.footer-brand .logo {
  color: #fff;
  font-size: 34px;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--amber);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bar a {
  color: var(--gold);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--espresso);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  z-index: 60;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transform: translateY(120%);
  transition: transform 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.section {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--cream);
}

.entry-content {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 56px 32px 40px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .recipe-featured,
  .service-row,
  .service-row.is-reverse,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .service-row.is-reverse {
    direction: ltr;
  }

  .recipe-featured img,
  .service-media img {
    min-height: 260px;
    height: 260px;
  }

  .about-stage img {
    height: 360px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    padding: 16px;
    display: none;
    box-shadow: var(--shadow);
    justify-self: stretch;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
  }

  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 320px;
  }

  .recipe-grid,
  .about-stats,
  .form-row,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .recipe-featured-copy,
  .service-copy {
    padding: 24px 20px;
  }

  .about-quote {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -28px 16px 0;
  }

  .about-stage {
    overflow: visible;
  }

  .about-stage img {
    height: 240px;
    border-radius: var(--radius-card);
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}
