/* ========================================================
   CSS RESET & NORMALIZATION
   ======================================================= */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FDF6EE; /* soft retro base */
  color: #2E2B21;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

/* ========================================================
   RETRO VINTAGE BRAND COLORS & FONTS
   ======================================================= */
:root {
  --primary: #213E74;
  --secondary: #FFF9EB;
  --accent: #AB4F09;
  --accent-orange: #E0721C;
  --vintage-blue: #537080;
  --vintage-yellow: #F8C471;
  --vintage-peach: #F5E3D4;
  --vintage-green: #B7B37E;
  --vintage-brown: #7A5747;
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;
  --base-radius: 16px;
  --small-radius: 8px;
  --base-shadow: 0 2px 12px rgba(86,54,30,0.10);
  --vintage-pattern: repeating-linear-gradient(
    135deg,
    #FFF9EB 0px, #FFF9EB 12px,
    #FDE7C7 12px, #FDE7C7 24px
  );
}

body {
  font-family: var(--body-font);
  background-color: #FEF8F3;
  color: #2E2B21;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
p {
  font-size: 1.125rem;
  margin-bottom: 12px;
  line-height: 1.65;
}
strong, b {
  font-weight: 700;
  color: var(--accent);
}


/* Vintage Section/Container Patterns */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  padding: 0;
}
.section {
  background: var(--secondary);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  width: 100%;
  background: #FFF7E0;
  border-bottom: 3px solid var(--accent);
  padding: 0 0 0 0;
  box-shadow: 0 3px 18px -7px #dbc6aba3;
  position: relative;
  z-index: 30;
}
header .container, header > .container {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
header a img {
  height: 54px;
  margin: 18px 0 14px 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  position: relative;
  color: var(--primary);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 6px 8px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  text-shadow: 0 2px 0 var(--vintage-yellow);
}

.cta-btn {
  background: var(--accent);
  color: #FFF9EB;
  border-radius: 30px;
  padding: 13px 32px;
  font-family: var(--heading-font);
  font-size: 1.14rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  box-shadow: 0 3px 21px -7px #dc9342a3;
  border: none;
  margin-left: 24px;
  transition: background 0.17s, box-shadow 0.22s, transform 0.14s;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--vintage-yellow);
  box-shadow: 0 3px 32px -8px #ac4211a3;
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #FFF;
  font-size: 2.1rem;
  font-family: var(--heading-font);
  border-radius: 100px;
  padding: 6px 18px 4px 18px;
  border: 2px solid #FFFFFF77;
  margin-left: 16px;
  cursor: pointer;
  box-shadow: 0 2px 12px -6px #C56323bb;
  transition: background 0.18s, color 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}

/* ========================================================
   MOBILE MENU STYLES
   ======================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F9E8C4eb;
  box-shadow: 0 1px 50px 0px #a86b01da;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.9,.08,.85,1.05);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--accent);
  font-size: 2.5rem;
  border: none;
  margin: 36px 0 24px 28px;
  align-self: flex-start;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
  padding-left: 42px;
}
.mobile-nav a {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  border-left: 5px solid transparent;
  padding: 6px 0 6px 15px;
  border-radius: 2px 0 0 2px;
  transition: color 0.17s, border-color 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-color: var(--accent);
  background: #fff7e9ee;
}

/* Mobile: responsive nav */
@media (max-width: 1020px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  header a img, footer a img {
    height: 45px;
  }
  .mobile-menu-close {
    font-size: 2rem;
    margin-top: 18px;
    margin-left: 12px;
  }
  .mobile-nav {
    font-size: 1.17rem;
    padding-left: 17px;
  }
}


/* ========================================================
   HERO & MAIN SECTIONS
   ======================================================= */
.hero {
  background: var(--vintage-pattern);
  border-bottom: 6px dotted var(--accent);
  border-radius: 0 0 var(--base-radius) var(--base-radius);
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: var(--accent);
  font-family: var(--heading-font);
  text-shadow: 2px 4px 0px #fbdbb8, 1px 1px 0px #dec19b4a;
}
.hero p {
  color: var(--primary);
  font-size: 1.20rem;
  font-family: var(--body-font);
  margin-bottom: 26px;
}
.hero .cta-btn {
  margin: 0 auto 12px auto;
  font-size: 1.20rem;
}


/* Sections */
section {
  margin-bottom: 60px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
}

