/* ===== RESET AND 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6F7;
  color: #263056;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:active, a:focus {
  outline: 2px dashed #EBBC51;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 24px;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* ===== VINTAGE RETRO BRAND COLORS & FONTS ===== */
:root {
  --color-primary: #263056;
  --color-secondary: #EBBC51;
  --color-accent: #F5F6F7;
  --color-dark: #1b1c26;
  --color-retro-green: #5f764b;
  --color-retro-pink: #e98ba3;
  --color-retro-cream: #f6e7cb;
  --color-retro-orange: #e98f36;
  --color-retro-shadow: #b69467;
  --base-radius: 12px;
  --shadow-elevate: 0 4px 16px 0 rgba(38,48,86,0.10), 0 1.5px 5px 0 #b6946777;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -1px;
  text-shadow: 1px 1px 0 var(--color-retro-cream), 3px 3px 0 #ebbd510a;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-retro-orange);
  margin-bottom: 18px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-retro-green);
  margin-bottom: 12px;
  margin-top: -10px;
}
blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-retro-pink);
  border-left: 4px solid var(--color-secondary);
  background: var(--color-retro-cream);
  padding: 12px 30px 12px 18px;
  margin: 0 0 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 #e7d3be66;
}
strong, b {
  color: var(--color-retro-orange);
  font-weight: bold;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-secondary);
  box-shadow: 0 6px 30px -12px #eaca887a;
  border-bottom: 5px solid #d7a03c;
  position: sticky;
  top: 0;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:not(.btn-primary):hover {
  background: var(--color-retro-pink);
  color: var(--color-dark);
}
/* Retro underline effect for navigation */
header nav a:not(.btn-primary)::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 32px;
  height: 2px;
  background: transparent;
  border-radius: 1px;
  transition: background 0.18s;
}
header nav a:not(.btn-primary):hover::after {
  background: var(--color-retro-orange);
}
header nav img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

/* ===== PRIMARY BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-primary);
  color: var(--color-secondary);
  font-size: 1.07rem;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 999px;
  box-shadow: 0 2px 8px 0 #251d1b30, 0 1.5px 5px 0 #b69467aa;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-left: 6px;
  border: 2px solid var(--color-retro-orange);
  position: relative;
}
.btn-primary:hover {
  background: var(--color-retro-pink);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 32px 0 #de93aa25;
}
.btn-primary:active {
  background: var(--color-retro-orange);
  color: #fff;
  border-color: var(--color-retro-cream);
}

/* ===== HERO SECTION =====*/
.hero {
  padding: 54px 0 44px 0;
  border-bottom: 7px double var(--color-retro-orange);
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: var(--color-retro-orange);
  text-shadow: 3px 3px 0 #26305622, 7px 7px 0 #ece6cd88;
}
.hero .btn-primary {
  margin-left: 0;
  margin-top: 16px;
}

/* ===== FEATURES ===== */
.features {
  background: var(--color-retro-cream);
  box-shadow: 0 6px 36px -12px #b694676e inset;
  border-top: 5px solid #e98f36;
}
.features h2 {
  color: var(--color-retro-green);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: center;
}
.feature-grid li {
  background: #fff5e1;
  border: 2.5px solid #ebbc5120;
  border-radius: var(--base-radius);
  box-shadow: var(--shadow-elevate);
  padding: 26px 20px 18px 20px;
  flex: 1 1 248px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 42px 0 #ebbc5155;
  transform: translateY(-4px) scale(1.025) rotate(-0.7deg);
}
.feature-grid li img {
  height: 42px;
  width: 42px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px #e98f3622);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: repeating-linear-gradient(135deg, #f6e7cb 0 18px, #fffbe6 18px 36px);
  border-top: 5px dashed #ebbc51aa;
}
.about h2, .about h3 {
  color: var(--color-retro-green);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  background: transparent;
}
.text-section ul {
  margin-top: 4px;
  margin-bottom: 8px;
  list-style: square inside;
  color: var(--color-retro-orange);
  font-weight: 600;
  padding-left: 18px;
}
.text-section li {
  margin-bottom: 6px;
  font-size: 1.04rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.text-section img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #fff6e3;
  box-shadow: 0 8px 22px 0 #ebbc5115 inset;
  padding-bottom: 64px;
}
.testimonials h2 {
  color: var(--color-retro-orange);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--base-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 #e98ba36a;
  border: 1.5px solid #ebbc5126;
  max-width: 600px;
  min-width: 0;
  flex-wrap: wrap;
}
.testimonial-card blockquote {
  flex: 1 1 auto;
  margin: 0;
  color: var(--color-retro-pink);
  font-size: 1.09rem;
  background: transparent;
  border: none;
  box-shadow: none;
}
.testimonial-details {
  color: var(--color-retro-green);
  font-size: 1rem;
  font-family: var(--font-body);
  font-style: italic;
}

