/* 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, menu, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #F7F1EA;
  color: #273244;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
a {
  color: #A62A1E;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #273244;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}
th {
  background: #273244;
  color: #fff;
  font-weight: 600;
}
tr:nth-child(even) {
  background: #f2f2f2;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #A62A1E;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, li, dt, dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: #273244;
  line-height: 1.6;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

/* CONTAINER AND SECTIONS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(39,50,68,0.09);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #A62A1E 0%, #273244 100%);
  color: #fff;
  padding: 64px 0 48px 0;
  position: relative;
  margin-bottom: 0;
}
.hero h1, .hero h2 {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 20px;
}
.hero p {
  max-width: 620px;
  color: #fff;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(166,42,30,0.05);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 20px 18px 20px;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav .logo {
  margin-right: 36px;
  display: flex;
  align-items: center;
}
.main-nav a {
  color: #273244;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta-btn {
  background: #A62A1E;
  color: #fff;
  font-weight: 700;
  margin-left: auto;
  border-radius: 32px;
  padding: 8px 28px;
  box-shadow: 0 2px 8px rgba(166,42,30,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #273244;
  color: #fff;
  box-shadow: 0 4px 18px rgba(39,50,68,0.19);
}
.main-nav a:hover:not(.cta-btn), .main-nav a:focus:not(.cta-btn) {
  background: #F7F1EA;
  color: #A62A1E;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #A62A1E;
  font-size: 2rem;
  margin-left: auto;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A62A1E;
}
/* Hamburger toggle shown on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 24px;
  }
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1), opacity 0.32s;
  box-shadow: 0 8px 60px rgba(39,50,68,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  border: none;
  background: none;
  font-size: 2rem;
  color: #A62A1E;
  margin: 24px 28px 0 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #273244;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 18px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F1EA;
  color: #A62A1E;
}

/* Banner - Cookie Consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #273244;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  box-shadow: 0 -6px 32px rgba(166,42,30,0.19);
  z-index: 1000;
  animation: cookieSlideUp 0.7s cubic-bezier(.44,1.54,.78,1) 1;
}
@keyframes cookieSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #fff;
  color: #A62A1E;
  margin: 0 2px;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(39,50,68,0.08);
}
.cookie-banner button.accept {
  background: #A62A1E;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #273244;
  color: #fff;
}
.cookie-banner button.settings {
  background: #ededed;
  color: #273244;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #A62A1E;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  color: #A62A1E;
  border: 1px solid #A62A1E;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #273244;
  color: #fff;
  border-color: #273244;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,50,68,0.40);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 56px 0 rgba(39,50,68,0.16);
  padding: 30px 34px;
  color: #273244;
  max-width: 440px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  color: #A62A1E;
  font-size: 1.3rem;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A62A1E;
  width: 18px; height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #A62A1E;
  cursor: pointer;
  align-self: flex-end;
  margin-top: -12px;
  margin-bottom: 6px;
}

/* FEATURE GRID & FLEX CARD LAYOUTS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(39,50,68,0.08);
  padding: 26px 22px 26px 22px;
  min-width: 215px;
  max-width: 295px;
  flex: 1 1 220px; /* allow cards to shrink/grow */
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.20s;
}
.feature-item img {
  height: 46px;
  width: 46px;
  margin-bottom: 2px;
  border-radius: 12px;
  background: #F7F1EA;
  box-shadow: 0 2px 8px rgba(39,50,68,0.06);
  padding: 7px;
}
.feature-item h3, .feature-item h4 {
  color: #A62A1E;
}
.feature-item p, .feature-item span {
  color: #273244;
  font-size: 1rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 24px 0 rgba(166,42,30,0.15);
  transform: translateY(-4px) scale(1.015);
}

