/* ---------------------
   CSS 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F8FAF8;
  color: #1D2A33;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #174768;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D2A15F;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  cursor: pointer;
  background: none;
  border: none;
}

/* ---------------------
   Brand Colors & Fonts
---------------------- */
:root {
  --primary: #174768;
  --secondary: #D2A15F;
  --accent: #F8FAF8;
  --neutral: #FAF5F2;
  --text: #1D2A33;
  --warm1: #FFE8D1;
  --warm2: #FFF5EB;
  --box-shadow: 0 4px 20px rgba(215, 176, 120, 0.12);
  --shadow-hover: 0 6px 28px rgba(215, 176, 120, 0.20);
}

body {
  background: var(--accent);
  color: var(--text);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
p, li, small {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2D3842;
  font-size: 1rem;
}
small {
  font-size: 0.92rem;
  opacity: 0.87;
}
strong {
  color: var(--secondary);
}

/* ------------------
   Layout Containers
------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper.center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: var(--box-shadow);
  /* Use soft background in alternates */
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #FFF5EB;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  padding: 28px 20px;
  transition: box-shadow 0.25s, transform 0.15s;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.02);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FFF5EB;
  box-shadow: 0 4px 16px rgba(23,71,104,0.07);
  margin-bottom: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.testimonial-card > div {
  flex: 1 1 220px;
  padding-right: 18px;
}
.testimonial-card .star-rating {
  color: var(--secondary);
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 2px;
}
.testimonial-card small {
  display: block;
  margin-top: 9px;
  color: var(--primary);
}

/* --------------
   Navigation
--------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,40,49,0.06);
  border-radius: 0 0 18px 18px;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: #fff;
}
header .cta-button {
  margin-left: 20px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--secondary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 12px;
  z-index: 25;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

/* Hamburger & Mobile Nav */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,71,104,0.97);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1), opacity 0.32s;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 26px 6px 0;
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  border-radius: 11px;
  transition: background 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(210,161,95,0.25);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0 0 46px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.32rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0 14px 0;
  border-radius: 9px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  padding-left: 18px;
}

/* Hide nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Mobile menu is on max-width: 1024px always, but keep desktop nav up at >1024px */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------------
   Hero Section
---------------------- */
.hero {
  margin-bottom: 60px;
  background: linear-gradient(90deg, #FFF5EB 0, #FFE8D1 100%);
  border-radius: 28px;
  padding: 48px 20px 38px 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
}
.hero p {
  color: #2D3842;
  font-size: 1.12rem;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 16px;
    padding: 34px 9px 27px 9px;
  }
  .hero .container { padding: 0 4px; }
  .hero h1 { font-size: 1.45rem; }
}

/* ----------------------------
   Feature, Cards, and Grids
----------------------------- */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF5EB;
  border-radius: 24px;
  box-shadow: var(--box-shadow);
}
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature-grid > div {
  background: #FFE8D1;
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  flex: 1 1 220px;
  min-width: 240px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.13s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.017);
}
.feature-grid img {
  width: 42px;
  margin-bottom: 5px;
}

@media (max-width: 890px) {
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
}

/* ---------------
   About Section
----------------*/
.about {
  background: var(--neutral);
}
.chef-intro {
  background: #FFF5EB;
  padding: 24px 18px;
  border-radius: 19px;
  box-shadow: 0 2px 14px rgba(210,161,95,0.10);
  margin-top: 16px;
}
.usp-list {
  margin-top: 8px;
  padding-left: 20px;
}
.usp-list li {
  position: relative;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #174768;
  padding-left: 18px;
}
.usp-list li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.2em;
  top: 0;
}

/* -----------------
   Services Section
------------------ */
.services {
  background: var(--accent);
}
.services ul {
  margin-bottom: 18px;
}
.upcoming-course {
  margin-top: 10px;
  font-size: 1.03rem;
}
.upcoming-course a {
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
  text-decoration: underline dotted;
  transition: color 0.18s;
}
.upcoming-course a:hover {
  color: var(--secondary);
}

/* ------------------------
    Other Content Sections
------------------------- */
.team, .brand-story, .highlights, .voucher-info, .form, .contact-details,
.course-list, .steps, .event-types, .process, .legal {
  background: var(--neutral);
  margin-bottom: 60px;
  border-radius: 22px;
  padding: 40px 20px;
  box-shadow: 0 4px 20px rgba(215, 176, 120, 0.13);
}
.team-members-intro, .chef-profile, .chef-philosophy, .milestones,
.mission-vision, .unique-moments {
  background: #FFF5EB;
  border-radius: 14px;
  padding: 18px 15px;
  margin-bottom: 14px;
}
.chef-quotes blockquote {
  font-style: italic;
  background: #FFE8D1;
  border-radius: 11px;
  padding: 12px 16px;
  color: var(--primary);
  margin-bottom: 4px;
}
.chef-quotes cite {
  display: block;
  margin-top: 7px;
  font-size: 0.96em;
  color: var(--secondary);
}

/********************
   CTA Buttons & Animations
*********************/
.cta-button {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 13px 36px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 12px rgba(210,161,95,0.11);
  margin-top: 6px;
  transition: background 0.20s, color 0.16s, transform 0.17s, box-shadow 0.19s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(23,71,104,0.16);
}

/* Icon in contact list */
.contact-list {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
}
.contact-list img {
  width: 26px;
  border-radius: 0; /* icons square */
}

.privacy-hint {
  background: #FFF5EB;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.97em;
  margin-bottom: 7px;
  color: var(--primary);
}
.privacy-hint a {
  text-decoration: underline;
  color: var(--secondary);
}

