/* ================================================================
   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, 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    background-color: #F8F4EE;
    color: #2A2623;
    min-height: 100vh;
    scrollbar-color: #7B6D48 #E6E1D2;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px dashed #7B6D48; outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 10px; text-align: left; }

/* ================================
   BRAND FONTS for vintage_retro
=================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #1C1F26;     /* deep, almost-black/navy for headlines and backgrounds */
  --secondary: #7B6D48;   /* muted gold/bronze */
  --accent: #E6E1D2;      /* parchment/retro beige */
  --cream: #F8F4EE;       /* page background, slightly off-white */
  --retro-red: #B24D3B;   /* retro coralline highlight */
  --retro-blue: #6886A0;  /* muted blue for highlights/buttons */
  --retro-green: #63715A; /* olive green for tags/backgrounds */
  --shadow: rgba(28,31,38,0.10);
  --border-radius: 12px;
  --retro-font-display: 'Montserrat', Arial, sans-serif;
  --vintage-font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.26s cubic-bezier(.44,1.72,.39,.97);
  --card-padding: 32px 24px;
  --min-card-gap: 20px;
}

/* ===========================
   TYPOGRAPHY - retro & vintage scale
=========================== */
h1, .hero h1 {
  font-family: var(--retro-font-display);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--secondary);
  text-shadow: 1px 2px 0 #fff6, 0 2px 8px #B24D3B11;
  margin-bottom: 18px;
}
@media (min-width: 769px){
  h1, .hero h1 { font-size: 3.5rem; margin-bottom: 26px; }
}
h2 {
  font-family: var(--retro-font-display);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
h3 {
  font-family: var(--retro-font-display);
  font-size: 1.25rem;
  color: var(--retro-red);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h4, h5, h6 {
  font-family: var(--retro-font-display);
  color: var(--secondary);
  font-weight: 700;
}
.hero p, h2 + p, h1 + p { font-size: 1.25rem; font-family: var(--vintage-font-body); color: var(--primary); max-width: 680px; }

p, li, td, th {
  font-family: var(--vintage-font-body);
  color: var(--primary);
  font-size: 1.07rem;
  letter-spacing: 0.01em;
}
strong { color: var(--retro-red); font-weight: 700; }
.notice {
  background: var(--accent);
  font-size: 1rem;
  padding: 18px 18px 18px 52px;
  border-radius: var(--border-radius);
  color: var(--primary);
  box-shadow: 0 2px 8px var(--shadow);
  margin: 18px 0;
  position: relative;
}
.notice img { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; opacity: .75; }

/* =============
   SPACING SCALES
============== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px){
  .section {
    margin-bottom: 38px;
    padding: 22px 6px;
  }
  .content-wrapper {
    gap: 15px;
  }
}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--accent); border-radius: var(--border-radius); box-shadow: 0 2px 10px var(--shadow); padding: var(--card-padding); min-width: 230px; }
.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; flex-direction: column; align-items: center; gap: 20px; padding: 20px; background: #FFF; color: var(--primary); border-radius: var(--border-radius); box-shadow: 0 2px 12px var(--shadow); margin-bottom: 20px; }

@media (max-width: 768px){
  .content-grid, .card-container { flex-direction: column; gap: 22px; }
  .text-image-section { flex-direction: column; gap: 16px; }
}

/* ========
   HEADER & NAVIGATION
========== */
header {
  background: var(--accent) url('../assets/vintage-pattern.svg') repeat top left;
  border-bottom: 3px solid var(--retro-red);
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  box-shadow: 0 3px 16px var(--shadow);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.logo img, .logo-footer img {
  display: block;
  height: 48px;
}
.logo-footer img {
  height: 38px;
  opacity: .93;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-family: var(--retro-font-display);
  font-size: 1.07rem;
  color: var(--primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.03em;
  transition: border-color 0.18s, color var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  border-color: var(--retro-red);
  color: var(--retro-red);
}

.cta-btn {
  font-family: var(--retro-font-display);
  color: var(--accent);
  background: var(--retro-red);
  border: none;
  padding: 12px 28px;
  border-radius: 29px;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px var(--shadow);
  margin-left: 20px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  text-shadow: 1px 1px 0 #fff6;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-blue);
  color: #fff;
  box-shadow: 0 4px 16px #7b6d4877, 0 2px 6px var(--shadow);
}

/* ==============
 MOBILE NAVIGATION
=================*/
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  margin-left: 32px;
  cursor: pointer;
  z-index: 302;
  transition: color .18s;
}
.mobile-menu-toggle:hover { color: var(--retro-red); }

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  z-index: 2030;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.74,.1,.44,.98), opacity 0.24s;
  box-shadow: 8px 0 50px #0002;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 6px 14px;
  z-index: 2044;
  transition: color .18s;
}
.mobile-menu-close:hover { color: var(--retro-red); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 44px;
  width: 100%;
  padding: 0 30px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--retro-font-display);
  font-size: 1.55rem;
  line-height: 2.4rem;
  letter-spacing: 0.03em;
  border-left: 5px solid transparent;
  padding: 6px 0 6px 12px;
  transition: border-color var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-red);
  border-left: 5px solid var(--retro-red);
  background: #fff1;
}

