/* ----------------------------------------------------
   Zenith Auto Akcesoria - style.css
   Playful Dynamic / Mobile-First / Flexbox only
------------------------------------------------------*/
/* 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 {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FBFF;
  color: #21355B;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #21355B;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #FFB200;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
}

/* TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21355B;
  margin-bottom: 16px;
  line-height: 1.15;
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #FFB200;
}
h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #267AD9;
}

.text-section{
  margin-bottom: 24px;
}

p {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #21355B;
}

/* -------------------------------------------------------
   BRAND COLORS & FUN PALETTE FOR PLAYFUL DYNAMIC FEEL
--------------------------------------------------------*/
:root {
  --primary: #21355B;
  --secondary: #E6E9F2;
  --accent: #FFB200;
  --blue-light: #77C5F7;
  --green-light: #65D097;
  --pink: #FF7FA4;
  --white: #fff;
  --shadow: 0 2px 8px 0 rgba(33,53,91,0.08);
}
/* MAIN STRUCTURE */
header {
  background: var(--primary);
  width: 100%;
  position: relative;
  z-index: 15;
  box-shadow: 0 8px 24px 0 rgba(33,53,91,0.09);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 18px 10px 18px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
}

.main-nav a {
  color: var(--white);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  display: flex;
  align-items: center;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--primary);
  background: var(--accent);
  transform: scale(1.08) rotate(-3deg);
}
.main-nav img {
  height: 36px;
  margin-right: 12px;
  display: inline-block;
}

.cta-primary {
  background: var(--accent);
  color: var(--primary)!important;
  font-weight: 900;
  border-radius: 100px;
  padding: 10px 26px;
  margin-left: 12px;
  font-size: 1.07rem;
  box-shadow: 0 4px 15px 0 rgba(255,178,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.13s;
}

.cta-primary:hover, .cta-primary:focus {
  background: #FFD733;
  color: #21355B;
  transform: scale(1.10) rotate(-4deg);
  text-shadow: 0 2px 18px #fff5;
}

.cta-secondary {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 700;
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 1.01rem;
  margin-top: 22px;
  margin-bottom: 10px;
  transition: background 0.22s, color 0.18s, border 0.18s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 4px 15px 0 rgba(255,178,0,0.06);
}
.cta-secondary:hover,.cta-secondary:focus {
  background: var(--accent);
  color: var(--primary);
  border-width: 2px;
  box-shadow: 0 6px 24px 0 rgba(255,178,0,0.16);
  transform: scale(1.08) rotate(2deg);
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-radius: 32px;
  padding: 32px 20px;
  box-shadow: var(--shadow);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Cards & Flex Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: 0 2px 8px 0 #21355B22;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.17s;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 6px 24px 0 #FFB20033;
  transform: translateY(-4px) scale(1.03);
}

.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 {
  background: #fff;
  border-left: 6px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: 0 4px 12px 0 #FFD03321;
  position: relative;
  font-size: 1.15rem;
  color: #192547;
  transition: box-shadow 0.17s, border-color 0.2s, transform 0.16s;
  min-width: 0;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 #FFB20033;
  border-left: 6px solid #FF7FA4;
  transform: scale(1.036) rotate(-1deg);
}
.testimonial-card span {
  color: #555B81;
  font-size: 0.92em;
  font-style: italic;
  margin-left: 30px;
}
.testimonial-card p {
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-snippet {
  background: #FFFCF5;
  border-left: 5px solid #FFB200;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 17px;
  font-size: 1rem;
  box-shadow: 0 1px 10px 0 #ffb20016;
  animation: fadeInFaq 0.85s cubic-bezier(.45,.02,.67,1) both;
}
@keyframes fadeInFaq {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/*-------------------------------------------
  ICONS, IMAGES, SOCIALS
-------------------------------------------*/
.content-wrapper img, .feature-item img, .testimonial-card img, .footer-nav img, .social-links img {
  height: 34px;
  width: auto;
  margin-right: 12px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin: 16px 0 8px 0;
  align-items: center;
  justify-content: flex-start;
}
.social-links img {
  height: 32px;
  transition: transform 0.17s, filter 0.13s;
  filter: grayscale(30%) brightness(1);
  cursor: pointer;
}
.social-links img:hover {
  transform: scale(1.17) rotate(-8deg);
  filter: none;
}

.categories {
  color: #267AD9;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.post-meta {
  color: #FF7FA4;
  margin-left: 8px;
  font-size: 0.92em;
}

/*------------------------------------
   FOOTER STYLING
-------------------------------------*/
footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 40px;
  width: 100%;
  font-size: 1rem;
  box-shadow: 0 -4px 15px #21355B11;
}
footer .container {
  padding: 0;
}
footer .content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: none;
  padding: 36px 0 24px 0;
  color: #E6E9F2;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding-bottom: 8px;
}
.footer-nav a {
  color: #2b4aa7;
  font-size: 1.04em;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--primary);
  background: var(--accent);
}
footer strong { color: var(--accent); font-weight: 700; }

