/* =====================================================
   Silent Moss - Vintage Retro Theme - style.css
   Author: Senior CSS/UI Specialist
   Design: Vintage/Retro, Brand-Aligned, Responsive, Flexbox
   ===================================================== */

/* ========== CSS RESET & NORMALIZE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
  background: #FCF6EF;
  color: #254D32;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  background-color: #FCF6EF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.17s;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 rgba(236,187,53,0.15);
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
}

/* ========== TYPOGRAPHY (RETRO-VINTAGE INSPIRED) ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,700&display=swap');

.display-font {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.body-font {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ========== VINTAGE RETRO COLOR PALETTE ========== */
:root {
  --primary: #254D32;              /* Brand dark green */
  --secondary: #6CAE75;            /* Brand soft green */
  --accent: #F6F8F3;               /* Brand light accent */
  --retro-yellow: #ECCB35;
  --retro-red: #B25E3B;
  --retro-creme: #FCF6EF;
  --retro-brown: #816248;
  --retro-mint: #BCD7B9;
  --retro-blue: #4C75A3;
}

/* ========== LAYOUT CONTAINERS & SPACING ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section,
.hero,
.menu-preview,
.about-preview,
.cta-banner,
.features,
.menu-list,
.pricing,
.offer,
.team,
.steps,
.faq,
.about,
.legal,
.contact-info,
.contact-form,
.confirmation,
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ========== FLEXBOX ALIGNMENTS (Global) ========== */
.card-container,
.card-grid,
.feature-grid,
.features,
.content-grid,
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--retro-creme);
  border-radius: 18px;
  box-shadow: 0 3px 10px 0 rgba(37,77,50,0.07),0 1.5px 5px 0 rgba(236,203,53,0.05);
  transition: box-shadow 0.18s, transform 0.18s;
  padding: 24px;
  border: 2px solid var(--retro-yellow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== MAIN NAVIGATION ========== */
header {
  width: 100%;
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 3px 10px 0 rgba(37,77,50,0.08);
  z-index: 50;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  height: 76px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.main-nav a {
  color: var(--primary);
  position: relative;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--retro-brown);
  color: #fff;
}
.main-nav a.cta-primary {
  background: var(--retro-red);
  color: #fff;
  padding: 9px 22px;
  border-radius: 14px;
  font-size: 1.07rem;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 18px 0 rgba(37,77,50,0.13);
  transition: background 0.17s, box-shadow 0.17s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: var(--primary);
  color: #FFD597;
  box-shadow: 0 7px 30px 0 rgba(37,77,50,0.22);
}
.main-nav img {
  height: 34px;
  margin-right: 12px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff4e5;
  border: none;
  font-size: 2.2rem;
  padding: 6px 18px 6px 6px;
  border-radius: 10px;
  position: absolute;
  right: 18px;
  top: 12px;
  z-index: 120;
  cursor: pointer;
  transition: background 0.19s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--retro-yellow);
}

/* MOBILE MAIN NAV HIDE */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(93deg, var(--retro-yellow) 85%, var(--retro-red) 100%);
  box-shadow: -7px 0 30px 0 rgba(37,77,50,0.09);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--retro-red);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 12px 20px;
  margin: 18px 14px 0 0;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 15px 35px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(37,77,50,0.13);
  background: transparent;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--retro-brown);
  color: #fff;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(99deg, #FAF0DF 70%, var(--retro-mint) 100%);
  border-radius: 26px;
  position: relative;
  margin-bottom: 60px;
  padding: 54px 20px 54px 20px;
  box-shadow: 0 2px 18px 0 rgba(200, 162, 62, 0.06);
  border: 2px dashed var(--retro-yellow);
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--retro-red);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 var(--retro-yellow), 0 1px 0 #fff3cc;
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 24px;
}

