/* ========================================
   CSS RESET & BASELINE 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,
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
}
a {
  color: #FFD369;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  background-color: #FFD369;
  border-radius: 6px;
  padding: 2px 6px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #FFD369;
  text-shadow: 0 2px 10px #ffe69044, 0 1px 0 #fff;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #FF652F;
}

/* =======================================================
   COLOR PALETTE - Playful Dynamic Additions
   ======================================================= */
:root {
  --color-primary: #222831;
  --color-secondary: #FFD369;
  --color-accent: #EEEEEE;
  --color-bright1: #FF652F;
  --color-bright2: #53DEFF;
  --color-bright3: #F6E05E;
  --color-bright4: #24E47A;
  --color-btn-hover: #ffe484;
}

/* =======================================================
   LAYOUT CONTAINERS & FLEXBOX GRID
   ======================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 #ffd3691A, 0 2px 6px #2228310F;
}
.features, .faq, .services, .pricing, .contact, .testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: #FFF8E6;
  box-shadow: 0 4px 28px #ffd36918, 0 1.5px 2px #53DEFF10;
}
.hero {
  position: relative;
  background: linear-gradient(95deg, #007c9bb3 0%, #947e00b9 120%);
  padding: 56px 0 64px 0;
  margin-bottom: 60px;
  box-shadow: 0 6px 32px -4px #53DEFF42;
  border-radius: 0 0 28px 28px;
  /* Animated squiggle decorative element (pseudo) */
  overflow: hidden;
}
.hero::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -20px;
  left: -24px;
  width: 250px;
  height: 48px;
  background: url('../assets/squiggle.svg') repeat-x;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.hero .content-wrapper {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  text-align: left;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 6px 24px #FFD36925, 0 1.5px 2px #22283115;
  margin-bottom: 20px;
  flex: 1 1 calc(33% - 24px);
  min-width: 280px;
  max-width: 350px;
  transition: transform 0.18s cubic-bezier(.38,1.06,.9,.38), box-shadow 0.18s;
  position: relative;
}
.card:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 10px 40px #FFD36955, 0 4px 12px #53DEFF1a;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
}

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

/* ================
   UL & OL STYLES
   ================ */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.1rem;
}
ul > li, ol > li {
  margin-bottom: 0.7em;
  line-height: 1.6;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul > li img, ol > li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px #ffd36933) brightness(1.15);
}

ol {
  list-style: decimal inside;
}

/* =======================================
   TESTIMONIALS & CARDS
   ======================================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 28px #53DEFF19, 0 1.5px 2px #22283112;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px #FFD36960, 0 4px 12px #53DEFF30;
  transform: scale(1.03) skewX(-2deg);
}
.testimonial-card blockquote {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  position: relative;
  padding-left: 20px;
}
.testimonial-card blockquote:before {
  content: '\201C';
  color: #FFD369;
  font-size: 2.2rem;
  position: absolute;
  left: 0;
  top: -6px;
}
.testimonial-card p {
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 14px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 24px #FFD36918, 0 1.5px 2px #24E47A15;
  min-width: 280px;
  max-width: 380px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: none;
}

/* =================='<HEADER / NAVIGATION'====================== */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 18px #ffd3691a;
  z-index: 90;
  position: relative;
  padding: 0 0 0 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-height: 60px;
  padding: 14px 20px 14px 14px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
}
header nav a.cta-btn {
  color: #222831;
  font-weight: 900;
  font-size: 1.12rem;
  border-radius: 16px;
  padding: 10px 28px;
  box-shadow: 0 3px 18px #FFD36940, 0 1.5px 2px #2228310C;
  margin-left: 16px;
  letter-spacing: 0.03em;
  transition: transform 0.12s, box-shadow 0.12s, background 0.18s;
}
header nav a.cta-btn:hover,
header nav a.cta-btn:focus {
  color: #000000 !important;
  
}
header nav a:hover,
header nav a:focus {
  color: #000000 !important;
   
}
header nav a img[alt="Arcade Flame Luxusautos"] {
  width: 50px;
  height: 50px;
  margin-right: 12px;
  border-radius: 10px;
  box-shadow: 0 1.5px 15px #FFD36927;
  padding: 1px;
}

/* =================='<MOBILE BURGER MENU'====================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 101;
  transition: color 0.18s, transform 0.18s;
  border-radius: 8px;
  padding: 4px 12px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  color: #FF652F;
  background: #FFD36933;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(99deg, #FFD369 70%, #FF652F 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 32px;
  /* hidden initially */
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.7,1.2,.6,.85), opacity 0.26s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FF652F;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  align-self: flex-end;
  margin-right: 32px;
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFD369;
  transform: rotate(-9deg) scale(1.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 10px 28px;
  border-radius: 14px;
  background: #fff9e5;
  box-shadow: 0 2px 12px #FFD36910;
  margin: 0;
  transition: background 0.13s, color 0.11s, transform 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #53DEFF;
  color: #fff;
  transform: translateX(8px) scale(1.06);
}

