/* =============================================================
   DREAMBOUND JOURNEY CUCINA - ELEGANT_CLASSIC STYLE.CSS
   For: ALL PAGES | Responsive | Flexbox Only | No Grid/Columns
   ============================================================= */

/* ===================
   CSS RESET & BASELINE
   =================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* ========================
   FONT IMPORT (SELF-HOST/WEBFONTS) - FALLBACKS
   ======================== */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: local('Cinzel'), local('Cinzel-Regular'), url('https://fonts.gstatic.com/s/cinzel/v22/8vIU7ww63mVu7gtR-kw.woff2') format('woff2');
  unicode-range: U+000-5FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato'), local('Lato-Regular'), url('https://fonts.gstatic.com/s/lato/v22/S6uyw4BMUTPHjxAwXiWtFCc.woff2') format('woff2');
  unicode-range: U+000-5FF;
}

html {
  font-size: 16px;
  box-sizing: border-box;
  background: #F9F7EF;
}
body {
  font-family: 'Lato', Georgia, serif;
  color: #234C67;
  background-color: #F9F7EF;
  min-height: 100vh;
}

/* === TYPOGRAPHY SYSTEM === */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: #234C67;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.125rem;
}
p, li {
  font-size: 1.065rem;
  margin-bottom: 8px;
  color: #264055;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #234C67;
}

.text-section, .faq-section {
  max-width: 42em;
  margin-bottom: 32px;
}
.text-section ul, .faq-section ul {
  list-style: disc;
  margin: 12px 0 12px 22px;
  padding-left: 0;
}
.text-section ul li {
  margin-bottom: 7px;
}
.faq-section ul li {
  margin-bottom: 16px;
}

input[type="search"] {
  padding: 9px 14px;
  border: 1px solid #CAD1D7;
  border-radius: 6px;
  background: #FFF;
  font-size: 1em;
  color: #234C67;
  margin-top: 10px;
  width: 100%;
  max-width: 390px;
  transition: border-color 0.2s;
}
input[type="search"]:focus {
  border-color: #A6A93A;
}

/* ========================
   BRAND COLORS
   ======================== */
:root {
  --primary: #234C67;
  --secondary: #A6A93A;
  --accent: #F9F7EF;
  --primary-dark: #182B40;
  --secondary-dark: #848720;
  --link-dark: #234C67;
  --text-dark: #234C67;
  --text-soft: #264055;
  --surface-light: #F9F7EF;
  --surface-white: #FFF;
  --border-light: #E4E7EB;
}

/* ========================
   CONTAINER & SECTIONS
   ======================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: var(--surface-white);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(30,44,61,0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.section:hover {
  box-shadow: 0 8px 24px 0 rgba(30,44,61,0.09);
}

/* === FEATURE GRID/ITEMS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.feature-grid li {
  flex: 1 1 250px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #234C67;
  font-family: 'Lato', serif;
  font-size: 1rem;
  padding: 16px 20px 16px 0;
  background: transparent;
}
.feature-grid li img {
  width: 32px;
  height: auto;
  margin-top: 2px;
}

/* === CARDS & FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 12px rgba(30,44,61,0.05);
  transition: box-shadow 0.2s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(30,44,61,0.10);
  border-color: var(--secondary);
}
.card-content {
  padding: 22px 19px;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  margin-bottom: 16px;
}

/* === SERVICE LIST DISPLAY === */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  padding: 0;
  flex-direction: row;
}
.service-list li {
  min-width: 190px;
  font-size: 1.06rem;
  color: #264055;
  background: #F3F5E8;
  padding: 11px 18px;
  border-radius: 7px;
  margin-bottom: 12px;
  flex: 1 1 220px;

}

/* === RECIPE TEASERS === */
.recipe-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  margin-bottom: 18px;
}
.recipe-teasers li {
  background: #F7FAE3;
  color: #234C67;
  padding: 10px 15px;
  border-radius: 7px;
  font-size: 1.02rem;
  flex: 1 1 200px;
}

/* === WORLD CUISINE GRID === */
.world-cuisine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 28px 0;
  width: 100%;
}
.world-cuisine-grid > div {
  background: #FEFEFB;
  border-radius: 14px;
  padding: 26px 18px 16px 18px;
  flex: 1 1 220px;
  min-width: 160px;
  max-width: 260px;
  box-shadow: 0 3px 11px #e4e7eb33;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.world-cuisine-grid h3 {
  font-size: 1.14rem;
  margin: 13px 0 10px 0;
}

/* === SERVICES LISTED CARDS === */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 24px 0;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--surface-white);
  border: 1px solid #E4E7EB;
  border-radius: 12px;
  padding: 26px 20px 16px 20px;
  box-shadow: 0 2px 9px #e4e7eb55;
  min-width: 210px;
  flex: 1 1 235px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.17s;
}
.service-item:hover {
  border-color: var(--secondary);
  box-shadow:0 7px 25px #e4e7eb44;
}
.service-item strong {
  color: var(--secondary);
  font-family: 'Cinzel', serif;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  margin-top: 5px;
}