/* ========== FEATURES SECTION ========== */
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #FFF9F3;
  border-radius: 14px;
  box-shadow: 0 3px 10px 0 rgba(233, 203, 71, 0.09);
  border: 2px solid var(--retro-mint);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.18s;
  will-change: transform;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(37,77,50,0.15);
  transform: translateY(-6px) scale(1.03) rotate(-1.1deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #E5E3DC;
  padding: 8px;
  border: 2px solid var(--retro-creme);
}

/* ========== CARDS, SECTION SPACING, AND CONTENT GRIDS ========== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 270px;
  margin-bottom: 20px;
  border-radius: 13px;
  box-shadow: 0 1.5px 7px 0 rgba(44,38,18,0.08);
  border: 2px solid var(--retro-yellow);
  background: var(--retro-creme);
  transition: box-shadow 0.14s, background 0.16s, transform 0.16s;
}
.card:hover {
  background: var(--retro-mint);
  box-shadow: 0 5px 18px 0 rgba(236,203,53,0.11);
  transform: translateY(-4px) scale(1.025);
}

/* ========== ABOUT, MENU & LIST PREVIEWS ========== */
.about-preview, .menu-preview, .menu-list, .about, .offer, .pricing, .steps, .faq, .testimonials {
  background: #FFFDF8;
  border: 2px solid var(--retro-yellow);
  border-radius: 19px;
  box-shadow: 0 6px 18px 0 rgba(44,38,18,0.05);
}
.menu-list ul, .about-preview ul, .about ul, .pricing ul, .offer ul {
  margin-left: 0;
  padding-left: 1.2em;
  margin-bottom: 1rem;
}
.menu-list li, .about-preview li, .about li, .pricing li, .offer li {
  font-size: 1.07rem;
  margin-bottom: 8px;
  color: var(--primary);
}

/* ========== CTA BUTTONS, BANNERS ========== */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  padding: 13px 30px;
  font-size: 1.18rem;
  border-radius: 13px;
  box-shadow: 0 4px 20px 0 rgba(37,77,50,0.11);
  transition: background 0.18s, color 0.18s, transform 0.16s, box-shadow 0.17s;
  outline: none;
  margin-top: 18px;
  margin-bottom: 10px;
}
.cta-primary {
  background: var(--retro-red);
  color: #fffef7;
  letter-spacing: 1.2px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px 0 rgba(37,77,50,0.23);
}
.cta-secondary {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid var(--primary);
  letter-spacing: 1px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--retro-brown);
  color: #fff6e8;
  border-color: var(--retro-yellow);
  transform: scale(1.025);
}
.cta-banner {
  background: linear-gradient(96deg, var(--retro-creme) 90%, var(--retro-yellow) 100%);
  border: 2px dashed var(--secondary);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 3px 24px 0 rgba(44,38,18,0.13);
}
.cta-banner h2 {
  color: var(--retro-red);
  margin-bottom: 20px;
}