footer .text-section {
  font-size: 1em;
  color: #3a3a3a;
  margin-bottom: 5px;
}

.footer-nav {
  margin-bottom: 5px;
}

/* -----------------------------------------------------
   BUTTONS, FORM ELEMENTS & MICRO-ANIMATIONS
------------------------------------------------------*/
button, .cta-primary, .cta-secondary {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
}
button:active,
.cta-primary:active,
.cta-secondary:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

/* ---------------------------------------------------
   MOBILE MENU STYLING & ANIMATION
----------------------------------------------------*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  border: none;
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 30;
  box-shadow: 0 2px 14px 0 #FFB20025;
  transition: background 0.22s, color 0.17s, transform 0.18s;
  display: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD733;
  color: #192547;
  transform: scale(1.06);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F8FBFF;
  box-shadow: 0 6px 44px #21355B13;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.44,.8,.45,1.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #FFB200;
  color: #192547;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  font-size: 2rem;
  z-index: 1011;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px #FFD03314;
  transition: background 0.18s, color 0.18s, transform 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD733;
  color: #FF7FA4;
  transform: scale(1.08) rotate(7deg);
}
.mobile-nav {
  margin-top: 86px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: center;
  font-size: 1.22rem;
}
.mobile-nav a {
  color: #21355B;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 10px;
  border-radius: 22px;
  font-weight: 600;
  background: #FFF; /* Touch target improvement */
  box-shadow: 0 2px 10px #FFB20011;
  margin: 0 0px;
  width: 86vw;
  text-align: center;
  transition: background 0.15s, color 0.14s, transform 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD733;
  color: #FF7FA4;
  transform: scale(1.03) rotate(-3deg);
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 8px;
    font-size: 1rem;
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.2rem; }
}