/* ============
 HERO & SECTION STYLES
============== */
.hero {
  background: linear-gradient(110deg, var(--accent) 55%, #E6E1D2 100%) url('../assets/vintage-hero-texture.png') repeat;
  border-bottom: 2px dashed var(--secondary);
  padding-top: 70px;
  padding-bottom: 60px;
}
.hero .container { display: flex; justify-content: center; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 1.7rem;
  box-shadow: 0 4px 24px var(--shadow);
  background: #fff9;
  border-radius: var(--border-radius);
  padding: 36px 22px;
  max-width: 680px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hero { padding-top: 36px; padding-bottom: 19px; }
  .hero .content-wrapper { padding: 26px 4px; }
}

.features ul, .services ul, .faq ul, .about ul, .cars ul, .contact ul { 
  display: flex; 
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.features li, .services li, .faq li, .about li, .cars li, .contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  background: #E6E1D2bb;
  padding: 14px 16px 14px 38px;
  border-radius: 17px;
  letter-spacing: 0.01em;
  position: relative;
  box-shadow: 0 2px 8px var(--shadow);
}
.features li img, .services li img, .cars li img, .contact li img, .faq li img {
  position: absolute; left: 8px; width: 22px; height: 22px; top: 50%; transform: translateY(-50%);
  opacity: 0.75;
}

.cta {
  background: repeating-linear-gradient(135deg, #E6E1D2, #E6E1D2 14px, #fff 14px, #fff 28px);
  box-shadow: 0 2px 12px #b24d3b11;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  padding: 44px 12px 38px 12px;
  text-align: center;
}
.cta .cta-btn {
  margin-top: 18px;
  font-size: 1.22rem;
  padding: 13px 44px;
}

@media (max-width:768px){
  .cta { padding: 25px 4px 22px 4px; margin-bottom: 32px; }
  .cta .cta-btn { padding: 11px 22px; font-size: 1.10rem; }
}

/* ===============
   TESTIMONIALS
=================== */
.testimonials {
  background: #fff;
  border-top: 2px dashed var(--secondary);
  border-bottom: 2px dashed var(--secondary);
  padding-top: 34px;
  padding-bottom: 34px;
}
.testimonials .content-wrapper { 
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-left: 6px solid var(--retro-red);
  padding: 20px 22px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--shadow);
  font-family: var(--vintage-font-body);
  max-width: 520px;
}
.testimonial-card strong {
  color: var(--secondary);
  letter-spacing: 0.01em;
}

/* ================
   CAR/TEAM SPECIALS
==================== */
.team-list { display: flex; flex-wrap: wrap; gap: 24px; }
.team-member {
  background: var(--accent);
  border: 3px double var(--secondary);
  border-radius: var(--border-radius);
  padding: 28px 18px 16px;
  min-width: 210px;
  box-shadow: 0 2px 8px var(--shadow);
  font-size: 1rem;
  flex: 1 1 220px;
}
@media (max-width: 768px) {
  .team-list { flex-direction: column; gap: 22px; }
}

/* ================
   TABLES & FAQ
=================== */
table {
  width: 100%;
  border: 2px solid var(--secondary);
  font-size: 1.08rem;
  margin-bottom: 24px;
  background: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}
thead th { background: var(--retro-green); color: #fff; font-family: var(--retro-font-display); }
tbody tr { border-bottom: 1px solid var(--secondary); }
tbody tr:last-child { border-bottom: none; }
td, th { font-family: var(--vintage-font-body); }
td{color:var(--primary)}

/* ================
   FOOTER
=================== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 40px 0 18px 0;
  border-top: 4px solid var(--retro-red);
  box-shadow: 0 -3px 18px var(--shadow);
  font-size: 1rem;
}
.footer-nav {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  font-family: var(--retro-font-display);
  font-size: 1rem;
  justify-content: center;
  margin: 8px 0;
}
.footer-nav a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--retro-blue); }

.contact-info {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  align-items: flex-start;
}
.contact-info img {
  width: 17px; height: 17px; margin-right: 7px; position: relative; top: 1px;
}
.contact-info a { color: var(--accent); text-decoration: none; border-bottom: 1px dotted #e6e1d299; }
.contact-info a:hover { color: var(--retro-red); }

@media (max-width:600px) {
  footer { padding: 24px 0 12px 0; font-size: 0.9rem; }
  .footer-nav { gap: 2px; font-size: 0.9rem; }
  .contact-info { font-size: 0.9rem; gap: 7px; }
}

/* ==========================
   COOKIE CONSENT BANNER + MODAL
=========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  padding: 20px 8px;
  background: var(--retro-green);
  color: #fff;
  font-family: var(--vintage-font-body);
  box-shadow: 0 -2px 18px #0004;
  z-index: 3500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 0.32s;
  font-size: 1rem;
}
.cookie-banner.closed { opacity: 0; pointer-events: none; }
.cookie-banner .cookie-banner-text { max-width: 540px; }
.cookie-banner button {
  font-family: var(--retro-font-display);
  font-size: 1rem;
  border-radius: 25px;
  border: none;
  padding: 9px 20px;
  margin-left: 12px;
  background: var(--retro-red);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner button.cookie-settings {
  background: var(--retro-blue);
}
.cookie-banner button.cookie-reject {
  background: #bbb;
  color: #1C1F26;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 12px var(--shadow);
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3550;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #2A262399;
  align-items: center;
  justify-content: center;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--vintage-font-body);
  border-radius: var(--border-radius);
  box-shadow: 0 18px 48px #0005, 0 2px 12px var(--shadow);
  max-width: 400px;
  width: 100%;
  padding: 32px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  text-align: left;
  animation: fadeinmodal 0.4s;
}
@keyframes fadeinmodal { from { opacity:0; transform: scale(0.94); } to { opacity:1; transform: scale(1); } }
.cookie-modal h2 {
  color: var(--retro-red);
  font-family: var(--retro-font-display);
  font-size: 1.45rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--retro-red);
  width: 18px; height: 18px;
}
.cookie-category label { font-weight: 500; color: var(--primary); }
.cookie-modal .category-description {
  color: #666;
  font-size: 0.98rem;
  margin-left: 31px;
  margin-bottom: 4px;
}
#cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  font-size: 1.9rem;
  color: var(--retro-red);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  font-family: var(--retro-font-display);
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  padding: 8px 18px;
  background: var(--retro-blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-modal .cookie-actions button.save {
  background: var(--retro-green);
}
.cookie-modal .cookie-actions button.cancel {
  background: #bbb;
  color: #1C1F26;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: var(--secondary);
  color: #fff;
}

@media (max-width:550px){
  .cookie-modal { max-width: 97vw; padding: 18px 5vw 18px 5vw; }
}

/* =====================
   BUTTONS & INTERACTION
===================== */
button, input[type="button"], input[type="submit"] {
  font-family: var(--retro-font-display);
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  padding: 12px 30px;
  background: var(--retro-green);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  min-width: 140px;
  box-shadow: 0 2px 7px var(--shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
button:hover, button:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 13px #7b6d4860;
}
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid var(--secondary);
  padding: 8px 12px;
  margin-bottom: 17px;
  font-family: var(--vintage-font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--primary);
  transition: border-color .21s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--retro-red);
  outline: none;
}

/* =======================
   FORMS
======================= */
.form .content-wrapper {
  max-width: 525px;
  margin: 0 auto;
}
.form label {
  font-family: var(--retro-font-display);
  font-size: 1rem;
  color: var(--retro-red);
  display: block;
  margin-bottom: 5px;
}
.form input, .form textarea, .form select {
  width: 100%;
  margin-bottom: 14px;
  background: var(--accent);
}

/* =======================
   MISC RETRO ELEMENTS
======================= */
section.legal, .legal {
  background: var(--accent);
  border-left: 6px double var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 42px;
  padding: 32px 18px;
}
@media (max-width:600px) {
  .legal { padding: 18px 6px; margin-bottom: 28px; }
}

/* Decorative separating borders */
.section, .features, .faq, .about, .cars, .legal, .services {
  border-bottom: 2px dashed #B24D3B27;
}
.section:last-child,
footer { border-bottom: none !important; }

/* Vintage pattern overlay for distinct retro vibe */
body:before {
  content: '';
  pointer-events: none;
  display: block;
  position: fixed;
  z-index: 1;
  left: 0; top: 0; width: 100vw; height: 100vh;
  opacity: .025;
  background: url('../assets/vintage-pattern.svg') repeat center center;
}

/* Card-like Boxes */
.card, .team-member {
  transition: box-shadow 0.21s, transform 0.15s;
}
.card:hover, .team-member:hover {
  box-shadow: 0 4px 26px #7b6d4833, 0 2px 8px var(--shadow);
  transform: translateY(-4px);
}

/* ==================
   RESPONSIVE LAYOUTS
==================== */
@media (max-width: 1020px) {
  .container { max-width: 98vw; }
  header .container { gap: 8px; }
  .main-nav { gap: 17px; }
}
@media (max-width: 880px) {
  .contact-info { gap: 5px; font-size: .97rem; }
  .content-wrapper { max-width: 97vw; }
}
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.32rem; }
}

/***********
 * MICRO-INTERACTIONS & TRANSITIONS
 ***********/
.section, .cta, .testimonial-card, .team-member, .card {
  transition: box-shadow 0.23s, background 0.23s, transform 0.18s;
}
.cta-btn, .card, .team-member { transition: box-shadow 0.18s, transform 0.14s; }
.cta-btn:active, .card:active, .team-member:active { transform: scale(0.977); }

/***********
 * PRINT
 ***********/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
}
