/* ===========================================================
   VINTAGE RETRO CSS FOR CRISP TORQUE NUTRITION (MOBILE FIRST)
   Brand: Energetic, Modern, Professional, and Vintage/Retro
   ============================================================*/

/* ===== 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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  height: 100%;
}
body {
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
input, textarea {
  font-family: inherit;
  font-size: 100%;
}

/* ===== RETRO/VINTAGE BRAND VARIABLES ===== */
:root {
  --retro-deep: #1C232B; /* Charcoal main primary */
  --retro-green: #359E70; /* Brand secondary green */
  --retro-egg: #FFF7E3; /* Soft vintage white */
  --retro-yellow: #FFD96E; /* Subtle retro yellow */
  --retro-coral: #F57C6E; /* Coral for accents */
  --retro-tan: #F8E2B7; /* Paper tan */
  --retro-grey: #EFE3D7; /* Neutral background accent */
  --retro-blue: #6E9DD4; /* Vintage blue accent */
  --brand-accent: #F8F8F8;
}

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap'); /* Extra retro */

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--retro-deep);
  background: var(--retro-egg);
  letter-spacing: 0.1px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  color: var(--retro-green);
  text-shadow: 2px 2px 0 var(--retro-yellow);
}
h2 {
  font-size: 2rem;
  color: var(--retro-coral);
  text-shadow: 1px 1px 0 var(--retro-tan);
}
h3 {
  font-size: 1.3rem;
  color: var(--retro-blue);
}
h4 {
  font-size: 1.1rem;
  color: var(--retro-green);
}
p, li {
  font-size: 1rem;
  color: var(--retro-deep);
  line-height: 1.7;
  margin-bottom: 10px;
}

.small {
  font-size: 0.9em;
}

strong {
  color: var(--retro-coral);
  font-weight: 700;
}


/* ================= HEADER & NAVIGATION ==================== */
header {
  width: 100%;
  background: var(--retro-yellow);
  border-bottom: 3px solid var(--retro-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  position: relative;
  z-index: 10;
}
.logo img {
  height: 44px;
  filter: sepia(65%) contrast(1.1) drop-shadow(1px 2px 0 var(--retro-green));
}
.main-nav {
  display: none;
}
.main-nav a {
  color: var(--retro-deep);
  font-weight: 600;
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  margin-right: 16px;
  font-size: 1.08em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.18s, color 0.25s;
}
.main-nav a:last-child {
  margin-right: 0;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid var(--retro-blue);
  color: var(--retro-coral);
}
.cta-button {
  background: var(--retro-green);
  color: #fff;
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  font-weight: 700;
  border-radius: 32px;
  padding: 10px 28px;
  font-size: 1.06em;
  margin-left: 18px;
  letter-spacing: 2px;
  box-shadow: 2px 4px 0 var(--retro-yellow);
  border: 2px solid var(--retro-blue);
  transition: background 0.23s, box-shadow 0.2s, color 0.2s;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background: var(--retro-coral);
  color: #fff7e3;
  box-shadow: 2px 8px 0 var(--retro-tan);
  border-color: var(--retro-coral);
}
.cta-link {
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  color: var(--retro-blue);
  background: none;
  text-decoration: underline wavy var(--retro-blue);
  font-weight: 700;
  transition: color 0.2s;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
}
.cta-link:hover, .cta-link:focus {
  color: var(--retro-coral);
  text-decoration: underline wavy var(--retro-coral);
}

.mobile-menu-toggle {
  display: block;
  background: var(--retro-coral);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 2px 4px 0 var(--retro-green);
  transition: background 0.2s, color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-green);
  color: #fff7e3;
}

/* =============== MOBILE BURGER MENU ================ */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--retro-tan);
  box-shadow: 0 0 32px #0002;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.77,0.2,0.05,1.0);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--retro-deep);
  background: var(--retro-yellow);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin: 18px 0 18px 22px;
  align-self: flex-start;
  box-shadow: 1px 2px 0 var(--retro-green);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-coral);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  padding: 0 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  color: var(--retro-blue);
  font-size: 1.22em;
  font-weight: 600;
  padding: 7px 0;
  transition: color 0.18s, text-shadow 0.2s;
  margin-left: 7px;
  margin-right: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-coral);
  text-shadow: 1px 2px 0 var(--retro-green);
}

