/* =========================
  Sapori del Mondo Napoli
  Professional Corporate Style - CSS
  Flexbox-Only • Modern • Responsive • UI
  ========================= */

/* ========== CSS RESET & BASE TYPOGRAPHY ========== */
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, main, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #213140;
  background: #FFF9F3;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* For dark-on-light focus */
}
a {
  color: #934936;
  text-decoration: none;
  transition: color 0.22s;
}
a:focus, a:hover {
  color: #E3B75F;
  outline: none;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, "Times New Roman", Times, serif;
  color: #232F3E;
  font-weight: 700;
  line-height: 1.2;
}
h1 {font-size: 2.4rem; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem; margin-bottom: 8px;}

p, .subheadline {
  margin-bottom: 16px;
  font-weight: 400;
}
.subheadline {
  font-size: 1.1rem;
  color: #565C68;
}
strong { font-weight: 600; }

address {
  font-style: normal;
  color: #213140;
  font-size: 0.98em;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  background: transparent;
  border-radius: 14px;
  box-shadow: none;
  padding: 0;
}

/* ========== SPACING & FLEX PATTERNS ========== */
section { margin-bottom: 60px; padding: 40px 0 0 0; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(33,49,64,0.08); }
.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 { display: flex; align-items: center; gap: 20px; padding: 20px; background: #F4F6FA; border-radius: 12px; box-shadow: 0 2px 8px rgba(33,49,64,0.10); margin-bottom: 20px; transition: box-shadow 0.22s; }
.testimonial-card:hover { box-shadow: 0 4px 16px rgba(33,49,64,0.14); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(33,49,64,0.08);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
header img {
  height: 48px;
  width: auto;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-left: 30px;
}
.desktop-nav a {
  color: #213140;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 6px;
  transition: color 0.17s, background 0.17s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #934936;
  background: #F4F6FA;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  padding: 12px 28px;
  font-size: 1rem;
  min-width: 170px;
  transition: background 0.23s, color 0.18s, box-shadow 0.21s;
  text-align: center;
  box-shadow: 0 2px 14px rgba(33,49,64,0.07);
  outline: none;
}
.cta-primary {
  background: #934936;
  color: #fff;
  box-shadow: 0 2px 14px rgba(147,73,54, 0.09);
}
.cta-primary:hover, .cta-primary:focus {
  background: #a15a48;
  color: #FFF9F3;
  box-shadow: 0 4px 24px rgba(147,73,54, 0.13);
}
.cta-secondary {
  background: #E3B75F;
  color: #232F3E;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #f9c857;
  color: #934936;
  box-shadow: 0 4px 18px rgba(227,183,95, 0.15);
}

/* Mobile Burger */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 16px;
  z-index: 1011;
  width: 48px;
  height: 48px;
  background: #213140;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 2.1rem;
  line-height: 1;
  box-shadow: 0 4px 24px rgba(33,49,64,0.10);
  transition: background 0.18s, color 0.17s;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #934936;
  color: #E3B75F;
  outline: 2px solid #E3B75F;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(105%);
  width: 100vw;
  max-width: 390px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 36px rgba(33,49,64,0.21);
  transition: transform 0.36s cubic-bezier(0.65,0.01,0.31,1.09);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 26px 24px 44px 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  format-style: normal;
  background: none;
  border: none;
  color: #213140;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 14px;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F6FA;
  color: #934936;
  outline: 2px solid #E3B75F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}
.mobile-nav a {
  color: #934936;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 14px 0;
  border-radius: 8px;
  text-align: left;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F6FA;
  color: #213140;
}

/* Hide desktop nav & show mobile menu button at <1024px */
@media (max-width: 1023px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  header .container {
    gap: 10px;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========== HERO & CORE PAGE LAYOUT ========== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(100deg, #FFF9F3 88%, #E3B75F 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(33,49,64,0.06);
  padding: 44px 32px;
  margin-bottom: 28px;
  min-height: 180px;
}
.hero .cta-primary {
  margin-top: 12px;
}

/* ========== FEATURES, CARDS & FLEX LAYOUTS ========== */
.features {
  padding: 32px 0 0 0;
  background: transparent;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 330px;
  background: #fff;
  border: 1px solid #ede8e2;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(33,49,64,0.06);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, border 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  border: 1.5px solid #E3B75F;
  box-shadow: 0 4px 18px rgba(227,183,95, 0.09), 0 2px 12px rgba(33,49,64,0.08);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* CARD GENERAL */
.card {
  background: #fff;
  border-radius: 13px;
  margin-bottom: 20px;
  padding: 24px 20px;
  box-shadow: 0 2px 15px rgba(33,49,64,0.06);
  transition: box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 34px rgba(33,49,64,0.14);
}

/* TESTIMONIALS */
.testimonials {
  padding: 32px 0 0 0;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 300px;
  min-width: 245px;
  max-width: 350px;
  background: #F4F6FA;
  color: #213140;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,49,64,0.09);
  padding: 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card p {
  color: #213140;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98em;
  color: #934936;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* ========== ABOUT, SERVICES, CONTACT etc ========== */
.about, .services, .contact, .legal, .thank-you {
  background: #fff;
  border-radius: 14px;
  padding: 34px 22px 32px 22px;
  box-shadow: 0 2px 14px rgba(33,49,64,0.09);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-highlights, .footer-nav, .newsletter-signup, .presentation-advice {
  margin: 18px 0;
}
.service-highlights li span {
  display: inline-block;
  margin-left: 8px;
  color: #E3B75F;
  font-weight: 500;
  font-size: 1em;
}

.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.location-map {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

.cuisine-fusion {
  background: #F4F6FA;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .feature-grid, .testimonial-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    padding: 32px 12px;
    min-height: 120px;
  }
  .about, .services, .contact, .legal, .thank-you {
    padding: 22px 8px 20px 8px;
  }
}

/* ========== CTA & INTERACTIVE ========== */
.cta { text-align: center; margin-top: 44px; }
.cta h2 { margin-bottom: 18px; }
.cta .cta-primary, .cta .cta-secondary { margin: 0 auto; }

/* ========== FOOTER ========== */
footer {
  background: #213140;
  color: #fff;
  font-size: 0.98rem;
  padding: 0;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 18px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  padding-bottom: 18px;
  border-bottom: 1px solid #3B495E;
}
.footer-main > * {
  flex: 1 1 180px;
  margin-bottom: 12px;
}
.footer-main img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #E3B75F;
  font-weight: 500;
  font-size: 1em;
  text-decoration: none;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  width: 30px;height: 30px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  transition: box-shadow 0.20s;
}
.footer-social a:hover img, .footer-social a:focus img {
  box-shadow: 0 3px 10px #E3B75F33;
  background: #E3B75F;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 2px 0;
  color: #B7C5D6;
  font-size: 0.95em;
}

@media (max-width: 880px) {
  .footer-main {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .footer-social { gap: 9px; }
  .footer-main img { height: 32px; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #232F3E;
  color: #fff;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -2px 14px rgba(33,49,64,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  animation: cookieBannerIn 0.6s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes cookieBannerIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 6px;
  border: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .accept {
  background: #E3B75F;
  color: #213140;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #f5cd78;
}
.cookie-banner .reject {
  background: #fff;
  color: #934936;
  border: 1.5px solid #934936;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F4F6FA;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: #232F3E;
}

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,49,64,0.47);
  z-index: 1520;
  justify-content: center;
  align-items: center;
}
.cookie-modal.open {
  display: flex;
  animation: modalFadeIn 0.44s cubic-bezier(.6,-0.28,.74,.05);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #232F3E;
  min-width: 330px;
  max-width: 98vw;
  border-radius: 12px;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 4px 28px rgba(33,49,64,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  font-family: 'Merriweather', serif;
  margin-bottom: 10px;
  color: #934936;
  font-size: 1.4rem;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05em;
}
.cookie-modal-category input[type=checkbox][disabled]:checked {
  accent-color: #E3B75F;
}
.cookie-modal-footer {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #934936;
  border-radius: 5px;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F6FA;
}

@media (max-width: 620px) {
  .cookie-modal-content { min-width: 98vw; padding: 20px 7px; }
}

/* ========== RESPONSIVE FLEX & SECTIONS ========== */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .footer-main { gap: 16px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: column; justify-content: flex-start; min-height: 74px; }
  .feature-grid > div,
  .testimonial-card, .card {
    max-width: 100%; min-width: 0; flex: 1 1 100%;
  }
  section, .section { padding: 32px 8px; }
  .hero { padding: 22px 7px; }
}
@media (max-width: 540px) {
  header img { height: 32px; }
  .cta-primary, .cta-secondary { min-width: 0; width: 100%; font-size: 1em; padding: 11px 0; }
  .hero { min-height: 75px; }
}

/* ========== MICRO-INTERACTIONS & GENERAL EFFECTS ========== */
button, a, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal-close {
  transition: background 0.18s, box-shadow 0.17s, color 0.18s, border 0.16s;
}

/* ========== FORM ELEMENTS & UTILITIES ========== */
::-webkit-input-placeholder { color: #9aa7b6; }
::-moz-placeholder { color: #9aa7b6; }
:-ms-input-placeholder { color: #9aa7b6; }
::placeholder { color: #9aa7b6; }

input, textarea, select {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #C0CCD5;
  background: #fff;
  color: #232F3E;
  padding: 11px 12px;
  margin-bottom: 13px;
  box-shadow: 0 1px 4px rgba(33,49,64,0.05);
  outline: none;
  transition: border 0.14s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #934936;
}

label {
  font-size: 0.99em;
  margin-bottom: 5px;
  color: #934936;
  font-weight: 500;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; }

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