/* RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* BRAND FONT & COLOR VARIABLES */
:root {
  --color-primary: #5D3924;
  --color-secondary: #F7BE81;
  --color-accent: #E8E3DC;
  --color-bg: #181821;
  --color-card: #23232e;
  --color-light: #faf9f7;
  --color-neon: #F7BE81;
  --color-contrast: #262630;
  --color-success: #37f383;
  --color-danger: #ff5974;
  --color-info: #70d3f8;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(135deg, #23232e 0%, #181821 100%);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  transition: background 0.3s;
  min-height: 100vh;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  background: rgba(35, 35, 46, 0.92);
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(247,190,129, 0.05), 0 1.5px 6px 0 rgba(93,57,36,0.07);
  padding: 40px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: box-shadow 0.3s;
}
.content-wrapper.text-section {
  background: rgba(248, 233, 215, 0.96);
  color: var(--color-primary);
}

/* MANDATORY SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: 0 1.5px 8px 0 rgba(248, 233, 215, 0.08);
  padding: 32px 24px;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 12px 32px 0 rgba(255, 219, 136, 0.18);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #faf9f7;
  color: #32261c;
  padding: 20px 28px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px 0 rgba(93, 57, 36, 0.10);
  border-left: 4px solid var(--color-secondary);
  min-width: 260px;
  max-width: 600px;
  transition: box-shadow .22s;
}
.testimonial-card:hover {
  box-shadow: 0 16px 44px 0 rgba(93,57,36, 0.17);
}
.testimonial-author {
  color: var(--color-primary);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADERS & NAVIGATION */
header {
  background: rgba(24,24,33,0.98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 20px 0;
  border-bottom: 2px solid var(--color-secondary);
  position: relative;
  z-index: 30;
}
.logo img {
  height: 54px;
  width: auto;
  vertical-align: middle;
  transition: filter 0.22s;
}
.logo img:hover {
  filter: brightness(1.18) drop-shadow(0 0 6px var(--color-neon));
}
.main-navigation {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-navigation a {
  font-family: var(--font-body);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border 0.15s;
  position: relative;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta-button {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 10px 32px;
  border-radius: 32px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 4px 18px 0 rgba(247,190,129,0.13);
  margin-left: 16px;
  margin-top: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #fbe1b6;
  color: #3b2418;
  box-shadow: 0 6px 24px 0 rgba(247,190,129,0.30);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 26px;
  right: 18px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2.25rem;
  z-index: 42;
  border-radius: 9px;
  padding: 2px 16px 1px 16px;
  border: none;
  transition: background 0.2s, box-shadow 0.23s;
  box-shadow: 0 2px 10px 0 rgba(93,57,36,0.08);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,24,33,0.99);
  z-index: 1200;
  padding-top: 18px;
  padding-left: 0;
  padding-right: 0;
  transition: transform 0.37s cubic-bezier(.23,1.02,.67,.97), opacity 0.17s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.15rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  margin: 12px 34px 6px 0;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-danger);
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100vw;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding: 12px 2px;
  width: 80vw;
  border-radius: 5px;
  transition: background 0.14s, color 0.18s, border 0.14s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(247,190,129,0.08);
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
}

/* HERO SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section > .container {
  gap: 0;
}

.recipes-teasers, .recipes-list, .testimonial-slider, .testimonials-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.recipes-teasers {
  margin-bottom: 28px;
}
.recipe-card, .recipe-summary {
  background: var(--color-card);
  color: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(247,190,129,0.05);
  padding: 32px 18px;
  min-width: 210px;
  max-width: 380px;
  flex: 1 1 260px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .17s;
}
.recipe-card:hover, .recipe-summary:hover {
  box-shadow: 0 10px 32px 0 rgba(247,190,129,0.21);
}
.recipes-list {
  gap: 20px;
}

/* TAGS & SEARCH BAR */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.tag {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 13px;
  padding: 6px 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(247,190,129,0.11);
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
.tag:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 14px;
}
.search-bar label {
  font-weight: 700;
  color: var(--color-secondary);
}
.search-bar input[type="text"] {
  flex: 1 1 auto;
  padding: 8px 16px;
  border-radius: 9px;
  background: #faf9f7;
  color: #41322a;
  border: 1.6px solid var(--color-secondary);
  font-size: 1rem;
  box-shadow: 0 2px 6px 0 rgba(93,57,36,0.05);
  transition: border 0.14s;
}
.search-bar input[type="text"]:focus {
  border: 1.6px solid var(--color-primary);
}

.load-more {
  margin: 18px 0 0 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 20px;
  font-size: 1rem;
  padding: 10px 44px;
  box-shadow: 0 2px 14px rgba(247,190,129,0.13);
  transition: background 0.13s, color 0.13s, transform .14s;
}
.load-more:hover{
  background: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-1.5px);
}

/* CONTACT FORM */
.text-section label {
  display: block;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 5px;
  color: var(--color-primary);
}
.text-section input,
.text-section textarea {
  width: 100%;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1.5px solid var(--color-secondary);
  background: #faf9f7;
  color: #5D3924;
  margin-bottom: 14px;
  font-size: 1rem;
  transition: border 0.14s;
  font-family: var(--font-body);
  resize: vertical;
}
.text-section input:focus,
.text-section textarea:focus {
  border: 1.5px solid var(--color-primary);
}
.text-section textarea {
  min-height: 120px;
  max-height: 240px;
}

