/* =====================================================
   CSS RESET & NORMALIZATION (MOBILE-FIRST)
====================================================== */
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,
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;
}
body {
  line-height: 1.5;
  background: #F6F3ED;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: none;
  max-width: 100%;
  display: block;
}
:focus {
  outline: 2px solid #B18960;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #7e6a51;}
::-moz-placeholder { color: #7e6a51;}
:-ms-input-placeholder { color: #7e6a51;}
::placeholder { color: #7e6a51;}

/* =====================================================
   VINTAGE RETRO DESIGN TOKENS
====================================================== */
:root {
  --color-primary: #0C4666;
  --color-secondary: #B18960;
  --color-accent: #F6F3ED;
  --color-heading: #0C4666;
  --color-text: #2c2a27;
  --color-background: #F6F3ED;
  --color-contrast: #fff;
  --color-muted: #e8dac2;

  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 5px;

  --shadow-card: 0 6px 18px 0 rgba(44,42,39,0.08);
  --shadow-deco: 0 2px 8px 0 rgba(177,137,96,0.15);
}

/* =====================================================
   TYPOGRAPHY
====================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  letter-spacing: -0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 var(--color-muted);
  line-height: 1.18;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 11px;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 2px;
  font-family: var(--font-display);
}
h4, h5, h6 {
  font-size: 1rem;
}
body, input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1.07rem;
  color: var(--color-text);
  background: var(--color-background);
}
p, ul, ol {
  font-size: 1.07rem;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.25rem; }
}

/* Retro font accents for logo and CTA */
header .container > a img, .footer-logo img {
  filter: sepia(0.2) contrast(1.1);
}

/* =====================================================
   CONTAINER AND BASE LAYOUT
====================================================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Section Spacing per requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe6;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--color-muted);
  position: relative;
}

@media (min-width:700px) {
  .content-wrapper {
    gap: 24px;
  }
}

/* =====================================================
   HEADER & MAIN NAVIGATION
====================================================== */
header {
  background: var(--color-accent);
  box-shadow: 0 1px 10px 0 rgba(12,70,102,0.05);
  padding-top: 14px;
  padding-bottom: 12px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
header nav a {
  padding: 7px 15px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
  background: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.14s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 0 0 2px var(--color-secondary);
}
header nav a.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  text-shadow: 0 1px 0 #985f24;
  font-size: 1.1rem;
  border-radius: 28px;
  padding: 9px 28px 10px 28px;
  margin-left: 12px;
  letter-spacing: 1px;
  border: 2px solid var(--color-secondary);
  box-shadow: 0 3px 10px 0 rgba(177,137,96,0.09);
  transition: background 0.14s, color 0.14s, box-shadow 0.11s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: var(--color-primary);
  color: #fffbe6;
  border-color: var(--color-primary);
  box-shadow: 0 5px 18px 0 rgba(12,70,102,0.13);
}

/* Hide nav and show mobile burger on mobile */
.mobile-menu-toggle {
  display: block;
  background: var(--color-secondary);
  color: #fffbe6;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 6px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 12;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}
nav, .mobile-menu {
  transition: none;
}
@media (min-width: 950px) {
  .mobile-menu-toggle {
    display: none;
  }
}
@media (max-width: 949px) {
  header nav {
    display: none;
  }
}

/* =====================================================
   MOBILE MENU OVERLAY
====================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f9ebd1ee;
  z-index: 299;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.2s;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-primary);
  border: none;
  font-size: 2.1rem;
  margin: 18px 20px 0 0;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.18s;
  padding: 4px 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 0 24px;
  width: 82vw;
  max-width: 390px;
}
.mobile-nav a {
  background: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  padding: 13px 0 13px 12px;
  border-radius: 8px;
  font-size: 1.24rem;
  font-weight: bold;
  border: none;
  margin-bottom: 0;
  letter-spacing: 1px;
  transition:
    background 0.13s,
    color 0.13s;
}
.mobile-nav a:active,.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #fffbe6;
}
@media (min-width: 950px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================================================
   HERO SECTION
====================================================== */
.hero {
  background: #F6F3ED url('../assets/vintage-pattern.png') repeat top left;
  padding-top: 38px;
  padding-bottom: 26px;
  border-bottom: 7px dotted var(--color-secondary);
  box-shadow: 0 4px 18px 0 rgba(12,70,102,0.07);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 auto;
  max-width: 560px;
  text-align: left;
}
.hero h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 10px;
  letter-spacing: .6px;
  line-height: 1.16;
}
.hero p {
  color: #3c3630;
  font-size: 1.17rem;
  margin-bottom: 18px;
}
.hero .cta-primary {
  margin-top: 10px;
}
@media (min-width:701px) {
  .hero .container{
    align-items:flex-start;
  }
}

/* =====================================================
   FEATURE GRID & FLEX LAYOUTS
====================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 10px 0;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 200px;
  min-width: 210px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-muted);
  padding: 24px 18px 20px 18px;
  text-align: left;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(12,70,102,0.11), 0 0 0 3px #dac29b;
  transform: translateY(-8px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 9px;
  filter: sepia(0.35) contrast(1.05);
}
.feature-grid h3 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight:bold;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing:1.2px;
  text-shadow: 0 1px 0 #fffbe6;
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* =====================================================
   TESTIMONIAL CARDS
====================================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  border: 1px solid #e5dccb;
  position: relative;
}
.testimonial-card p {
  color: #362e26;
  font-family: var(--font-display);
  font-size: 1.16rem;
  margin-right: 8px;
  font-style: italic;
  letter-spacing: 0.4px;
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  margin-left:12px;
}
.testimonial-card img {
  width: 38px;
  height: 38px;
  filter: sepia(0.25) contrast(1.14);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =====================================================
   CARDS, GRID & FLEXBOX PATTERNS
====================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid #eedac8;
  margin-bottom: 20px;
  position: relative;
  padding:28px 16px 22px 16px;
  min-width: 200px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Spacing standards */
.section,
.card-container > *,
.card,
.content-grid > *,
.text-image-section > *,
.feature-item > * {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* =====================================================
   ICON ROWS, TIPS, CUSTOM SECTIONS
====================================================== */
.icon-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 24px 0 5px 0;
}
.icon-row img {
  height: 42px;
  filter: sepia(0.22) contrast(1.08);
}
.tip-list ul,
.styling-tips ul,
.simple-methods ul,
.pro-kitchen-tips ul,
.garnish-ideas ul,
.common-mistakes ul {
  padding-left: 18px;
  list-style: disc;
}
.element-arrangement ul {
  padding-left: 18px;
  list-style: square;
}
.country-filter, .recipe-categories {
  margin: 18px 0 9px 0;
  color: var(--color-primary);
  font-weight: bold;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.country-filter span, .recipe-categories span {
  background: var(--color-muted);
  color: var(--color-primary);
  margin-right: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor:pointer;
}
.country-filter span:hover, .recipe-categories span:hover {
  background: var(--color-secondary);
  color: #fffbe6;
}
.seasonal-picks h4 {
  font-size: 1.11rem;
  color: var(--color-secondary);
  margin-bottom: 7px;
}
.seasonal-picks ul {
  padding-left: 22px;
  list-style: disc;
}

/* =====================================================
   LISTS, OL/UL, HEADINGS IN CONTENT
====================================================== */
ul li, ol li {
  margin-bottom: 8px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

h2 + ul {
  margin-top: -13px;
}

/* =====================================================
   BUTTONS & CTAS (INCLUDING COOKIE CONSENT)
====================================================== */
.cta-primary, .helpful-links .cta-primary, .cookie-accept, .cookie-reject, .cookie-settings {
  font-family: var(--font-display);
  font-weight: bold;
  background: var(--color-secondary);
  color: #fffbe6;
  border: none;
  border-radius: 24px;
  padding: 10px 38px 10px 38px;
  font-size: 1.13rem;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(177,137,96,0.13);
  margin-bottom: 0;
  text-shadow: 0 1px 0 #c7a075;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s, transform 0.17s;
  margin-right: 10px;
}
.cta-primary:hover,.cta-primary:focus, .cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-primary);
  color: #fffbe6;
  box-shadow: 0 4px 24px 0 rgba(12,70,102,0.14);
  transform: translateY(-2px) scale(1.05);
}
.helpful-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.helpful-links a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  background: #fff3d6;
  border-radius: 8px;
  padding: 9px 22px;
  border:1.2px dashed var(--color-secondary);
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.helpful-links a:hover, .helpful-links a:focus {
  background: var(--color-secondary);
  color: #fffbe6;
}

/* Cookie banner & modal buttons */
.cookie-accept {
  background: var(--color-secondary);
  color: #fffbe6;
}
.cookie-reject {
  background: #fff;
  border: 1.4px solid #C8B08C;
  color: #7b5e33;
  font-family: var(--font-display);
  font-weight: bold;
  border-radius: 24px;
  padding: 10px 21px;
  transition: background 0.14s, color 0.13s;
  box-shadow: 0 3px 10px #e5dccba5;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #eedac8;
  color: var(--color-primary);
}
.cookie-settings {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-settings:hover, .cookie-settings:focus {
  color: var(--color-secondary);
  text-decoration: none;
}

/* =====================================================
   FOOTER
====================================================== */
footer {
  background: #e9e4da;
  color: var(--color-primary);
  padding: 30px 0 18px 0;
  border-top: 7px dotted var(--color-secondary);
  font-size: 1rem;
  margin-top: 50px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  min-width: 90px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-nav a {
  color: var(--color-primary);
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  font-size: 0.97rem;
  color: #484236;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  height: 16px;
  margin-right: 6px;
  vertical-align: sub;
  filter: sepia(0.22) contrast(1.05) brightness(1.08);
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
  align-items:center;
}
.footer-social img {
  height: 25px;
  filter: sepia(0.22) contrast(1.12);
  transition: filter 0.17s, transform 0.16s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: sepia(0.5) brightness(1.10);
  transform: scale(1.13) rotate(-5deg);
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =====================================================
   COOKIE CONSENT BANNER & MODAL
====================================================== */
.cookie-banner {
  position: fixed;
  left: 25px;
  right: 25px;
  bottom: 22px;
  background: #fffbe6;
  color: #574622;
  border: 2.5px solid #e5dccb;
  border-radius: 21px;
  box-shadow: 0 7px 24px 0 rgba(177,137,96,0.23);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 28px 16px 28px;
  z-index: 1200;
  font-family: var(--font-display);
  animation: fadeInUp 0.7s cubic-bezier(0.65,0,0.35,1);
}
@media (max-width: 699px) {
  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    box-shadow: 0 -3px 20px 0 #c8b08c22;
    padding: 18px 12px 13px 12px;
  }
}
.cookie-banner p {
  margin-bottom: 0; font-size: 1.01rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed!important;
  inset: 0;
  background: rgba(44,42,39,0.53);
  z-index: 1230;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fffbe9;
  border: 2.5px solid #dac29b;
  border-radius: 19px;
  box-shadow: 0 10px 40px #dac29b70;
  width: 94vw;
  max-width: 440px;
  padding: 30px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-display);
  animation: fadeInUp 0.55s cubic-bezier(0.61,0,0.39,1.01);
}
.cookie-modal h2 {
  font-size: 1.3rem; margin-bottom: 14px; color: var(--color-secondary);
}
.cookie-category {
  margin-bottom: 11px; display: flex; align-items: center; gap: 14px;
}
.cookie-toggle {
  appearance: none;
  width: 32px; height: 18px;
  background: #d6c3aa;
  border-radius: 9px;
  position: relative;
  outline: 0;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 #dac29b75;
  transition: left 0.14s;
}
.cookie-toggle:checked::before {
  left: 16px;
}
.category-desc {
  font-size: 0.95rem;
  color: #635c48;
  margin-left: 0;
}
.cookie-modal .modal-actions {
  display: flex; gap: 11px; margin-top: 12px;
}
.cookie-modal .cookie-close-modal {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  padding: 3px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.11s, color 0.13s;
}
.cookie-modal .cookie-close-modal:hover{
  background: #fff3e3;
  color: var(--color-secondary);
}

@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(38px) scale(0.98); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}

/* =====================================================
   RESPONSIVE MEDIA QUERIES & MISC
====================================================== */
@media (max-width: 700px) {
  .section { padding: 20px 7px; margin-bottom: 34px; }
  .feature-grid > div { padding: 14px 9px 13px 13px; min-width: 0; }
  .card { padding:16px 8px 12px 10px; min-width: 0; }
  .helpful-links { gap: 10px; }
  .footer-logo img { height:40px; }
  h1 { font-size:2rem; }
  h2 { font-size:1.4rem; }
  .footer-social img { height:20px; }
}

/* =====================================================
   DECORATIVE: RETRO TOUCHES, PATTERNS, ETC.
====================================================== */
.hero, .section {
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: '';
  display: block;
  position: absolute;
  left: -60px; bottom: -75px;
  width: 200px; height: 100px;
  background: url('../assets/retro-waves.svg') no-repeat bottom left;
  opacity: 0.26;
  pointer-events: none;
  z-index: 1;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -45px; top: -37px;
  width: 120px; height: 90px;
  background: url('../assets/retro-dot.svg') no-repeat top right;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

/* Selection styling for retro feel */
::selection {
  background: #b18960;
  color: #fffbe6;
}

/* ========================= END ======================= */
