/* ============================================================
   SAPORI CREATIVI – LUXURY PREMIUM CSS STYLE
   ------------------------------------------------------------
   Responsive, luxury-premium, flexbox-only layout
   Brand colors: Primary #27451C, Accent #D44115, Soft Gold #D9CBA3
   Fonts: Merriweather (Display), Roboto (Body)
   ------------------------------------------------------------
   (c) 2024 Sapori Creativi
   ============================================================ */

/* === 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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9f8f6;
  color: #222;
  line-height: 1.65;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}
a {
  color: #D44115;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B7350F;
  text-decoration: underline;
}
ul, ol {
  margin-left: 20px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input[type="button"], input[type="submit"], .btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  outline: none;
}

/* === TYPOGRAPHY & FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #27451C;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, .subtitle, .tagline {
  font-size: 1.08rem;
  margin-bottom: 18px;
  color: #222;
}
.tagline, .subtitle {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #B1914A;
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
  color: #27451C;
}

/* === SPACING SYSTEM & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0; /* fine-tuned by children */
}
.section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 8px 32px rgba(42,36,24,0.11);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 9px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .container {
    padding: 0 8px;
  }
}
main {
  flex: 1 0 auto;
  padding-bottom: 40px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #27451C;
  color: #fff;
  box-shadow: 0 3px 14px rgba(39,69,28,0.12);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
header a img {
  max-height: 48px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #B1914A;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 992px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 810px) {
  .main-nav {
    gap: 8px;
  }
  header .container {
    height: 54px;
  }
  header a img {
    max-height: 35px;
  }
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 1050;
  background: #fff8;
  color: #B1914A;
  border-radius: 50%;
  border: 2px solid #B1914A;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(39,69,28,0.07);
  transition: background 0.2s, border 0.2s, color 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus-visible {
  background: #B1914A;
  color: #fff;
  border: 2px solid #D44115;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 32px 0 rgba(39,69,28,0.18);
  padding: 18px 18px 18px 30px;
  z-index: 2002;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4,0.22,0.34,1.03);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #B1914A;
  border: 2px solid #B1914A;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: background 0.16s, color 0.16s, border 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #B1914A;
  color: #fff;
  border-color: #D44115;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 8px;
}
.mobile-nav a {
  color: #27451C;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  padding: 14px 6px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f3e9d3;
  color: #B1914A;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {display: none;}
}

/* === SECTIONS & WRAPPERS === */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 8px;
  }
}

/* === FEATURE LIST STYLES === */
.features-list, .usp-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  list-style: none;
}
.features-list li, .service-list li, .usp-grid li {
  background: #fcfbf9;
  border-radius: 12px;
  padding: 18px 18px 18px 20px;
  min-width: 210px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(185,145,74,0.10);
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0px;
  min-height: 61px;
}
.features-list img, .service-list img, .usp-grid img {
  margin-right: 10px;
  width: 36px;
  height: 36px;
}
@media (max-width: 650px) {
  .features-list, .usp-grid, .service-list { flex-direction: column; }
  .features-list li, .service-list li, .usp-grid li { width: 100%; min-width: 0; }
}

/* === CARD & GRID STRUCTURE === */
.card-container, .recipe-grid, .services-list, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .recipe-card, .blog-preview, .services-list > div {
  position: relative;
  background: #fffefc;
  border-radius: 15px;
  box-shadow: 0 5px 22px rgba(39,69,28,0.09),0 1px 2px rgba(0,0,0,0.02);
  margin-bottom: 20px;
  padding: 28px 22px 24px 22px;
  min-width: 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #F8F6F1;
  transition: box-shadow 0.17s, border-color 0.18s;
}
.card:hover, .recipe-card:hover, .services-list > div:hover, .blog-preview:hover {
  border-color: #B1914A;
  box-shadow: 0 9px 32px 0 rgba(185,145,74,0.13);
}
@media (max-width: 768px) {
  .card, .recipe-card, .blog-preview, .services-list > div {
    padding: 17px 10px 15px 12px;
    min-width: 0;
    max-width:100%;
  }
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f0ede7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(39,69,28,0.07);
  margin-bottom: 20px;
  position: relative;
  border-left: 4px solid #B1914A;
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(39,69,28,0.13);
}
.testimonial-card blockquote {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  color: #23211c;
  padding: 0 10px 0 0;
  line-height: 1.6;
}
.testimonial-card cite {
  display: block;
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
  color: #3A5E2C;
  font-style: normal;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* === BUTTONS === */
.btn, input[type="submit"], button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 135px;
  padding: 13px 32px;
  font-family: 'Merriweather', serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 32px;
  border: 2px solid #B1914A;
  background: #fff;
  color: #27451C;
  box-shadow: 0 2px 12px rgba(185,145,74,0.10);
  transition: background 0.17s, color 0.17s, border 0.17s, box-shadow 0.17s;
  letter-spacing: 0.01em;
  margin-top: 12px;
}
.btn:hover, .btn:focus, input[type="submit"]:hover, button.btn:focus {
  background: #B1914A;
  color: #fff;
  border-color: #D44115;
  box-shadow: 0 6px 20px 0 rgba(212,65,21, 0.11);
}
.btn-primary {
  background: #27451C;
  color: #fff;
  border: 2px solid #B1914A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B1914A;
  color: #27451C;
  border-color: #B1914A;
}