/* TYPOGRAPHY SCALE & HEADINGS*/
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.18;
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
p, ul, ol, li, label, input, textarea, span, button {
  font-family: var(--font-body);
  font-size: 1rem;
  color: inherit;
}

blockquote {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.3rem;
  font-style: italic;
  background: rgba(247,191,145, 0.14);
  border-left: 5px solid var(--color-secondary);
  padding: 20px 32px;
  border-radius: 0 18px 18px 0;
  margin: 18px 0;
}
.text-section blockquote {
  color: var(--color-primary);
  background: rgba(248, 233, 215, 0.40);
  border-left: 4px solid var(--color-secondary);
}

a {
  transition: color 0.10s, border 0.08s;
}
a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ICONS */
li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 28px;
  width: 28px;
}

ul, ol {
  margin-bottom: 12px;
  margin-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}


/* FOOTER */
footer {
  background: #181821;
  border-top: 2px solid var(--color-secondary);
  padding: 34px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 600;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border .13s;
}
.footer-nav a:hover {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 8px;
}
.footer-brand img {
  height: 38px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
  background: #23232e;
  color: var(--color-accent);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 20px 14px 17px 14px;
  box-shadow: 0 -3px 20px 0 rgba(247,190,129,0.08);
  border-top: 3px solid var(--color-secondary);
  animation: cookieBannerBottom .45s cubic-bezier(.23,1.02,.67,.97);
}
@keyframes cookieBannerBottom {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 18px 0 0;
  flex: 1 1 auto;
  font-size: 1.05rem;
  color: var(--color-accent);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 16px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.13s, color 0.14s, box-shadow 0.18s;
  min-width: 90px;
}
.cookie-btn.accept {
  box-shadow: 0 4px 16px 0 rgba(37,242,128,0.08);
}
.cookie-btn.reject {
  background: #fff6ec;
  color: var(--color-danger);
  border: 1.5px solid var(--color-danger);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  box-shadow: none;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 3px 14px 0 rgba(247,190,129,0.13);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,33, .95);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #181821;
  border-radius: 18px;
  box-shadow: 0 6px 48px 0 rgba(247,190,129,0.17);
  padding: 34px 38px;
  min-width: 340px;
  max-width: 98vw;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalAppear .35s cubic-bezier(.23,1.02,.67,.97);
  z-index: 3200;
}
@keyframes cookieModalAppear {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
  color: var(--color-accent);
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-secondary);
}
.cookie-toggle {
  appearance: none;
  width: 46px;
  height: 24px;
  background: #fff6ec;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  vertical-align: middle;
  box-shadow: 0 2px 5px 0 rgba(247,190,129,0.09);
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  top: 2.5px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--color-primary);
  transition: left 0.17s, background 0.17s;
}
.cookie-toggle:checked::before {
  left: 24px;
  background: var(--color-success);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  min-width: 108px;
}
.cookie-modal .cookie-btn.settings {
  background: transparent;
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .recipe-card, .recipe-summary, .cta-button, .load-more, .testimonial-card, .mobile-menu-toggle, .cookie-btn {
  transition: box-shadow 0.24s, background 0.18s, color .18s, transform 0.14s;
}

.cta-button:active, .load-more:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
  .main-navigation {
    gap: 16px;
  }
  .recipes-teasers, .recipes-list, .testimonial-slider, .testimonials-preview {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 4vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 3vw;
  }
  .content-wrapper {
    padding: 28px 10px;
    border-radius: 18px;
  }
  section {
    padding: 26px 4px;
  }
  .main-navigation {
    display: none !important;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 0px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .card, .recipe-card, .recipe-summary, .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .recipes-teasers, .recipes-list, .testimonials-preview, .testimonial-slider {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 500px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .footer-brand img { height: 28px; }
  .cookie-modal { padding: 14px 4vw; }
}

/* ========== CUSTOM SCROLLBARS ========== */
::-webkit-scrollbar {
  width: 11px;
  background: #2e1d17;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 7px;
  border: 2px solid #23232e;
}
::-webkit-scrollbar-thumb:hover {
  background: #fff6ec;
}

/* ========== NEON/TECH FUTURISTIC ACCENTS ========== */
h1, h2, h3 {
  text-shadow: 0 2px 16px rgba(247,190,129,0.12), 0 0px 3px #f7be8136;
}
.cta-button, .load-more, .tag, .cookie-btn {
  box-shadow: 0 0 10px 0 var(--color-secondary), 0 1px 14px 0 rgba(255,255,255,0.08);
}
.card, .recipe-card, .recipe-summary {
  border: 1px solid rgba(247,190,129,0.12);
}
.testimonial-card {
  box-shadow: 0 0 9px 0 var(--color-secondary), 0 3px 20px 0 rgba(247,190,129,0.06);
}

/* Prevent overlapping */
.card, .card-container, .content-wrapper, .testimonial-card, .recipes-teasers, .recipes-list, .section, .content-grid {
  box-sizing: border-box;
}

/* ========== FEATURE: HOVER FOCUS ACCESSIBILITY ========== */
a:focus-visible, .cta-button:focus-visible, .load-more:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ========== End of stylesheet ========== */