@media (max-width: 599px) {
  .section {
    padding: 28px 6px 32px 6px;
  }
  .container {
    padding: 0 6px;
  }
}


/* ========================================================
   FLEXBOX LAYOUT CLASSES & CONTENT STRUCTURES
   ======================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff8f1;
  border-radius: var(--base-radius);
  box-shadow: var(--base-shadow);
  overflow: hidden;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF9EB;
  border-radius: var(--base-radius);
  box-shadow: 0 2px 10px #98734718;
  margin-bottom: 24px;
  border-left: 8px solid var(--vintage-yellow);
  transition: box-shadow 0.2s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px #AB4F0940;
  border-color: var(--accent);
}
.testimonial-card p {
  font-size: 1.18rem;
  font-family: var(--body-font);
  color: #302814;
  margin-bottom: 0;
}
.testimonial-meta {
  font-size: 1.09rem;
  font-family: var(--heading-font);
  color: var(--vintage-brown);
  padding-left: 8px;
  margin-top: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom flex wrappers used in pages */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.features-grid > div {
  flex: 1 1 250px;
  background: #FFF4D8;
  border-radius: var(--base-radius);
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 12px #B7B37E24;
  margin-bottom: 12px;
  transition: box-shadow 0.17s, background 0.17s;
}
.features-grid > div:hover {
  background: #FEF6EE;
  box-shadow: 0 8px 30px #E0721C12;
}
.features-grid img {
  width: 46px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 3px #de871021);
}

.recipe-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: stretch;
  gap: 24px;
  margin-bottom: 18px;
}
.recipe-cards > div {
  flex: 1 1 270px;
  background: #FFF9EB;
  border-radius: var(--base-radius);
  padding: 24px 20px 18px 20px;
  min-width: 210px;
  margin-bottom: 0;
  box-shadow: 0 1px 10px #ac4b0978;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  position: relative;
  transition: box-shadow 0.17s;
}
.recipe-cards > div:hover {
  box-shadow: 0 5px 24px #E0721C23;
  background: #FDE7C7;
}
.tag {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff9eb;
  font-family: var(--heading-font);
  font-size: 0.93em;
  border-radius: 8px;
  padding: 2px 10px;
  margin-right: 8px;
  margin-top: 7px;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-shadow: 0 2px 0 #B56B23;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 17px;
  margin-top: 7px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--primary);
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 12px;
}
.tag-cloud span {
  background: #F5E3D4;
  color: var(--primary);
  border-radius: var(--small-radius);
  padding: 4px 11px;
  margin-bottom: 5px;
  font-family: var(--body-font);
}

.recipe-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 15px;
}
.recipe-preview-grid > div {
  flex: 1 1 230px;
  background: #FDE7C7;
  border-radius: var(--base-radius);
  padding: 22px 18px 18px 18px;
  min-width: 195px;
  box-shadow: 0 1px 10px #E0721C1c;
  transition: box-shadow 0.17s, background 0.17s;
  display: flex;
  flex-direction: column;
}
.recipe-preview-grid > div:hover {
  background: #FFF9EB;
  box-shadow: 0 5px 22px #AB4F0926;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-cards > div {
  flex: 1 1 250px;
  background: #FFF6E7;
  border-radius: var(--base-radius);
  box-shadow: 0 1px 12px #b1946235;
  padding: 24px 18px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 210px;
  transition: box-shadow 0.16s, background 0.16s;
}
.service-cards > div:hover {
  background: #FDE7C7;
  box-shadow: 0 6px 26px #AB4F0924;
}
.service-cards img {
  width: 44px;
  margin-bottom: 13px;
}