/* TESTIMONIALS (Kullanıcı Yorumları) */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(39,50,68,0.09);
  padding: 32px 28px 22px 28px;
  max-width: 370px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card p {
  color: #273244;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-name {
  color: #A62A1E;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  margin-top: -8px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 26px 0 rgba(166,42,30,0.15);
  transform: scale(1.02);
}

/* ABOUT / TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  margin-bottom: 5px;
}
.text-section li {
  list-style: disc inside;
  font-family: inherit;
  font-size: 1rem;
}
.text-section a {
  color: #A62A1E;
}

/* CTA BUTTONS */
.cta-btn {
  background: linear-gradient(110deg, #A62A1E 0%, #273244 90%);
  color: #fff !important;
  border: none;
  outline: none;
  border-radius: 32px;
  padding: 13px 44px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.24s, transform 0.18s, box-shadow 0.2s;
  box-shadow: 0 3px 18px 0 rgba(166,42,30,0.09);
  display: inline-block;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(110deg, #273244 40%, #A62A1E 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.023);
  box-shadow: 0 9px 34px rgba(39,50,68,0.13);
}

/* TABLES */
table caption {
  color: #A62A1E;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
table, th, td {
  border: 1px solid #e6e6e6;
}
table {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 1px 7px rgba(39,50,68,0.07);
}
th {
  background: #A62A1E;
  color: #fff;
}
tr td:last-child, tr th:last-child {
  border-right: none;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #273244;
  padding: 34px 0 18px 0;
  color: #fff;
  font-size: 1rem;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 3px;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A62A1E;
  text-decoration: underline;
}
.footer-info {
  text-align: center;
  color: #fff;
  opacity: 0.88;
  font-size: 0.95rem;
}

/* FLEX LAYOUT CLASSES (MANDATORY PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(39,50,68,0.08);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(166,42,30,0.12);
  transform: scale(1.02);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL SPACING */
section {
  margin-bottom: 60px;
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .main-nav a.cta-btn {
    margin-left: 12px;
    padding: 8px 16px;
  }
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.23rem; }
  h3, h4 { font-size: 1.05rem; }
  .hero {
    padding: 40px 0 28px 0;
  }
  .hero p { font-size: 1rem; }
  .footer-info { font-size: 0.86rem; }
  .content-wrapper {
    gap: 16px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials-grid {
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
  }
  .testimonial-card,
  .feature-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 18px 4px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 12px;
    align-items: flex-start;
  }
}

/* ANIMATION / MICRO-INTERACTIONS */
.card, .feature-item, .testimonial-card, .cta-btn {
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}
input, button, select, textarea {
  font-family: inherit;
}

/* SCROLLBAR STYLES */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F1EA;
}
::-webkit-scrollbar-thumb {
  background: #A62A1E;
  border-radius: 8px;
}

/* ACCORDION, FAQ (for Elektrikli Araç Rehberi) */
dt {
  font-weight: 700;
  color: #A62A1E;
  margin-top: 14px;
}
dd {
  margin-left: 14px;
  margin-bottom: 10px;
}

/* FIXED Z-INDEX LAYERS (burger, modals, banner) */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 100000;
}

/* UTILITY: HIDE ON MOBILE/DESKTOP */
.hide-mobile {
  display: inherit;
}
@media (max-width: 950px) {
  .hide-mobile {
    display: none !important;
  }
}
.hide-desktop {
  display: none !important;
}
@media (max-width: 950px) {
  .hide-desktop {
    display: block !important;
  }
}

/* VISIBILITY / ACCESSIBILITY */
:focus {
  outline: 2px solid #A62A1E;
  outline-offset: 2px;
}
[tabindex]:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #A62A1E;
  outline-offset: 2px;
}

/* OVERRIDE FOR CONSISTENCY */
main {
  margin-bottom: 60px;
}

/* CARD & FLEXBOX MANDATORY GAPS */
.card-container, .features-grid, .testimonials-grid, .content-grid {
  gap: 20px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* End Kum Kırmızısı Medya Gradient Modern Styles */