/* ===== SERVICES =====*/
.services {
  background: #fdfbf8;
  border-top: 6px double #e98f36;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: center;
  margin-bottom: 22px;
}
.service-list li {
  flex: 1 1 270px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fffefa;
  border: 2px solid #e98f3648;
  border-radius: var(--base-radius);
  box-shadow: var(--shadow-elevate);
  padding: 25px 20px 14px 25px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.16s;
}
.service-list li:hover {
  box-shadow: 0 9px 38px -4px #e98f3699, 0 2px 8px 0 #ebbc515a;
  transform: scale(1.03) rotate(0.2deg);
}
.services .btn-primary {
  margin-top: 26px;
  align-self: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 32px 0 18px 0;
  border-top: 8px solid var(--color-retro-orange);
  font-family: var(--font-body);
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  justify-content: space-between;
  padding: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  padding: 6px 10px;
}
footer nav a:hover {
  background: var(--color-retro-pink);
  color: var(--color-primary);
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-size: 0.98rem;
}
.contact-footer p, .contact-footer img {
  vertical-align: middle;
  color: var(--color-retro-cream);
}
footer img {
  height: 45px;
  width: auto;
}

/* ===== CONTACT PAGE SPECIALS ===== */
.contact .btn-primary {
  margin-top: 18px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--color-retro-orange);
  color: var(--color-primary);
  padding: 8px 17px 8px 12px;
  border-radius: 9px;
  box-shadow: 0 1.5px 7px 0 #ebbc5177;
  transition: background 0.22s, color 0.22s, box-shadow 0.24s;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 101;
}
.mobile-menu-toggle:hover {
  background: var(--color-retro-pink);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 380px;
  height: 100%;
  background: repeating-linear-gradient(145deg, #F5F6F7 0 18px, #EBBC51 18px 36px);
  box-shadow: -4px 0 38px 1px #26305654, 0 1.5px 7px 0 #ebbc5160;
  z-index: 200;
  transform: translateX(120%);
  transition: transform 0.38s cubic-bezier(0.8,0.04,0.24,1);
  display: flex;
  flex-direction: column;
  padding: 38px 14px 24px 28px;
}
.mobile-menu.show {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-bottom: 24px;
  background: var(--color-retro-orange);
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 9px;
  padding: 5px 13px;
  align-self: flex-end;
  box-shadow: 0 1.5px 5px 0 #ebbc5137;
  transition: background 0.22s, color 0.22s;
  z-index: 220;
}
.mobile-menu-close:hover {
  background: var(--color-retro-pink);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  background: transparent;
  padding: 8px 10px 10px 10px;
  border-radius: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro-pink);
  color: var(--color-retro-orange);
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: repeating-linear-gradient(135deg, #fdeabd 0 14px, #ebbc51cc 14px 28px);
  color: var(--color-primary);
  padding: 22px 18px 15px 18px;
  box-shadow: 0 -4px 18px 0 #e98f3699;
  border-top: 4px solid #e98f36;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-family: var(--font-body);
  animation: cookieDropIn 0.48s cubic-bezier(0.8,0.4,0.2,1);
}
@keyframes cookieDropIn {
  from { transform: translateY(120%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button,
.cookie-modal button {
  font-family: var(--font-display);
  border-radius: 999px;
  font-weight: 700;
  padding: 8px 22px;
  font-size: 1rem;
  border: 2px solid var(--color-primary);
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
.cookie-banner .cookie-accept {
  background: var(--color-retro-orange);
  color: var(--color-primary);
  box-shadow: 0 1.5px 5px 0 #ebbc5116;
}
.cookie-banner .cookie-accept:hover { background: var(--color-retro-pink); color: var(--color-primary); }
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-retro-orange);
  box-shadow: 0 1.5px 5px 0 #ebbc5116;
}
.cookie-banner .cookie-reject:hover { background: #f6e7cb; color: var(--color-retro-pink); }
.cookie-banner .cookie-settings {
  background: var(--color-primary);
  color: var(--color-retro-cream);
  border: 2px solid var(--color-retro-orange);
  box-shadow: 0 1.5px 5px 0 #ebbc5116;
}
.cookie-banner .cookie-settings:hover { background: var(--color-retro-green); color: #fff; }

.cookie-modal-overlay {
  position: fixed;
  z-index: 10010;
  inset: 0;
  background: #263056b8;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalBg 0.29s;
}
@keyframes cookieModalBg {
  from { opacity:0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffefa;
  color: var(--color-primary);
  padding: 32px 22px 22px 22px;
  border-radius: 20px;
  max-width: 95vw;
  width: 380px;
  box-shadow: 0 8px 45px 0 #26305685;
  border: 4px solid #ebbc51aa;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieBump 0.34s cubic-bezier(0.87,0,0.13,1);
}
@keyframes cookieBump {
  from { transform: scale(0.85) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.6rem;
  color: var(--color-retro-orange);
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-retro-orange);
  height: 20px;
  width: 20px;
}
.cookie-modal .cookie-essential {
  color: var(--color-retro-green);
  font-weight: bold;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .btn-close-cookie-modal {
  background: var(--color-retro-pink);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-size: 1.1rem;
}
.cookie-modal .btn-close-cookie-modal:hover {
  background: var(--color-retro-orange);
  color: #fff;
}

/* ===== CARD PATTERNS (for future content/cards/components) ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff5e6;
  border-radius: var(--base-radius);
  box-shadow: var(--shadow-elevate);
  padding: 28px 18px 20px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.17s, transform 0.17s;
  font-family: var(--font-body);
}
.card:hover {
  box-shadow: 0 10px 30px -6px #26305644, 0 2px 8px 0 #ebbc515a;
  transform: translateY(-4px) scale(1.024) rotate(-0.7deg);
}

/* ===== FLEXIBLE LAYOUTS ===== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== SPACING & ALIGNMENT ===== */
.section, .about, .services, .features, .testimonials, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .feature-grid li, .service-list li {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .content-grid, .service-list {
  gap: 24px;
}
.text-image-section, .testimonial-card, .feature-item, .content-wrapper {
  gap: 20px;
}

/* ===== RESPONSIVE TABLET & DESKTOP ===== */
@media (min-width: 700px) {
  .hero .content-wrapper {
    align-items: center;
    text-align: center;
  }
  .content-wrapper, .about .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 38px;
    justify-content: space-between;
  }
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 62px;
    justify-content: space-between;
  }
  .feature-grid, .service-list {
    justify-content: flex-start;
  }
}

@media (min-width: 900px) {
  .feature-grid li, .service-list li {
    max-width: 330px;
  }
}

/* ===== MOBILE-FIRST: NAVIGATION TOGGLES ===== */
@media (max-width: 950px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}

/* ===== MOBILE LAYOUTS ===== */
@media (max-width: 700px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  h3 {
    font-size: 1.12rem;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section, .about, .services, .features, .testimonials, .contact {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper,
  .about .content-wrapper,
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid, .service-list{
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
    gap: 9px;
  }
  .feature-grid li, .service-list li {
    max-width: 100%;
    min-width: 0;
    padding: 16px 8px 10px 10px;
  }
  .text-section, .about .text-section {
    gap: 7px;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
}
@media (max-width: 425px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.99rem;
  }
  .cookie-modal {
    padding: 22px 6px 12px 6px;
    width: 96vw;
    max-width: 99vw;
  }
}

/* ===== RETRO DECORATIVE DETAILS ===== */
.section {
  background: repeating-linear-gradient(135deg, #fffbeae8 0 22px, #ebbc5112 22px 44px);
  border-radius: 22px;
  box-shadow: var(--shadow-elevate);
  border-bottom: 2.5px dotted #ebbc51aa;
}

/* ===== MICRO-INTERACTIONS ===== */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s;
  will-change: transform, box-shadow;
}
.btn-primary, .cookie-banner button, .cookie-modal button {
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.14s;
}
.btn-primary:focus, .cookie-banner button:focus, .cookie-modal button:focus {
  outline: 2px dashed var(--color-retro-green);
}

/* ===== ACCESSIBILITY: FOCUS ===== */
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--color-retro-green);
  outline-offset: 2.5px;
}

/* ===== PRINT FIX (optional) ===== */
@media print {
  header, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  main, .container, .section, .about, .services, .features, .testimonials, .contact {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
  }
}