/* --- Show desktop nav on screens >= 1024px --- */
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* =================== LAYOUTS & STRUCTURE ================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-tan);
  border-radius: 20px;
  box-shadow: 2px 6px 0 var(--retro-yellow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.text-section {
  background: var(--retro-grey);
  border-left: 5px solid var(--retro-green);
  border-radius: 11px;
  padding: 30px 22px;
  margin: 20px 0;
  box-shadow: 0 4px 0 var(--retro-yellow);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.card-container,
.card-grid,
.features-grid,
.blog-grid,
.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  width: 100%;
}
.card, .feature, .blog-entry, .product-entry, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.card, .feature, .blog-entry, .product-entry {
  background: var(--retro-egg);
  border-radius: 13px;
  padding: 24px 18px 20px 18px;
  box-shadow: 1.5px 2.5px 0 var(--retro-yellow);
  border: 1.5px solid var(--retro-blue);
  flex: 1 1 270px;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.21s;
}
.card:hover, .feature:hover, .blog-entry:hover, .product-entry:hover {
  box-shadow: 4px 10px 0 var(--retro-tan), 0 2px 14px #0001;
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 215px;
  flex: 1 1 248px;
}
.feature img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--retro-yellow);
  border: 2px solid var(--retro-coral);
  box-shadow: 1.5px 2.5px 0 var(--retro-blue);
  padding: 5px;
}

.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 25px 0 0 0;
}
.team-member-list li {
  background: var(--retro-egg);
  border-radius: 13px;
  box-shadow: 2px 4px 0 var(--retro-tan);
  border-left: 4px solid var(--retro-blue);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 200px;
}

.product-categories, .category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 17px 0;
}
.product-categories ul, .category-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-categories li, .category-filter li {
  background: var(--retro-yellow);
  color: var(--retro-deep);
  border-radius: 13px;
  padding: 4px 15px;
  font-family: 'Montserrat', 'Quicksand', Verdana, sans-serif;
  font-size: 0.95em;
  font-weight: 600;
  box-shadow: 1.5px 2.5px 0 var(--retro-green);
  transition: background 0.19s, color 0.18s;
  cursor: pointer;
}
.product-categories li:hover, .category-filter li:hover {
  background: var(--retro-green);
  color: #fff;
}

.product-grid, .blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 10px;
}
.product-entry, .blog-entry {
  flex: 1 1 270px;
  min-width: 200px;
  margin-bottom: 20px;
}

.product-list-preview, .tips-list, .timeline-highlights, .store-list, .next-steps {
  margin: 18px 0 23px 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.055em;
}
.product-list-preview strong, .store-list strong, .timeline-highlights strong {
  color: var(--retro-blue);
}

.store-list {
  gap: 11px;
}

.map-placeholder {
  margin-top: 20px;
  background: var(--retro-grey);
  border: 3px dashed var(--retro-green);
  border-radius: 16px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--retro-green);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12em;
}

.confirmation-message {
  font-size: 1.12em;
  color: var(--retro-blue);
  margin-bottom: 18px;
}

/* =================== TESTIMONIAL SECTION ================== */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 18px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fffefb;
  border: 2px solid var(--retro-blue);
  border-radius: 17px;
  padding: 20px 20px 16px 24px;
  min-width: 240px;
  max-width: 380px;
  color: var(--retro-deep);
  font-weight: 600;
  box-shadow: 2.5px 5px 0 var(--retro-yellow);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Montserrat', serif;
  font-size: 3rem;
  color: var(--retro-coral);
  position: absolute;
  left: 8px;
  top: 8px;
  opacity: 0.18;
  pointer-events: none;
}
.testimonial-card p {
  color: var(--retro-deep);
  font-size: 1.08em;
  margin-bottom: 6px;
  word-break: break-word;
}
.testimonial-author {
  font-family: 'Quicksand', 'Montserrat', sans-serif;
  color: var(--retro-green);
  font-weight: bold;
  font-size: 0.98em;
  margin-top: 12px;
}

/* =================== FOOTER ================== */
footer {
  background: var(--retro-blue);
  color: #fff;
  padding: 38px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 26px;
}
.footer-nav a {
  font-family: 'Montserrat', serif;
  color: var(--retro-yellow);
  font-weight: 600;
  font-size: 1em;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-coral);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.055em;
  align-items: center;
  text-align: center;
}
.footer-contact img {
  vertical-align: middle;
  height: 19px;
  margin-right: 6px;
  filter: sepia(60%) contrast(1.16);
}

/* ============== FORMS & INPUTS ================ */
input[type=text], input[type=email], textarea {
  padding: 12px 12px;
  border: 2px solid var(--retro-green);
  border-radius: 10px;
  background: var(--retro-grey);
  font-size: 1em;
  margin: 9px 0 18px 0;
  color: var(--retro-deep);
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
  max-width: 420px;
  box-shadow: 1px 2px 0 var(--retro-tan);
}
input:disabled {
  background: var(--retro-egg);
  border-style: dashed;
  color: #aaa;
}
input:focus, textarea:focus {
  outline: none;
  border: 2px solid var(--retro-coral);
  box-shadow: 2px 4px 0 var(--retro-yellow);
}