/* Hide regular nav on mobile, show burger */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================================
   BUTTONS - 'playful_dynamic' energetic style
   ======================================================= */
.cta-btn, .btn, button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #222831;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(93deg, #FFD369 81%, #53DEFF 148%);
  box-shadow: 0 5px 18px #FFD36938, 0 1.5px 2px #53DEFF12;
  outline: none;
  cursor: pointer;
  margin: 8px 0;
  margin-right: 8px;
  letter-spacing: 0.02em;
  transition: background 0.13s, box-shadow 0.13s, transform 0.12s, color 0.13s;
}
.cta-btn:hover, .cta-btn:focus, .btn:hover, button:hover, .btn:focus, button:focus {
  background: linear-gradient(90deg, #FF652F 60%, #FFD369 180%);
  color: #FFF;
  box-shadow: 0 10px 36px #FF652F39;
  transform: scale(1.04) rotate(-1deg);
}

/* Cookie Banner specific buttons */
#cookie-banner .btn-cookie {
  min-width: 120px;
  margin-right: 16px;
}
#cookie-banner .btn-reject {
  background: #FF652F;
  color: #fff;
}
#cookie-banner .btn-settings {
  background: #53DEFF;
  
}
#cookie-banner .btn-cookie:hover,
#cookie-banner .btn-reject:hover,
#cookie-banner .btn-settings:hover {
  opacity: .91;
  box-shadow: 0 6px 22px #FFD36937;
}

/* =============================
   DETAILS (ACCORDION FAQ)
   ============================= */
details {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 3px 8px #53DEFF11;
  margin-bottom: 18px;
  padding: 18px 22px;
  transition: box-shadow 0.2s, border 0.19s;
}
details[open] {
  box-shadow: 0 8px 24px #FFD36925, 0 2px 6px #53DEFF1a;
}
details summary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #FF652F;
  cursor: pointer;
  margin-bottom: 6px;
  outline: none;
}
details p {
  margin-top: 12px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  border-top: 4px solid #FFD369;
  background: #222831;
  color: #FFD369;
  text-align: center;
  padding: 44px 18px 32px 18px;
  position: relative;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
footer nav a {
  color: #FFD369;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: #222831;
  transition: background 0.12s, color 0.11s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFD369;
  color: #222831;
  
}
footer address {
  color: #eee;
  margin-bottom: 8px;
  font-size: 0.99rem;
  font-style: normal;
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
footer small {
  font-size: 0.94em;
  color: #FFD369;
  opacity: .76;
}

/* =========================================
   COOKIE CONSENT BANNER & MODAL
   ========================================= */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(255, 211, 105, 0.98);
  box-shadow: 0 -6px 36px #FFD369BB, 0 1.5px 2px #22283122;
  border-radius: 28px 28px 0 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 18px 22px 34px;
  z-index: 9999;
  gap: 20px;
  font-size: 1rem;
  opacity: 1;
  transition: transform 0.5s cubic-bezier(.6,1,.7,1), opacity 0.3s;
}
#cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
#cookie-banner p {
  
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  max-width: 390px;
  margin: 0 18px 0 0;
}

#cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Cookie modal */
#cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) translateY(100vh);
  width: 90vw;
  max-width: 410px;
  z-index: 10000;
  background: #FFF;
  box-shadow: 0 24px 72px #22283170, 0 1.5px 2px #FFD36979;
  border-radius: 22px;
  padding: 36px 28px 28px 28px;
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.48,1.7,.6,1), opacity 0.21s;
  pointer-events: none;
}
#cookie-modal.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#cookie-modal h3 {
  color: #FF652F;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
#cookie-modal ul {
  margin-bottom: 18px;
  padding-left: 0;
}
#cookie-modal li {
  margin-bottom: 8px;
  
  font-size: 0.99rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category.disabled {
  opacity: 0.6;
}
.cookie-toggle {
  display: inline-block;
  appearance: none;
  border-radius: 20px;
  width: 42px;
  height: 24px;
  background: #FF652F22;
  border: 2px solid #FFD369;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #24E47A55;
  border-color: #24E47A;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 16px;
  height: 16px;
  background: #FFD369;
  border-radius: 50%;
  box-shadow: 0 2px 6px #FFD36934;
  transition: left 0.17s cubic-bezier(.8,.2,1,.95), background 0.18s;
}
.cookie-toggle:checked:before {
  background: #24E47A;
  left: 21px;
}
#cookie-modal .btn-group {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
#cookie-modal .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #FF652F;
  font-size: 1.6rem;
  cursor: pointer;
}
#cookie-modal .btn-close:hover {
  color: #FFD369;
}

