/* ===== CSS RESET & BASIC 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F9F9F6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3A42;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A9592D;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D36F24;
  text-decoration: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* ===== VINTAGE_RETRO COLOR VARIABLES ===== */
:root {
  --color-primary: #2B3A42;
  --color-secondary: #96D1C1;
  --color-accent: #F9F9F6;
  --color-caramel: #A9592D;
  --color-gold: #E6C349;
  --color-red-retro: #E94C2B;
  --color-cream: #FFF8E5;
  --color-shadow: rgba(43, 58, 66, 0.08);
}

/* ===== VINTAGE & RETRO TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--color-primary);
  line-height: 1.15;
  font-weight: 800;
  text-shadow: 0 1.5px 0 var(--color-gold), 0 5px 22px var(--color-shadow);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: var(--color-caramel);
  text-shadow: none;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 700;
  text-shadow: none;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-gold);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}
p {
  margin-bottom: 12px;
}

/* ====== GLOBAL CONTAINER & SECTION SPACING (FLEX ONLY) ====== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  box-shadow: 0 2px 16px var(--color-shadow);
  border-radius: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  background: none;
  box-shadow: none;
  padding: 0;
}

/* ===== HEADER & NAVBAR ===== */
header {
  background: var(--color-caramel);
  box-shadow: 0 1.5px 0 var(--color-gold);
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo-bar {
  display: flex;
  align-items: center;
  padding: 20px 16px 12px 16px;
}
.logo-bar a {
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  padding: 0 16px 18px 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: var(--color-gold);
  text-shadow: none;
  padding: 6px 4px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cta-btn {
  margin-left: auto;
  margin-right: 22px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 18px;
  box-shadow: 0 3px 14px var(--color-shadow);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.18s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.02);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 45;
  background: var(--color-primary);
  color: var(--color-gold);
  border: none;
  border-radius: 8px;
  font-size: 2.4rem;
  padding: 8px 16px 5px 16px;
  margin: 8px 12px 8px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-caramel);
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(.84,-0.05,.3,1);
  box-shadow: 2px 0 30px 0 var(--color-shadow);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
  padding: 9px 21px;
  font-size: 2.1rem;
  margin: 22px 0 20px 22px;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 0 32px;
}
.mobile-nav a {
  color: var(--color-gold);
  background: none;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 0;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* ===== HERO, FEATURE & CTA STRIPS ===== */
.product-teasers, .product-categories-grid, .feature-grid, .team-list, .testimonial-slider, .testimonial-list, .style-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.product-teaser, .category-item, .design-suggestion, .faq-item, .team-member {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 22px 20px;
  flex: 1 1 320px;
  min-width: 240px;
}
.product-teaser h3, .category-item h3, .design-suggestion h3, .team-member h3 {
  color: var(--color-caramel);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  text-shadow: 0 1px 0 var(--color-gold);
}
.category-item a {
  color: var(--color-red-retro);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2.5px dashed var(--color-caramel);
  transition: color 0.16s, border 0.16s;
}
.category-item a:hover, .category-item a:focus {
  color: var(--color-primary);
  border-bottom: 2.5px solid var(--color-gold);
}
.quick-tips {
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 18px 18px 14px 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.design-tips, .add-review-info {
  background: var(--color-cream);
  border-radius: 10px;
  box-shadow: 0 1.2px 7px var(--color-shadow);
  padding: 15px 18px;
  font-size: 1.04rem;
  margin-bottom: 0;
}

/* ===== FEATURE & CARD FLEX PATTERNS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 16px;
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 0;
  border: 3.5px double var(--color-gold);
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 4px;
}

/* ===== TESTIMONIALS & LISTS ===== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF8E5;
  border-radius: 18px;
  box-shadow: 0 2.5px 26px var(--color-shadow), 0 0.5px 8px var(--color-gold);
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 0;
}
.star-rating {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  margin-bottom: 0.40em;
  text-shadow: none;
}
.testimonial-author {
  color: var(--color-caramel);
  font-weight: 700;
  font-size: 1.03em;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* Ensures strong dark text on a light background for reviews */
.testimonial-card p, .testimonial-card .testimonial-author {
  color: #2B3A42; /* Ensured readable contrast */
}

/***** CARDS GENERAL ******/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-cream);
  border-radius: 19px;
  box-shadow: 0 2.5px 18px var(--color-shadow);
  padding: 24px;
}

.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;
}

/***** FAQ ******/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-accent);
  padding: 20px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 1.22rem;
  color: var(--color-caramel);
}

/***** TEAM SECTION ******/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: var(--color-cream);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 12px var(--color-shadow);
  min-width: 240px;
  flex: 1 1 220px;
}

/***** INSPIRATIONS ******/
.inspiration-list {
  margin-bottom: 18px;
  list-style-position: inside;
}
.inspiration-list li {
  margin-bottom: 25px;
}

.style-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.design-suggestion {
  background: var(--color-accent);
  border-radius: 13px;
  padding: 18px 17px;
  box-shadow: 0 1.5px 10px var(--color-shadow);
  min-width: 220px;
  flex: 1 1 220px;
}