@media (max-width: 900px) {
  .container, .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  
  section {
    padding: 28px 5vw;
  }
  .content-wrapper {
    padding: 22px 5vw;
    border-radius: 22px;
    gap: 14px;
  }
  .testimonial-card, .card {
    padding: 15px 11px;
    border-radius: 15px;
    font-size: 1em;
  }
  .footer-nav {
    gap: 8px;
    font-size: 0.95em;
    flex-direction: column;
    align-items: center;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2, h3 {
    font-size: 1.1rem;
  }
  .cta-primary, .cta-secondary {
    font-size: 0.97rem;
    padding: 9px 10px;
  }
  .mobile-nav a {
    font-size: 1.07rem;
    width: 94vw;
  }
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & POPUP MODAL
------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffcf5;
  color: #192547;
  box-shadow: 0 -6px 44px #FFD03311;
  padding: 18px 20px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1998;
  gap: 16px;
  font-size: 1.03rem;
  border-top: 3px solid #FFD03366;
  animation: slideinBottom 0.65s cubic-bezier(.45,.02,.67,1) both;
}
@keyframes slideinBottom {
  0% { transform: translateY(60px); opacity: 0.5; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 30px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 600;
  margin-left: 4px;
  background: #fffbe0;
  color: #192547;
  transition: background 0.16s, color 0.16s, transform 0.14s;
  box-shadow: 0 2px 8px #FFD03321;
}
.cookie-banner .cookie-accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover {
  background: #FFD733;
  color: #FF7FA4;
  transform: scale(1.06);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #21355B;
  border: 1.5px solid #FF7FA4;
}
.cookie-banner .cookie-reject:hover {
  background: #FF7FA4;
  color: #fff;
  transform: scale(1.059);
}
.cookie-banner .cookie-settings {
  background: #E6E9F2;
  color: #267AD9;
}
.cookie-banner .cookie-settings:hover {
  background: #267AD9;
  color: #fff;
  transform: scale(1.052);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.96rem;
    padding: 13px 8vw 13px 8vw;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,53,91,0.25);
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s cubic-bezier(.57,.14,.15,1.26);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffbe0;
  border-radius: 22px;
  max-width: 400px;
  width: 92vw;
  box-shadow: 0 8px 36px #FFD03342;
  padding: 28px 20px 22px 20px;
  position: relative;
  font-size: 1.027em;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInCookieModal 0.42s cubic-bezier(.44,.02,.55,.94) both;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  background: #FFD033;
  color: #21355B;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px #FFD03314;
  transition: background 0.17s, color 0.17s, transform 0.17s;
  z-index: 1002;
}
.cookie-modal-close:hover {
  background: #FF7FA4;
  color: #fff;
  transform: scale(1.09) rotate(-3deg);
}
.cookie-switch-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #E6E9F2;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  top: 2px;
  left: 3px;
  background: #FFD733;
  border-radius: 100px;
  width: 18px;
  height: 18px;
  transition: left 0.21s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  left: 17px;
  background: #65D097;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-buttons button {
  font-size: 1em;
  font-weight: 700;
  border-radius: 16px;
  background: var(--accent);
  color: #21355B;
  border: none;
  padding: 8px 16px;
}
.cookie-modal .cookie-modal-buttons button.secondary {
  background: #fff;
  color: #FF7FA4;
  border: 2px solid #FF7FA4;
}

/* ---------------------------------------------------------
   PLAYFUL/ENERGETIC EFFECTS & ANIMATION HINTS
----------------------------------------------------------*/
.content-wrapper,
.card, .testimonial-card, .faq-snippet {
  box-shadow: 0 2px 12px #21355B10;
  animation: popCard 0.45s cubic-bezier(.57,1.38,.17,1) 1;
}
@keyframes popCard {
  0% { opacity: 0.5; transform: scale(0.93) translateY(22px); }
  80% { opacity: 1; transform: scale(1.03) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

section:nth-child(odd) {
  background: #E6E9F2;
}

/* playful dots & shapes (decorative, not content) */
section::before, section::after {
  content: '';
  pointer-events: none;
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 0;
}
section::before {
  width: 80px;
  height: 80px;
  background: #FFB200;
  top: 14px;
  left: -36px;
}
section::after {
  width: 52px;
  height: 52px;
  background: #FF7FA4;
  bottom: 12px;
  right: -30px;
}

/* Remove dot decorations from footer area */
footer section::before,
footer section::after {
  display: none!important;
}

/* ---------------------------------------------------------
   VISUAL HIERARCHY, SPACING, & ENERGETIC FEEL
----------------------------------------------------------*/
section, .content-wrapper, .card, .testimonial-card, .footer-nav, .feature-item {
  margin-bottom: 20px;
}

section {
  margin-bottom: 60px!important;
  padding: 40px 20px!important;
}
.card-container, .content-grid {
  gap: 24px!important;
}
.card {
  margin-bottom: 20px!important;
}
.text-image-section {
  gap: 30px!important;
}
.testimonial-card {
  gap: 20px!important;
  padding: 20px!important;
}
.feature-item {
  gap: 15px!important;
}

/* Add extra space between major sections on desktop */
@media (min-width: 1025px) {
  section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .content-wrapper {
    padding: 42px 40px;
  }
}

/* ---------------------------------------------------------
   PRINT & ACCESSIBILITY
----------------------------------------------------------*/
@media print {
  .main-nav, .footer-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none!important; }
  .container, .content-wrapper { box-shadow: none!important; background: #fff!important; }
}