/* Responsive adjustments for banner and modal */
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 11px 13px 11px;
    font-size: 0.94rem;
    border-radius: 18px 18px 0 0;
  }
  #cookie-banner p {
    max-width: 96vw;
  }
}

/* ========== RESPONSIVE LAYOUT FLEXBOX ONLY ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 90vw;
    min-width: unset;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section, .features, .faq, .services, .pricing, .testimonials, .contact {
    padding: 32px 6vw;
  }
  .card {
    min-width: 210px;
    max-width: 320px;
    flex: 1 1 48%;
  }
  .card-container, .card-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section, .features, .faq, .services, .pricing, .testimonials, .contact {
    padding: 20px 4vw;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .card {
    min-width: 100%;
    max-width: 100%;
    margin-right: 0;
    flex: 1 1 100%;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 16px 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.54rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .hero {
    padding: 32px 0 36px 0;
    border-radius: 0 0 16px 16px;
    margin-bottom: 28px;
  }
  .card {
    border-radius: 13px;
  }
  footer {
    padding: 28px 5px 10px 5px;
  }
}

/* ==========================================================
   ANIMATIONS & MICRO-INTERACTIONS (playful_dynamic feel)
   ========================================================== */
.cta-btn, .btn, button,
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.16s, transform 0.16s, background .16s, color 0.16s;
}
.cta-btn:active, .btn:active, button:active {
  transform: scale(.97) rotate(-1deg);
}
@keyframes bounceIn {
  0% {transform: scale(0.88) translateY(24px); opacity:0.4;}
  74% {transform: scale(1.05) translateY(-5px); opacity:1;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.card, .testimonial-card, .feature-item {
  animation: bounceIn .7s cubic-bezier(.59,1.4,.51,1.1) 1 both;
}

/* =================
   SCROLLBAR Style
   ================= */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #FFD36999;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #FFF;
}

/* =============================
   DARK MODE SUPPORT (BETA)
   ============================= */
@media (prefers-color-scheme: dark) {
  body {
    background: #202027;
    color: #FFD369;
  }
  .section, .features, .faq, .services, .pricing, .testimonials, .contact {
    background: #23242b;
    color: #FFD369;
    box-shadow: 0 6px 32px 0 #FFD36917, 0 2px 6px #53DEFF22;
  }
  .card, .testimonial-card, .feature-item, details {
    background: #23242b;
    color: #FFD369;
    box-shadow: 0 8px 28px #53DEFF15, 0 1.5px 2px #FFD36912;
  }
  .cta-btn, .btn, button {
    background: linear-gradient(92deg, #FFD369 65%, #FF652F 140%);
    
  }
  header, footer {
    background: #23242b;
  }
}

/* ================
   MISC ELEMENTS
   ================ */
hr {
  border: 0;
  border-bottom: 2px dashed #FFD369;
  margin: 30px 0;
  opacity: 0.38;
}

blockquote {
  background: #FFD36920;
  border-left: 5px solid #FF652F;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  
  margin-bottom: 20px;
  font-size: 1.1rem;
  border-radius: 6px;
}

input, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid #FFD369;
  padding: 10px 13px;
  margin-bottom: 12px;
  background: #FFF9E6;
  
  width: 100%;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #FF652F;
}

/* ==============
   ANIMATED ICONS
   ============== */
@keyframes icon-pop {
  0% { transform: scale(0.5) rotate(-18deg); opacity: 0.5; }
  60% { transform: scale(1.20) rotate(12deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
ul > li img, ol > li img, .contact img, .text-section img {
  animation: icon-pop 0.65s cubic-bezier(.62,1.5,.5,1.2) 1;
}

/* =======================
   OVERRIDES & HIERARCHY
   ======================= */
.section:last-child, .features:last-child, .faq:last-child, .services:last-child, .testimonials:last-child, .contact:last-child {
  margin-bottom: 0;
}

/* =====================================
   MINIMUM SPACING/MEMO: Ensure at least 20px spacing between all main content elements
   ===================================== */
.card, .testimonial-card, .feature-item, .section, .features, .faq, .services, .pricing, .testimonials, .contact {
  margin-bottom: 24px;
}

/* END OF CSS */