/***** CONTACT LIST ******/
.contact-details {
  list-style: none;
  margin-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/***** FOOTER ******/
footer {
  background: var(--color-caramel);
  padding: 42px 0 22px 0;
  color: var(--color-accent);
  margin-top: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--color-gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.15s;
  text-decoration: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
  text-decoration: underline wavy 2.5px;
}
.footer-contact {
  text-align: center;
  font-size: 1.06rem;
  color: #fff8e5;
  margin-bottom: 16px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--color-gold);
  font-weight: 700;
}
.footer-branding img {
  margin-bottom: 6px;
  width: 46px;
  height: 46px;
}

/* ===== BUTTONS, LINKS & MICROS ===== */
.cta-link {
  color: var(--color-red-retro);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  text-decoration: underline;
  font-size: 1.12rem;
  background: transparent;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.cta-link:focus, .cta-link:hover {
  background: var(--color-gold);
  color: var(--color-primary);
  text-decoration: none;
}
button, .cta-btn {
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-cream);
  color: var(--color-primary);
  box-shadow: 0 -4px 24px rgba(43,58,66,0.12);
  padding: 24px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 110;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top: 4.5px double var(--color-gold);
  animation: fadeBannerIn 0.7s;
}
@keyframes fadeBannerIn {
  from {opacity:0;transform:translateY(80px);}
  to {opacity:1;transform:translateY(0);}
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 30px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0 2px;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  transition: background 0.18s, color 0.18s, transform 0.1s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  transform: scale(1.03);
}
.cookie-settings-btn {
  background: var(--color-caramel);
  color: #fff8e5;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-red-retro);
  color: #fff8e5;
}
/* Modal for cookie settings */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(43,58,66,0.55);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalIn 0.45s;
}
@keyframes fadeModalIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: var(--color-accent);
  border-radius: 20px;
  padding: 36px 26px 28px 26px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2.5px 28px 0 var(--color-shadow), 0 0.5px 12px var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h3 {
  font-family: 'Montserrat';
  font-size: 1.5rem;
  color: var(--color-caramel);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
.cookie-modal-btn-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.toggle-switch {
  width: 36px;
  height: 21px;
  border-radius: 13px;
  background: var(--color-secondary);
  position: relative;
  transition: background 0.14s;
  display: inline-block;
}
.toggle-switch[aria-checked="true"]{
  background: var(--color-gold);
}
.toggle-thumb {
  position: absolute; left: 1.7px; top: 1.7px;
  width: 17px; height: 17px;
  border-radius: 50%; background: #fff8e5;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: left 0.16s;
}
.toggle-switch[aria-checked="true"] .toggle-thumb {
  left: 15px;
}

/* ====== GENERAL RESPONSIVENESS (MOBILE FIRST) ====== */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
    padding: 0 5vw;
  }
}
@media (max-width: 900px) {
  .main-nav, .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .product-teasers, .product-categories-grid, .feature-grid, .team-list, .testimonial-slider, .testimonial-list, .style-variants {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin: 12px 0 12px auto;
    padding: 12px 22px;
    font-size: 1.12rem;
  }
  header {
    padding-bottom: 8px;
  }
  /* Stack content vertically on mobile */
  .product-teasers, .product-categories-grid, .feature-grid, .team-list, .testimonial-slider, .testimonial-list, .style-variants {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid, .testimonial-slider, .testimonial-list {
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.10rem;
  }
  .section {
    padding: 22px 7px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .feature-item, .product-teaser, .category-item, .faq-item, .team-member, .design-suggestion {
    padding: 13px 10px;
    min-width: 0;
    border-radius: 8px;
  }
  .footer-branding img {
    width: 34px;
    height: 34px;
  }
  .cookie-modal {
    min-width: 80vw;
    padding: 15vw 2vw 10vw 2vw;
  }
}

/* ===== PATTERNS & VISUAL RETRO NOSTALGIA ===== */
body {
  background: repeating-linear-gradient(135deg, var(--color-cream), var(--color-cream) 38px, #f7ebd5 40px, #f7ebd5 48px);
}
.section {
  border: 4.5px double var(--color-caramel);
  background: repeating-linear-gradient(45deg, var(--color-accent), var(--color-accent) 60px, #f3e6cb 61px, #f3e6cb 71px);
}
.card, .feature-item, .product-teaser, .category-item, .faq-item, .team-member, .design-suggestion, .testimonial-card {
  border: 2.5px solid var(--color-secondary);
  box-shadow: 0 2px 14px var(--color-shadow), 0 0.5px 5px var(--color-primary);
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .feature-item, .testimonial-card, .product-teaser, .category-item, .faq-item, .team-member, .design-suggestion {
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .product-teaser:hover, .category-item:hover, .faq-item:hover, .team-member:hover, .design-suggestion:hover {
  box-shadow: 0 9px 26px var(--color-gold), 0 0.5px 15px var(--color-secondary);
  transform: translateY(-3px) scale(1.017);
  z-index: 2;
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2.5px dashed var(--color-caramel);
  outline-offset: 2px;
}

/* ===== UTILITIES ===== */
.hidden {
  display: none !important;
}
.show {
  display: block !important;
}
