/* ========================================================== */
/* Minimalist, professional, modern CSS for Asfalt Dizel      */
/* Brand: Montserrat & Roboto, #222831 (primary), #FFD369    */
/* Flexbox only! No grid, no columns. Responsive, clean,      */
/* lots of white space, clear hierarchy, accessibility        */
/* ========================================================== */

/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #222831;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222831;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; margin-bottom: 24px; line-height: 1.13; }
h2 { font-size: 1.45rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.16rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 20px;
}
ul, ol { padding-left: 24px; }
ul li {margin-bottom: 10px;}
a {
  color: #222831;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #FFD369; outline: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid #FFD369; }

/* ==== GENERIC SPACING PATTERNS & CONTAINERS ==== */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 20px;
}
main {
  flex: 1;
}
section {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,40,49,0.06);
  transition: box-shadow 0.2s;
  padding: 24px;
  min-width: 285px;
  flex: 1 1 285px;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(34,40,49,0.10);
}
.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: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,40,49,0.08);
  margin-bottom: 20px;
}
/* Ensure readable dark text on light bg for testimonials */
.testimonial-card p, .testimonial-card span {
  color: #222831;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 1px 10px 0 rgba(34,40,49,0.03);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}
nav > a img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s;
  padding: 7px 0;
}
nav ul li a:hover, nav ul li a.active {
  color: #FFD369;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #FFD369;
  color: #222831;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 26px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(34,40,49,0.05);
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.2s;
  margin-left: 18px;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #222831;
  color: #FFD369;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(34,40,49,0.16);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #222831;
  font-size: 2rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,40,49,0.83);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: opacity 0.32s, visibility 0.32s, transform 0.38s cubic-bezier(.39,.58,.57,1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFD369;
  font-size: 2.4rem;
  margin: 24px 36px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100vw;
  margin-top: 40px;
  gap: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  background: transparent;
  color: #fff;
  padding: 18px 36px;
  width: 100%;
  text-align: right;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.19s, background 0.19s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: #FFD369;
  background: rgba(255,211,105,0.06);
}

/* Show/hide navigation for mobile/desktop */
@media (max-width: 1024px) {
  nav ul, nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==== BANNERS, SHADOWS, SECTION LAYOUTS ==== */
section, .section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 16px 0 rgba(34,40,49,0.03);
}

/* ==== HERO / MAIN PROMO HEADLINE ==== */
main > section:first-of-type {
  background: #FFD369;
  box-shadow: 0 4px 24px 0 rgba(34,40,49,0.07);
  border-radius: 0 0 28px 28px;
}
main > section:first-of-type h1, main > section:first-of-type p {
  color: #222831;
}

/* ==== BUTTONS & FORM ELEMENTS ==== */
button, .cta-btn {
  border: none;
  outline: none;
  border-radius: 26px;
  transition: background 0.19s, color 0.19s, transform 0.15s, box-shadow 0.18s;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}
button[disabled], .cta-btn[disabled] {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
}