/* ================= RESPONSIVE MEDIA QUERIES =============== */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  .content-wrapper > * {
    flex: 1;
  }
  .features-grid, .card-grid, .blog-grid, .product-grid, .testimonials-slider {
    gap: 32px;
  }
  .section {
    padding: 60px 44px;
    margin-bottom: 84px;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  .card, .feature, .blog-entry, .product-entry {
    min-width: 260px;
    max-width: 360px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  h3, h4 {
    font-size: 1.02rem;
  }
  .content-wrapper, .features-grid, .product-grid, .blog-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section {
    padding: 26px 5px;
  }
}
/* ===== Scrollbar styling for retro feel ===== */
body {
  scrollbar-color: var(--retro-blue) var(--retro-tan);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--retro-tan);
}
::-webkit-scrollbar-thumb {
  background: var(--retro-blue);
  border-radius: 6px;
}

/* =========== HOVER & MICRO-INTERACTIONS ============= */
a, .cta-link, .cta-button, .product-categories li, .category-filter li, .main-nav a {
  transition: color 0.18s, background 0.2s, box-shadow 0.19s;
}
.features-grid .feature:hover, .testimonials-slider .testimonial-card:hover {
  box-shadow: 4px 10px 0 var(--retro-yellow), 0 2px 12px #0002;
  z-index: 2;
  transform: translateY(-2px) scale(1.014);
}

/* ============= COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--retro-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 28px;
  z-index: 5000;
  box-shadow: 0 -4px 12px #0002;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.94,.11,.55,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  font-size: 1.05em;
  max-width: 500px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  margin: 0 2px;
  transition: background 0.18s, color 0.14s, box-shadow 0.18s;
}
.cookie-banner .accept {
  background: var(--retro-green);
  color: #fff;
  border: 2px solid var(--retro-yellow);
  box-shadow: 2px 4px 0 var(--retro-yellow);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--retro-blue);
}
.cookie-banner .reject {
  background: var(--retro-coral);
  color: #fff;
  border: 2px solid var(--retro-yellow);
  box-shadow: 2px 4px 0 var(--retro-tan);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--retro-green);
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 2px dashed var(--retro-blue);
  box-shadow: 1px 1.5px 0 var(--retro-green);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--retro-blue);
  color: var(--retro-yellow);
}

/* ======= COOKIE SETTINGS MODAL ======== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 6000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,28,14,0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--retro-tan);
  padding: 36px 28px 28px 36px;
  border-radius: 16px;
  border: 2px solid var(--retro-green);
  width: 100%;
  max-width: 410px;
  box-shadow: 3px 10px 0 var(--retro-yellow), 0 3px 20px #0002;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.49s cubic-bezier(0.37,1.4,0.7,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: translateY(48px) scale(0.97); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Quicksand', sans-serif;
  color: var(--retro-blue);
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0;
  border-bottom: 1px dotted var(--retro-green);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  color: var(--retro-deep);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--retro-blue);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  color: var(--retro-green);
  font-weight: 700;
}
.cookie-category.essential input {
  pointer-events: none;
  filter: grayscale(0.8) opacity(0.7);
}
.cookie-modal .cookie-modal-actions {
  margin-top: 9px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 7px 16px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  border: 2px solid var(--retro-blue);
  background: var(--retro-egg);
  color: var(--retro-blue);
  margin: 0 3px;
  box-shadow: 1px 2px 0 var(--retro-yellow);
  transition: background 0.16s, color 0.1s;
}
.cookie-modal .cookie-modal-actions button.save {
  background: var(--retro-green);
  color: #fff;
}
.cookie-modal .cookie-modal-actions button.save:hover {
  background: var(--retro-coral);
  color: #fff7e3;
}
.cookie-modal .cookie-modal-actions button.cancel:hover {
  background: var(--retro-blue);
  color: var(--retro-tan);
}

/* ============== MISC & ACCESSIBILITY ============ */
[aria-label] {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--retro-blue);
  outline-offset: 1.5px;
}

/* ===== PAGINATION IF NEEDED ===== */
.pagination {
  display: flex;
  gap: 12px;
  margin: 28px 0 10px 0;
  align-items: center;
  justify-content: center;
}
.pagination a {
  font-family: 'Montserrat', sans-serif;
  padding: 7px 14px;
  background: var(--retro-yellow);
  border-radius: 7px;
  color: var(--retro-deep);
  font-weight: 600;
  transition: background 0.16s, color 0.22s;
}
.pagination a.active {
  background: var(--retro-blue);
  color: #fff;
}
.pagination a:hover {
  background: var(--retro-green);
  color: #fff;
}

/* ============ UTILITIES =========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-10 { margin-top: 10px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ========== PRINT (Remove colors for print) ========== */
@media print {
  body, .section { background: #fff !important; color: #111 !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