/* === TESTIMONIAL STYLES === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F7EF;
  box-shadow: 0 4px 18px 0 rgba(30,44,61,0.06);
  border-radius: 11px;
  margin-bottom: 24px;
  border-left: 5px solid var(--secondary);
  flex: 1 1 280px;
  max-width: 570px;
  color: #234C67;
}
.testimonial-card p {
  color: #234C67;
  font-family: 'Lato', serif;
  font-size: 1.1rem;
}
.testimonial-author {
  font-size: 1em;
  color: var(--secondary-dark);
  font-family: 'Cinzel', serif;
  margin-left: 7px;
  margin-top: 14px;
}

/* === FOOTER === */
footer {
  background: #232833;
  color: #F9F7EF;
  padding: 38px 0 22px 0;
  font-family: 'Lato', serif;
  margin-top: 56px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-logo img {
  height: 68px;
  width: auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #A6A93A;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F9F7EF;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.96rem;
  color: #EEEED4;
  line-height: 1.6;
  margin-top: 10px;
}

/* === MAIN NAVIGATION === */
header {
  background: var(--surface-white);
  box-shadow: 0 4px 19px 0 rgba(35, 76, 103, 0.054);
  width: 100%;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 18px;
  gap: 18px;
}
.logo img {
  height: 54px;
  width: auto;
}

/* Main nav links */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Cinzel', serif;
  font-size: 1.085rem;
  letter-spacing: 0.01em;
  padding: 3px 9px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 400;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--surface-white);
}

.cta-btn {
  background: var(--primary);
  color: var(--surface-white);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px #234C6740;
  padding: 11px 28px;
  margin-left: 18px;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
  cursor: pointer;
  letter-spacing: 0.01em;
  outline: none;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A6A93A;
  color: #232833;
  box-shadow: 0 4px 18px #A6A93A44;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  background: none;
  color: #234C67;
  font-size: 2.1rem;
  padding: 7px 13px;
  border: none;
  border-radius: 5px;
  margin-left: 12px;
  display: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E4E7EB;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #232833ee;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.5,.45,.16,1.1);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 20px;
  font-size: 2.2rem;
  color: #F9F7EF;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 3050;
}
.mobile-menu-close:hover {
  background: #A6A93A;
  color: #232833;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 45px;
  padding: 0 38px;
  width: 100%;
}
.mobile-nav a {
  color: #F9F7EF;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  border-radius: 6px;
  padding: 10px 0 10px 8px;
  font-weight: 600;
  transition: background 0.17s, color 0.13s;
  min-width: 180px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A6A93A;
  color: #232833;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232833;
  color: #F9F7EF;
  font-family: 'Lato', serif;
  box-shadow: 0 -2px 12px #234c6730;
  padding: 22px 19px 19px 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.5,.45,.13,1.1), opacity 0.18s;
  transform: translateY(100%);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #F9F7EF;
  margin-bottom: 9px;
  font-size: 1.03rem;
  font-family: 'Lato', serif;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 3px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
  margin-right: 5px;
  margin-bottom: 6px;
}
.cookie-accept {
  background: #A6A93A;
  color: #232833;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #d3d43f;
}
.cookie-reject {
  background: #E4E7EB;
  color: #234C67;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #bfc3b7;
}
.cookie-settings {
  background: none;
  border: 1.5px solid #A6A93A;
  color: #A6A93A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #A6A93A;
  color: #234C67;
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35, 44, 51, 0.69);
  z-index: 5500;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFF;
  color: #232833;
  font-family: 'Lato', serif;
  border-radius: 15px;
  box-shadow: 0 8px 32px #234C6749;
  padding: 34px 26px;
  max-width: 440px;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalIn 0.35s cubic-bezier(.6,.15,.21,1.2);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: #234C67;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-family: 'Lato', serif;
  font-size: 1.03rem;
  color: #234C67;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A6A93A;
  width: 18px;
  height: 18px;
}
.cookie-category .always-enabled {
  font-size: 0.99em;
  color: #848720;
  margin-left: 11px;
  font-style: italic;
}
.cookie-modal .cookie-save {
  background: #A6A93A;
  color: #232833;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 8px;
  align-self: flex-end;
  border: none;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-save:hover,
.cookie-modal .cookie-save:focus {
  background: #d3d43f;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 13px;
  top: 11px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #234C67;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s;
}
.cookie-modal .modal-close:hover {
  background: #F3F3E0;
}

/* =========== RESPONSIVE DESIGN: MOBILE-FIRST =========== */
@media (max-width: 1000px) {
  .container {
    max-width: 960px;
    padding: 0 9px;
  }
  .world-cuisine-grid > div,
  .service-item {
    min-width: 140px;
    max-width: 99vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 7px;
  }
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 5vw;
  }
  .content-grid,
  .feature-grid,
  .recipe-teasers,
  .card-container,
  .services-list,
  .service-list,
  .world-cuisine-grid {
    flex-direction: column !important;
    gap: 19px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 95vw;
    margin-bottom: 18px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-logo img {
    height: 46px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .cta-btn,
  .cookie-btns button,
  .cookie-accept, .cookie-reject, .cookie-settings {
    font-size: 1.02rem;
    padding: 9px 12px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 41px;
    border-radius: 12px;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.16rem; }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  body { padding-bottom: 86px; }
  .logo img { height: 36px; }
  .footer-logo img { height: 32px; }
  .cookie-banner { padding: 13px 7px 11px 9px; font-size: 0.96rem; border-radius: 0; }
  .section { padding: 18px 2px; }
  .cookie-modal { padding: 16px 7px; min-width: 95vw; }
}

/* === UTILITY CLASSES & HOVERS === */
.faq-section strong {
  color: var(--primary-dark);
}
.faq-section ul li {
  font-size: 1.05rem;
}

a {
  transition: color 0.16s, background 0.13s;
}
a:hover, a:focus {
  color: #A6A93A;
}

/* === Smooth Transitions === */
button, .cta-btn, .card, .service-item, .mobile-menu,
.cookie-banner, .cookie-btns button, input[type="search"] {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, border-color 0.12s;
}

/* === Visually-hidden for accessibility === */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Prevent content overlapping */
.section, .card, .service-item, .testimonial-card {
  box-sizing: border-box;
  margin-bottom: 20px;
}

/* ========== END STYLE.CSS ==========
   All layouts strictly use display: flex !
*/
