/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FAF9F7;
  color: #234B32;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #ceb154;
  outline-offset: 2px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}

/* ===== BRAND COLORS & VARIABLES ===== */
:root {
  --primary: #234B32;
  --secondary: #F4A259;
  --accent: #fff;
  --gold: #ceb154;
  --gold-dark: #a6892d;
  --grey-bg: #F7F6F4;
  --grey-border: #E1DFDB;
  --card-shadow: 0 4px 24px rgba(34, 75, 50, 0.11);
}

::-moz-selection {
  background: var(--gold-dark);
  color: var(--accent);
}
::selection {
  background: var(--gold-dark);
  color: var(--accent);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.13;
  letter-spacing: 0.015em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li, .privacy-note {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #2C3A2F;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 24px;
}
strong {
  font-weight: 600;
}

/* ===== GENERAL LAYOUT UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(206, 177, 84, 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 {
  background: var(--accent);
  color: #2C3A2F;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1.5px solid var(--gold);
  position: relative;
  min-width: 250px;
}
.testimonial-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.testimonial-header span:first-child {
  color: var(--gold-dark);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 12px;
  padding: 22px 16px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--gold);
}

/* ===== BUTTONS & CTAs ===== */
.cta-button,
button.cta-button {
  display: inline-block;
  border-radius: 32px;
  padding: 14px 38px;
  background: var(--primary);
  color: var(--gold);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  border: none;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(34, 75, 50, 0.09);
  cursor: pointer;
  transition: background 0.22s, color 0.2s, box-shadow 0.2s, transform 0.19s;
  margin: 10px 0 0 0;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(206, 177, 84, 0.16);
  transform: translateY(-1px) scale(1.012);
}

/* ===== HEADER ===== */
header {
  background: var(--accent);
  box-shadow: 0 2px 14px rgba(44, 58, 47, 0.06);
  border-bottom: 1.5px solid var(--gold);
  padding: 0;
  position: relative;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 4px 8px;
  transition: color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold-dark);
}

/* Logo in header */
header img {
  height: 44px;
}

/* ===== MOBILE MENU HAMBURGER ===== */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 28px;
  z-index: 2000;
  background: var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  border: 2px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(206, 177, 84, 0.18);
  transition: background 0.16s, color 0.14s, box-shadow 0.13s, transform 0.17s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--gold);
  color: var(--primary);
  transform: scale(0.96);
}

/* Hide hamburger on desktop */
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== MOBILE NAV MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,75,50,0.91);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.83,-0.12,.33,1.14);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 32px 32px 0 0;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.5rem;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(206,177,84,0.18);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 90vw;
  background: var(--accent);
  border-radius: 14px 0 0 14px;
  box-shadow: 0 0 64px rgba(206, 177, 84, 0.17);
  padding: 50px 34px 34px 38px;
  align-items: flex-start;
  margin-top: 38px;
  margin-bottom: 40px;
  min-height: 400px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  border-radius: 5px;
  padding: 10px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.17s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold-dark);
  background: rgba(206,177,84,0.08);
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* Hide main nav and cta on mobile, show on tablet+ */
@media (max-width: 899px) {
  .main-nav,
  .container > .cta-button {
    display: none !important;
  }
  header .container { justify-content: flex-start; gap: 10px; }
}

/* ===== MAIN CONTENT SPACING ===== */
main {
  width: 100%;
  min-height: 60vh;
  background: none;
  margin-bottom: 80px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.section {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== LISTS ===== */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #2C3A2F;
  line-height: 1.6;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0;
  font-size: 1rem;
}
ul li strong {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
ul li:last-child {
  margin-bottom: 0;
}

/* ===== FORMS ===== */
.search-form {
  width: 100%;
  margin: 14px 0 0 0;
  display: flex;
  align-items: center;
}
.search-form input[type="search"] {
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid var(--gold);
  padding: 14px 16px;
  background: var(--grey-bg);
  font-size: 1rem;
  color: var(--primary);
  transition: border 0.16s;
  margin-right: 12px;
}
.search-form input[type="search"]:focus {
  border-color: var(--primary);
}
.search-form input[disabled] {
  background: #F1EDDE;
  color: #c7ba92;
  cursor: not-allowed;
}

/* ===== TAGS, BADGES, ETC. ===== */
span {
  font-family: inherit;
}
div > span, p > span, .main-nav span, .footer-nav span {
  font-family: inherit;
  font-size: 1rem;
}
strong + span,
div > span,
.content-wrapper span {
  margin-left: 4px;
}

/* Recipe / Tag example */
span[class^="#"], .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  border-radius: 8px;
  padding: 3px 9px;
  margin-right: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--gold);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -2px 28px 0 rgba(34, 75, 50, 0.05);
  width: 100%;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 5px 8px;
  transition: background 0.16s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--accent);
  font-size: 0.98rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer img {
  height: 44px;
  margin-bottom: 4px;
}