.contact-details {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-details > div {
  flex: 1 1 200px;
  background: #FFF7E0;
  border-radius: var(--base-radius);
  padding: 18px 18px 12px 20px;
  box-shadow: 0 1px 10px #ab4f0930;
  margin-bottom: 10px;
  min-width: 170px;
}


/* Pagination */
.pagination {
  margin-top: 12px;
  font-family: var(--heading-font);
  color: var(--primary);
  text-align: right;
  font-size: 1rem;
  opacity: 0.82;
}

.course-list ul {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 16px;
}
.faq-accordion h3 {
  font-size: 1.13rem;
  color: var(--accent);
  margin-top: 16px;
  margin-bottom: 7px;
  cursor: pointer;
  font-family: var(--heading-font);
}
.faq-accordion p {
  margin-bottom: 5px;
  color: var(--primary);
}

.text-section {
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.72;
  font-family: var(--body-font);
}
.text-section ul {
  margin-top: 12px;
  margin-bottom: 15px;
  padding-left: 19px;
  list-style: disc inside;
  color: var(--vintage-brown);
  font-size: 1.02rem;
  opacity: 0.93;
}
.text-section li {
  margin-bottom: 5px;
}

ul, li {
  margin-bottom: 0;
}

/* Media Queries for Flex to Column Switching */
@media (max-width: 820px) {
  .features-grid, .service-cards, .recipe-cards,
  .recipe-preview-grid, .contact-details {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* CTA Section */
.cta {
  background: var(--vintage-peach);
  border-radius: var(--base-radius);
  box-shadow: 0 2px 20px #ABC7A129;
  margin-bottom: 60px;
  text-align: center;
  padding-top: 38px;
  padding-bottom: 38px;
}
.cta h2 {
  color: var(--accent);
  font-size: 2rem;  
}
.cta p {
  font-size: 1.09rem;
  color: var(--primary);
  margin-bottom: 23px;
}
.cta .cta-btn {
  margin: 0 auto;
  display: inline-block;
}


/* ========================================================
   BUTTONS
   ======================================================= */
button, .btn, .cta-btn {
  cursor: pointer;
  transition: all 0.18s;
}

.btn {
  background: var(--vintage-yellow);
  color: var(--primary);
  border-radius: var(--small-radius);
  padding: 10px 26px;
  font-family: var(--heading-font);
  letter-spacing: 0.03em;
  border: none;
  box-shadow: 0 2px 7px #dfb46a36;
  font-weight: 700;
  margin: 8px 0 0 0;
}
.btn:hover, .btn:focus {
  background: var(--accent);
  color: #FFF9EB;
  box-shadow: 0 4px 16px #AB4F0940;
}

/* Input (for recipe search) */
input[type='text'] {
  font-size: 1.11rem;
  background: #FFF9EB;
  color: var(--primary);
  border: 2px solid #f8c472ba;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 1px 7px #F8C47111;
  margin: 15px 0 0 0;
  transition: border-color 0.14s, box-shadow 0.12s;
}
input[type='text']:focus {
  border-color: var(--accent);
  box-shadow: 0 3px 20px #E0721C1a;
}


/* ========================================================
   FOOTER
   ======================================================= */
footer {
  background: #E3CEAA;
  box-shadow: 0 -2px 14px #d9ba6f30;
  padding: 28px 0 9px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 9px auto 0 auto;
  justify-content: center;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.02rem;
  opacity: 0.94;
  transition: color 0.15s;
  padding: 1px 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-info {
  font-size: 1.01rem;
  color: #33332f;
  opacity: 0.86;
  margin: 0 0 6px 0;
}
.footer-info a {
  color: var(--vintage-blue);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.16s;
}
.footer-info a:hover {
  color: var(--accent);
}
.footer-copy {
  color: #8B7550;
  font-size: 0.97rem;
  opacity: 0.75;
  font-family: var(--body-font);
  margin-bottom: 6px;
  margin-top: 9px;
}
@media (max-width: 620px) {
  footer .container {
    padding: 0 7px;
  }
  .footer-info {
    font-size: 0.96rem;
  }
}


/* ========================================================
   COOKIE CONSENT BANNER
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FDF6EE;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -2px 21px #AB4F0930;
  z-index: 10100;
  padding: 18px 12px 14px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: cookieIn .5s cubic-bezier(.3,1.6,.62,1.13);
}
.cookie-banner__text {
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 1.02rem;
  max-width: 430px;
  margin-bottom: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
}
.cookie-banner button {
  font-family: var(--heading-font);
  border-radius: 7px;
  padding: 10px 17px;
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 11px #7A57472a;
  margin-right: 0;
  margin-top: 0;
  outline: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
}
.cookie-banner .btn-accept {
  background: var(--accent);
  color: #fff9eb;
}
.cookie-banner .btn-accept:hover {
  background: var(--primary);
  color: var(--vintage-yellow);
}
.cookie-banner .btn-reject {
  background: #F8C471;
  color: var(--primary);
}
.cookie-banner .btn-reject:hover {
  background: #FDE7C7;
}
.cookie-banner .btn-settings {
  background: #E3CEAA;
  color: var(--primary);
  border: 1px solid #ffe7b7;
}
.cookie-banner .btn-settings:hover {
  background: #fff9eb;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 3px 10px 3px;
  }
  .cookie-banner__text {
    max-width: unset;
    text-align: center;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    justify-content: center;
  }
}

@keyframes cookieIn {
  from { transform: translateY(90px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,62,116, 0.23);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: #feede0;
  border-radius: var(--base-radius);
  box-shadow: 0 4px 44px #ab4f0917;
  padding: 38px 32px;
  min-width: 350px;
  max-width: 95vw;
  animation: cookiemodalpop 0.24s cubic-bezier(.85,2.88,.45,.97);
}
@keyframes cookiemodalpop {
  from { transform: scale(.93); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal__header {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: bold;
  margin-bottom:19px;
}
.cookie-modal__categories {
  margin-top: 0;
  margin-bottom: 23px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  padding: 12px 0;
  font-family: var(--body-font);
  font-size: 1.09rem;
}
.cookie-category.essential span {
  color: var(--primary);
  font-weight: 700;
}
.cookie-category-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cookie-switch {
  width: 40px; height: 22px;
  border-radius: 21px;
  background: #B7B37E55;
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1px solid #AB4F0922;
  transition: background 0.13s, border-color 0.13s;
}
.cookie-switch[data-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff9eb;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow:0 1px 5px #91400024;
}
.cookie-switch[data-checked="true"]:before {
  left: 20px;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal__footer button {
  padding: 10px 21px;
  border-radius: var(--small-radius);
  font-size: 1.04rem;
  box-shadow: 0 1px 9px #B7B37E29;
  font-family: var(--heading-font);
}

@media (max-width: 499px) {
  .cookie-modal__content {
    padding: 18px 7px;
    min-width: unset;
  }
  .cookie-modal__header {
    font-size: 1.065rem;
  }
}


/* ========================================================
   MICRO-INTERACTIONS + TRANSITIONS
   ======================================================= */
a, button, .btn, .cta-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.14s;
}
.card, .service-cards > div, .features-grid > div, .recipe-cards > div, .testimonial-card, .recipe-preview-grid > div {
  transition: box-shadow 0.17s, background 0.16s, border-color 0.16s;
}
.recipe-cards > div:hover, .service-cards > div:hover, .features-grid > div:hover {
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card:hover {
  transform: scale(1.01) translateY(-2px);
  border-color: var(--accent);
}

/* Subtle vintage drop shadows for images/icons */
img, svg {
  filter: drop-shadow(0 1px 0 #FFE7B787);
}

/* Retro/nostalgic embellishments */
h1, h2, h3 {
  letter-spacing: -0.5px;
  position: relative;
}
h1:after, h2:after, h3:after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--vintage-yellow);
}

h1:after { width: 62px; height: 5px; margin-top: 10px; }

/* Remove embellishment for compact screens */
@media (max-width: 400px) {
  h1:after, h2:after, h3:after {
    display: none;
  }
}


/* ========================================================
   TYPOGRAPHY SCALE & RESPONSIVE
   ======================================================= */
html {
  font-size: 16px;
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 610px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1rem; }
  p { font-size: 1.01rem; }
  .cta-btn { font-size: 1rem; }
}
@media (max-width: 370px) {
  h1, h2, h3 { font-size: 1rem; }
}


/* ========================================================
   OTHER UTILITIES
   ======================================================= */
.text-align-center {
  text-align: center;
}
.text-align-left {
  text-align: left;
}
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-20 { margin-bottom: 20px; }

/* Error/Success message classes, a11y-friendly */
.alert-success {
  color: #207c1c;
  background: #e3f9e2;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 1.01rem;
  box-shadow: 0 2px 6px #48911a12;
}
.alert-error {
  color: #84222c;
  background: #ffe5e0;
  border-radius: 8px;
  padding: 13px 17px;
  margin-bottom: 21px;
  font-size: 1.01rem;
  box-shadow: 0 2px 6px #c0898921;
}

/* Utility: visually-hidden for a11y only */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: unset;
  width: 2px;
  height: 2px;
  padding: 0;
  border: 0;
  overflow: hidden;
}