/* ==== TABLES (for pricing, etc.) ==== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(34,40,49,0.05);
  margin-bottom: 20px;
  margin-top: 10px;
  overflow: hidden;
}
thead {
  background: #EEEEEE;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #222831;
}
th {
  font-weight: 700;
  letter-spacing: 0.01em;
}
tr:not(:last-child) {
  border-bottom: 1px solid #EEEEEE;
}

/* ==== FOOTER ==== */
footer {
  background: #222831;
  padding: 48px 0 24px 0;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(34,40,49,0.03);
}
footer .container {
  max-width: 1080px;
  margin: 0 auto;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-brand img { height: 40px; margin-bottom: 4px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  color: #fafafa;
  font-size: 1rem;
  opacity: 0.92;
  transition: color 0.21s, opacity 0.13s;
}
.footer-links a:hover { color: #FFD369; opacity: 1; }
.footer-contact, .footer-social { font-size: 0.97rem; color: #fff; opacity: 0.85;}
.footer-contact > div, .footer-social {
  margin-bottom: 7px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-social span { font-weight: 600; font-size: 1rem; }
.footer-social img {
  width: 22px;
  height: 22px;
  filter: grayscale(0.24) brightness(0.92) contrast(1.07);
  opacity: 0.91;
  transition: opacity 0.19s, filter 0.2s;
  cursor: pointer;
}
.footer-social img:hover { opacity: 1; filter: none; }

/* ==== PRICING SECTION ==== */
.pricing-notes {
  font-size: 0.96rem;
  color: #666;
  background: #f8f8f8;
  border-left: 2px solid #FFD369;
  padding: 16px 22px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #222831;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 16px;
  box-shadow: 0 -2px 14px 0 rgba(34,40,49,0.17);
  font-size: 1rem;
  min-height: 62px;
  width: 100vw;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 0.34s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cta-btn {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 32px;
  color: #222831;
  background: #FFD369;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(34,40,49,0.06);
  transition: background 0.15s, color 0.13s, transform 0.14s;
}
.cookie-banner button:hover, .cookie-banner .cta-btn:hover {
  background: #fff; color: #FFD369;
  transform: scale(1.05);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #222831;
  border: 1px solid #FFD369;
}
.cookie-banner .cookie-settings:hover {
  color: #FFD369; background: #222831; border: 1px solid #FFD369;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,40,49,0.66);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #222831;
  border-radius: 18px;
  box-shadow: 0 4px 54px 0 rgba(34,40,49,0.17);
  min-width: 320px;
  max-width: 94vw;
  padding: 32px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2, .cookie-modal h3 {
  color: #222831;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #FFD369;
}
.cookie-category label {
  font-size: 1rem;
  color: #222831;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.6rem;
  color: #FFD369;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #222831;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .modal-btns button {
  background: #FFD369;
  color: #222831;
  border-radius: 32px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  transition: background 0.13s, color 0.11s;
  cursor: pointer;
}
.cookie-modal .modal-btns button:hover { background: #222831; color: #FFD369; }

/* === BLOG/ARTICLE SECTIONS === */
.text-section ul {
  margin-bottom: 18px;
}
.text-section h2 {
  margin-top: 22px;
}
.text-section > ul > li::before {
  content: '\2714\FE0F';
  display: inline-block;
  margin-right: 7px;
  color: #FFD369;
  font-size: 1.02em;
}
.text-section ul li h3 {
  margin-bottom: 5px;
  margin-top: 10px;
}
.text-section ul li {
  list-style: none;
  padding-left: 0;
}

/* ==== MISC: ADDRESS, EMAIL, HOURS ==== */
.address, .email, .hours {
  font-size: 1rem;
  color: #222831;
  opacity: 0.93;
  margin-bottom: 6px;
  font-family: 'Roboto', Arial, sans-serif;
}
.text-section strong {
  font-weight: 600;
  color: #222831;
}

/* === SPACING & FLEX WRAPPING ==== */
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
  }
  .card-container, .content-grid, .feature-list {
    flex-direction: row;
  }
  .content-wrapper {
    flex-direction: row;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8vw;
  }
  .content-wrapper, .text-image-section, .card-container, .content-grid, .feature-list {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: 14px;
  }
  .header, header, nav {
    padding: 8px 0;
  }
  .footer .content-wrapper {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-brand { margin-bottom: 12px; }
}

/* ==== ANIMATIONS & TRANSITIONS ==== */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a,
.cookie-banner button, .cookie-banner .cta-btn, .cookie-modal .modal-btns button {
  transition: background 0.18s, color 0.16s, box-shadow 0.2s, transform 0.16s;
}
.mobile-menu {
  transition: opacity 0.32s, visibility 0.32s, transform 0.38s cubic-bezier(.39,.58,.57,1);
  transform: translateX(100%);
}
.mobile-menu.open {
  transform: translateX(0);
}
.cookie-banner {
  transition: opacity 0.35s, transform 0.35s;
}

/* === FINE-TUNE: UTILITY CLASSES & SECTIONS === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.highlight { color: #FFD369; font-weight: 700; }

/* ==== CARDS / TESTIMONIALS / FEATURES ==== */
.testimonial-card {
  min-width: 260px;
  box-shadow: 0 2px 16px 0 rgba(34,40,49,0.05);
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(34,40,49,0.15);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #FFD369;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 6px;
  opacity: 1;
}

/* === ACCESSIBILITY: REDUCE MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==== SPECIFIC CLASSES FOR BLOG, GALLERY, ETC. ==== */
.team-intro {
  margin-top: 10px;
  background: #faf8f0;
  border-left: 3px solid #FFD369;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 0.99rem;
}

/* === THANK YOU PAGE, EMPTY STATES, ETC. === */
.text-section .cta-btn {
  margin-top: 18px;
}

/* ==== FOCUS STATES FOR ACCESSIBILITY ==== */
a:focus, button:focus, .cta-btn:focus, input:focus, select:focus, textarea:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #FFD369;
  outline-offset: 1.5px;
  border-radius: 4px;
}

/* ==== A LITTLE SCROLL SNAP FEELING FOR MAIN ==== */
main {
  scroll-padding-top: 98px;
}

/* --- Hide browser autofill bg --- */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s;
  color: #222831 !important;
}

/* ==== END ==== */