/* === FORMS & INPUTS === */
input[type="text"], textarea, .search-bar, .ingredient-input {
  width: 100%;
  max-width: 400px;
  padding: 11px 14px;
  border: 1.5px solid #B1914A;
  border-radius: 9px;
  font-size: 1.04rem;
  background: #fcfbf9;
  margin-bottom: 14px;
  color: #222;
  transition: border 0.2s, box-shadow 0.17s;
  box-shadow: 0 2px 10px 0 rgba(185,145,74,0.075);
}
input[type="text"]:focus, input[type="search"]:focus, .search-bar:focus, .ingredient-input:focus, textarea:focus {
  border-color: #D44115;
  box-shadow: 0 3px 16px 0 rgba(212,65,21,0.08);
  background: #fff;
}

/* === FILTERS / TAGS === */
.filters, .filter-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-tag {
  background: #fff;
  border: 1.5px solid #B1914A;
  border-radius: 32px;
  color: #3A5E2C;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 8px 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.13s, color 0.11s;
  margin-bottom: 8px;
}
.filter-tag:hover, .filter-tag:active {
  background: #D9CBA3;
  color: #D44115;
}

/* === SOCIAL ICONS === */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 24px;
}
.social-links a {
  display:inline-flex;
  background: #f9f8f6;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(185,145,74,0.1);
  transition: background 0.15s, box-shadow 0.15s;
  width:39px;height:39px;
  align-items:center;justify-content:center;
}
.social-links a:hover, .social-links a:focus {
  background: #D9CBA3;
  box-shadow: 0 3px 20px rgba(185,145,74,0.14);
}
.social-links img { max-width: 21px; max-height: 21px; }

/* === PAGINATION === */
.pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.pagination a {
  background: #fff;
  border: 1.5px solid #B1914A;
  border-radius: 50%;
  color: #3A5E2C;
  font-weight: 600;
  font-size: 1rem;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.pagination a.active, .pagination a:hover {
  background: #B1914A;
  color: #fff;
  border-color: #D44115;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 2.5px solid #D9CBA3;
  padding: 32px 0 18px 0;
  font-size: 0.98rem;
  color: #8a6f3a;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #B1914A;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  margin-right: 7px;
}
.footer-nav a:hover {
  color: #D44115;
}
footer address {
  font-style: normal;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.6;
  color: #786522;
}
footer address strong {
  color: #27451C;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  margin-right: 4px;
}
footer address img {
  vertical-align: middle;
  margin: 0 4px 0 6px;
  height: 18px;
}
@media (max-width: 700px) {
  .footer-nav { flex-direction: column; gap: 6px; }
  footer address { flex-direction: column; gap: 5px; }
}

/* === RESPONSIVE LAYOUT === */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 18px; }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fffbe7;
  color: #3A5E2C;
  border-top: 2px solid #B1914A;
  box-shadow: 0 -1px 20px 0 rgba(42,36,24,0.10);
  padding: 22px 10px 22px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.28s cubic-bezier(0.4,0.26,0.37,1), opacity 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
}
.cookie-banner .btn {
  min-width: 110px;
  padding: 10px 20px;
  font-size: 1rem;
}
.cookie-banner .btn-primary {
  background: #D44115;
  color: #fff;
  border-color: #D44115;
}
.cookie-banner .btn-primary:hover {
  background: #B7350F;
  border-color: #B1914A;
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 7px;
    gap: 10px;
  }
}
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,69,28,0.37);
  z-index: 3020;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 38px 26px;
  box-shadow: 0 7px 32px rgba(39,69,28,0.21);
  min-width: 340px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}
.cookie-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #fff;
  color: #B1914A;
  border-radius: 50%;
  font-size: 1.25rem;
  border: 2px solid #B1914A;
  width: 31px;
  height: 31px;
  text-align: center;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border 0.12s;
}
.cookie-close:hover, .cookie-close:focus {
  background: #B1914A;
  color: #fff;
  border: 2px solid #D44115;
}
.cookie-modal-content h2 {
  margin-bottom: 2px;
  font-size: 1.35rem;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 7px;
  margin-bottom: 13px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #3A5E2C;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 2px;
}
.cookie-switch input[type="checkbox"] {
  accent-color: #B1914A;
  width: 21px;
  height: 21px;
  margin-right: 5px;
}

/* === UTILITY CLASSES & MICROINTERACTIONS === */
.hide { display: none !important; }
.show { display: block !important; }
/* Subtle fade/slide in for main content */
main {
  animation: fadeinup 1s cubic-bezier(0.21,0.51,0.20,1) 1;
}
@keyframes fadeinup {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* === BRAND GOLD ACCENTS === */
.gold { color: #B1914A; }
.bg-gold { background: #D9CBA3; }
.accent { color: #D44115 !important; }
.bg-accent { background: #D44115 !important; color: #fff !important; }

/* === MISCELLANEOUS === */
::-webkit-input-placeholder { color: #aa9873; }
::-moz-placeholder { color: #aa9873; }
:-ms-input-placeholder { color: #aa9873; }
::placeholder { color: #aa9873; opacity: 1; }

hr {
  border: 0;
  border-top: 1.5px solid #D9CBA3;
  margin: 38px 0;
}

/* === FOCUS ACCESSIBILITY === */
a:focus, button:focus, .btn:focus, input:focus, select:focus {
  outline: 2px solid #D44115;
  outline-offset: 2px;
}

/* ===== FLEXBOX-ONLY – NO GRID OR COLUMNS! ===== */
/* VERIFIED: No display: grid, grid-* or column-* properties used anywhere */