/* Thank You Section */
.thank-you {
  margin-top: 35px;
  margin-bottom: 60px;
}
.thank-you .next-steps {
  margin-top: 12px;
  background: #FFF5EB;
  border-radius: 12px;
  padding: 13px 19px;
  color: var(--secondary);
}

/************************
    Footer Styles
*************************/
footer {
  margin-top: 60px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 18px rgba(34,40,49,0.07);
  padding: 0 0 10px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 65px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px 28px 20px;
}
.footer-logo {
  flex: 1 1 140px;
}
.footer-logo img {
  width: 80px;
  border-radius: 19px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 2 1 220px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 0;
  transition: color 0.14s, background 0.13s;
}
.footer-nav a:hover {
  color: #fff;
  background: var(--secondary);
}
.footer-contact {
  flex: 2 1 250px;
  color: #2D3842;
  font-size: 0.99rem;
}
.footer-contact a {
  color: var(--secondary);
}
.footer-contact a:hover {
  color: var(--primary);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-logo img { width: 55px; }
}

/********************
  Cookie Consent Banner
*********************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff5eb;
  color: #174768;
  box-shadow: 0 -4px 20px rgba(23,71,104,0.12);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 26px 18px 26px 18px;
  font-size: 1.04rem;
  animation: cookie-slide-in 0.66s cubic-bezier(0.77,0,0.18,1);
  border-radius: 16px 16px 0 0;
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0px); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: var(--secondary);
  color: #fff;
  margin-left: 0;
  transition: background 0.18s, color 0.13s;
  box-shadow: 0 2px 9px rgba(215,176,120,0.13);
}
.cookie-consent-banner button:hover,
.cookie-consent-banner button:focus {
  background: var(--primary);
}
.cookie-consent-banner button.cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 1.4px solid var(--primary);
}
.cookie-consent-banner button.cookie-settings:hover, .cookie-consent-banner button.cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/***********************
Cookie Preferences Modal
***********************/
.cookie-modal-backdrop {
  position: fixed;
  left:0; top:0; width: 100vw; height: 100vh;
  background: rgba(23,71,104,0.38);
  z-index: 10999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff5eb;
  border-radius: 17px;
  box-shadow: 0 8px 32px rgba(23,71,104,0.13);
  padding: 35px 28px;
  min-width: 330px;
  max-width: 93vw;
  color: #174768;
  position: relative;
  animation: modal-appear 0.36s cubic-bezier(0.83,0,0.17,1);
}
@keyframes modal-appear {
  from { opacity: 0; transform: scale(0.97) translateY(40px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  margin-bottom: 13px;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 25px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 13px;
  box-shadow: 0 1px 6px rgba(210,161,95,0.07);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  border-radius: 6px;
  margin-right: 8px;
}
.cookie-category .cookie-essential {
  font-weight: 600;
  color: var(--secondary);
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  border-radius: 8px;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFE8D1;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: var(--secondary);
  color: #fff;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal-footer button.cookie-cancel {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-modal-footer button.cookie-cancel:hover, .cookie-modal-footer button.cookie-cancel:focus {
  background: var(--secondary);
  color: #fff;
  border: 1px solid var(--secondary);
}

/********************
  FAQ Snippet, Steps, Milestones
*********************/
.faq-snippet {
  background: #FFE8D1;
  border-radius: 10px;
  padding: 14px 17px;
  margin-top: 10px;
}
.difficulty {
  background: #FFF5EB;
  border-radius: 10px;
  padding: 11px 14px;
}
.milestones ul {
  margin-top: 9px;
  padding-left: 16px;
}
.milestones li {
  margin-bottom: 4px;
  color: var(--secondary);
}

/********************
    Lists and OL
*********************/
ul, ol {
  margin-left: 25px;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 7px;
}
ol {
  padding-left: 21px;
}

/********************
   Responsive Layouts
*********************/
@media (max-width: 768px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .content-wrapper { gap: 12px; }
  .hero {
    padding: 24px 4px 16px 4px;
    border-radius: 13px;
  }
  .section, .features, .about, .services, .team, .brand-story, .highlights, .voucher-info, .form, .contact-details, .course-list, .steps, .event-types, .process, .legal {
    padding: 20px 6px;
    border-radius: 10px;
    margin-bottom: 32px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 6px;
    border-radius: 11px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-logo img { width: 48px; }
  footer .container { padding: 28px 7px 14px 7px; gap: 19px; }
  .footer-nav { flex-direction: column; gap: 6px; }
}

/*************************************************
      Remove outline on mouse, keep for keyboard
**************************************************/
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------------
   Micro effects
---------------- */
.card, .feature-grid > div {
  transition: box-shadow 0.22s, transform 0.14s;
}
.cta-button, .cookie-consent-banner button,
.cookie-modal-footer button {
  transition: background 0.18s, color 0.14s, box-shadow 0.13s, transform 0.12s;
}
.cta-button:active {
  transform: scale(0.97);
}

/* ---------------
   Hide scrollbars on mobile nav
---------------- */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --------------
   Utility classes
---------------- */
.text-center { text-align: center !important; }
.d-none { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-30 { gap: 30px; }

/*************************************************
   Accessibility: Ensure high contrast on reviews
**************************************************/
.testimonial-card, .testimonial-card *, .faq-snippet {
  color: #1D2A33 !important;
  background: #FFF5EB !important;  /* readable, warm, friendly */
}

/*************************************************
   Print Styles
**************************************************/
@media print {
  header, .mobile-menu, .cookie-consent-banner, footer { display: none !important; }
  body { background: #fff; color: #000; }
  .container, .content-wrapper { padding: 0 !important; }
}