/* ===== CONTACT INFO SECTIONS ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.01rem;
}

/* ===== COOKIES BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--accent);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 48px rgba(206,177,84,0.17);
  padding: 24px 28px 24px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s cubic-bezier(.57,.21,.69,1.25);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__text {
  color: var(--primary);
  font-size: 1rem;
  max-width: 530px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner__button {
  background: var(--gold);
  color: var(--primary);
  border-radius: 24px;
  border: none;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  box-shadow: 0 2px 7px rgba(206, 177, 84, 0.08);
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: var(--gold-dark);
  color: var(--accent);
}
.cookie-banner__button--secondary {
  background: var(--primary);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 9px 20px;
}
.cookie-banner__button--secondary:hover, .cookie-banner__button--secondary:focus {
  background: var(--gold);
  color: var(--primary);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,75,50,0.91);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 16px 86px rgba(34,75,50,0.16);
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 22px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__header {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal__toggle {
  width: 48px;
  height: 24px;
  border-radius: 24px;
  background: #ece8de;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal__toggle[data-checked="true"] {
  background: var(--gold);
}
.cookie-modal__toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  transition: left 0.18s;
}
.cookie-modal__toggle[data-checked="true"] .cookie-modal__toggle-knob {
  left: 26px;
  background: var(--gold-dark);
}
.cookie-modal__category-label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.8rem;
  font-family: inherit;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1199px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 34px 7px; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.64rem; }
  h2 { font-size: 1.18rem; }
  .footer-contact { font-size: 0.96rem; }
  .footer-nav { gap: 15px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 8px; }
}
@media (max-width: 650px) {
  header img, footer img { height: 34px; }
  .container { padding-left: 3vw; padding-right: 3vw; }
  .section { padding: 24px 2vw; }
}
@media (max-width: 768px) {
  .main-nav { flex-direction: column; gap: 12px; }
  .footer-contact, .contact-info { font-size: 0.95rem; }
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .section { margin-bottom: 32px; }
  section { margin-bottom: 30px; padding: 28px 0; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 480px) {
  .cookie-modal__dialog { padding: 22px 4vw 18px 4vw; }
  .footer-contact, .contact-info { font-size: 0.91rem; }
  .footer-contact { gap: 6px; }
}


/* ===== MICRO-INTERACTIONS ===== */
.cta-button, .cookie-banner__button, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal__close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta-button:active, .cookie-banner__button:active, .mobile-menu-toggle:active, .cookie-modal__close:active {
  transform: scale(0.97);
}

/* ===== ACCESSIBILITY: FOCUS VISIBLE ===== */
.cta-button:focus, .cookie-banner__button:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* ===== SUBTLE CARD SHADOW FOR DEPTH ===== */
.card, .testimonial-card, .feature-item {
  box-shadow: var(--card-shadow);
}

/* ===== COLORED ACCENTS ===== */
h1, h2, .subheadline {
  border-left: 5px solid var(--gold);
  padding-left: 18px;
}

/* ===== MISC DETAILS ===== */
.privacy-note {
  font-size: 0.96rem;
  color: #5c5e57;
  margin-top: 2px;
  margin-bottom: 8px;
}

/**** MODAL OVERRIDES for stacking ****/
.mobile-menu, .cookie-modal, .cookie-banner {
  z-index: 9000;
}

/**** ENSURE NO ABSOLUTE POSITIONING FOR FLEX CONTENT CARDS ****/
.card, .testimonial-card, .feature-item, .content-wrapper, .container, .content-grid {
  position: relative;
}

/**** PREVENT OVERLAPPING, ADD CONSISTENT GAP ****/
.card, .testimonial-card, .feature-item { margin-bottom: 20px; }
.content-wrapper > * + * { margin-top: 0; }

/**** ENSURE VISUAL HIERARCHY ****/
h1 { margin-bottom: 24px; }
h2 { margin-bottom: 20px; }

/**** SPECIAL HOVER SHADOW FOR CARDS ****/
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px rgba(206, 177, 84, 0.21);
  border-color: var(--gold-dark);
  z-index: 2;
}

/**** CARD BORDER HIGHLIGHTS ****/
.card, .feature-item {
  border: 1.5px solid var(--gold);
}

/**** TESTIMONIALS DARK TEXT on LIGHT BACKGROUND for READABILITY ****/
.testimonial-card {
  background: var(--accent);
  color: #2C3A2F;
}

/* ===== END OF FILE ===== */