/* ========== TESTIMONIALS & REVIEW CARDS ========== */
.testimonials .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffcede;
  border-radius: 13px;
  border: 2.5px solid var(--retro-mint);
  box-shadow: 0 2px 10px 0 rgba(37,77,50,0.08);
  color: #172c19;
  font-size: 1.08rem;
  flex-direction: column;
}
.testimonials .testimonial-card p {
  color: #1f3b29;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonials .testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #816248;
  font-size: 0.98rem;
}
.featured-quoter {
  background: #FAF4DB;
  border: 2px dotted var(--retro-red);
  border-radius: 15px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px 0 rgba(44,38,18,0.11);
}
.featured-quoter h3 {
  color: var(--retro-red);
  font-size: 1.19rem;
  margin-bottom: 6px;
  letter-spacing: 1.2px;
}
.featured-quoter blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  color: var(--primary);
  font-size: 1.13rem;
}
.featured-quoter span {
  display: block;
  margin-top: 14px;
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: var(--accent);
  border-top: 5px solid var(--retro-yellow);
  font-size: 1.03rem;
  padding: 40px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.footer-nav a {
  color: var(--retro-yellow);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-contact img {
  width: 1.16em;
  height: 1.16em;
  vertical-align: middle;
  margin-right: 5px;
}
.tagline {
  margin-top: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 1.2rem;
  color: var(--retro-yellow);
  letter-spacing: 0.7px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(95deg, var(--retro-yellow) 92%, var(--retro-red) 100%);
  color: var(--primary);
  box-shadow: 0 -2px 13px 0 rgba(44,38,18,0.10);
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  gap: 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  flex-wrap: wrap;
  animation: cookie-banner-in 0.8s cubic-bezier(.7,0,.29,1) 0.1s;
}
@keyframes cookie-banner-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: var(--retro-red);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 2px 7px 0 rgba(37,77,50,0.04);
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  transform: scale(1.045);
}
.cookie-banner .cookie-settings-btn {
  background: var(--retro-yellow);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--retro-brown);
  color: var(--accent);
  border-color: var(--retro-yellow);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,77,50,0.42);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.47s cubic-bezier(.7,0,.29,1) 0.07s;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFBE8;
  color: var(--primary);
  border: 3px solid var(--retro-yellow);
  border-radius: 18px;
  box-shadow: 0 5px 25px 0 rgba(37,77,50,0.18);
  padding: 30px 26px 22px 26px;
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modal-slide-in 0.47s cubic-bezier(.6,.04,.44,1);
}
@keyframes modal-slide-in {
  0% {transform: scale(0.92) translateY(18px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.32rem;
  margin-bottom: 9px;
  color: var(--retro-red);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-categories label {
  display: flex;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--primary);
}
.cookie-categories input[type="checkbox"] {
  accent-color: var(--retro-yellow);
  margin-right: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 13px;
  background: var(--retro-red);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
}
.cookie-modal .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* ========== RESPONSIVE DESIGN (Mobile First) ========== */
@media (max-width: 1200px) {
  .feature-grid > div,
  .card {
    flex: 1 1 320px;
  }
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .card {
    flex: 1 1 92vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section,
  .hero,
  .about-preview,
  .menu-preview,
  .cta-banner,
  .features,
  .menu-list,
  .pricing,
  .offer,
  .team,
  .steps,
  .faq,
  .about,
  .legal,
  .contact-info,
  .contact-form,
  .confirmation,
  .testimonials {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .feature-grid,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .card {
    margin-bottom: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 13px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.03rem; }
  .main-nav, .footer-nav {
    font-size: 0.98rem;
  }
  .cta-primary, .cta-secondary {
    font-size: 1.02rem;
    padding: 11px 15px;
  }
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 15px 7px 13px 7px;
    min-width: unset;
    width: 95vw;
  }
}

/* ========== MICRO-INTERACTIONS (Hover/Active/Transitions) ========== */
a, button {
  transition: background 0.16s, color 0.14s, box-shadow 0.14s, transform 0.15s;
}
button:focus, a:focus {
  outline: 2px solid var(--retro-red);
  outline-offset: 2px;
}

/* ========== PRINT ========== */
@media print {
  .main-nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cta-primary, .cta-secondary, .footer-nav {
    display: none !important;
  }
}

/* ========== UTILITY CLASSES ========== */
.d-none { display: none !important; }
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 20px !important; }

/* ========== Z-INDEX LAYERS ========== */
header { z-index: 40; position: relative; }
.mobile-menu { z-index: 5000; }
.cookie-banner { z-index: 7000; }
.cookie-modal { z-index: 8000; }

/* ========== PATTERNED BACKGROUND FOR SECTIONS (Optional) ========== */
.section, .about-preview, .menu-preview, .legal, .about, .faq {
  background-image: repeating-linear-gradient(135deg, #F6F8F3 0 22px, #FAF7ED 22px 44px);
  background-size: 44px 44px;
}

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