/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #EB9B00;
  --first-color-alt: hsl(219, 69%, 52%);
  --title-color: hsl(219, 8%, 95%);
  --text-color: hsl(219, 8%, 75%);
  --text-color-light: hsl(219, 4%, 55%);
  --white-color: #fff;
  --body-color: hsl(219, 4%, 4%);
  --container-color: hsl(219, 4%, 7%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Exo', sans-serif;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color) !important;
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/


/* custom */
/* Jobbról beúszás */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-right {
  animation: slideInRight 1s ease-out;
}


a {
  text-decoration: none !important;
}


.home__img-wrapper {
  position: relative;
  display: inline-block;
  text-align: center;
}

.home__img {
  display: block; /* középre hozza a képet a wrapperben */
  position: relative;
  z-index: 2;
}

.home__img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 0, 0.6), transparent);
  filter: blur(8px);
  z-index: 1;
}



.album .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}

.album .responsive-container-block.bg {
  max-width: 1320px;
  margin: 0 0 0 0;
  justify-content: space-between;
}

.album .img {
  width: 100%;
  margin: 0 0 20px 0;
}

.album #i9rb {
  color: black;
}

.album #ir6i {
  color: black;
}

.album #ikz3b {
  color: black;
}

.album .responsive-container-block.img-cont {
  flex-direction: column;
  max-width: 33.3%;
  min-height: auto;
  margin: 0 0 0 0;
  height: 100%;
}

.album #ipix {
  color: black;
}

.album #ipzoh {
  color: black;
}

.album #ig5q8 {
  color: black;
}

.album #imtzl {
  color: black;
}

.album #i53es {
  color: black;
}

.album .img.img-big {
  height: 50%;
  margin: 0 0 16px 0;
}

@media (max-width: 1024px) {
  .album .img {
    margin: 0 0 18px 0;
  }
}

@media (max-width: 768px) {
  .album .img {
    max-width: 32.5%;
    margin: 0 0 0 0;
  }

  .album .responsive-container-block.bg {
    flex-direction: column;
  }

  .album .responsive-container-block.img-cont {
    max-width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .album .img.img-big {
    max-width: 49%;
    margin: 0 0 0 0;
  }
}

@media (max-width: 500px) {
  .album .img {
    max-width: 94%;
    margin: 0 0 25px 0;
  }

  .album .responsive-container-block.img-cont {
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 10px 10px;
  }

  .album .img.img-big {
    max-width: 94%;
    margin: 0 0 25px 0;
  }

  .album .img.img-last {
    margin: 0 0 5px 0;
  }
}



/* .container {
  max-width: 1024px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
} */

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2.5rem;
}

.main {
  overflow: hidden;
}

.shape {
  background-color: hsla(219, 93%, 32%, .5);
  filter: blur(112px);
  border-radius: 50%;
}

.shape__big {
  width: 400px;
  height: 400px;
}

.shape__small {
  width: 300px;
  height: 300px;
}

.shape__smaller {
  width: 180px;
  height: 180px;
  filter: blur(64px);
}

.home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.home-text {
  flex: 1;
}

.home-image {
  flex-shrink: 0;
}

.home__img {
  max-width: 100%;
  height: auto;
}



/* Alap animációk */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

.car-model-title{
    color:white;
}
/* Általános stílusok */
.highlight {
    color: #FFD700;
    font-weight: 700;
}

/* Glass card effekt */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Modern lista */
.modern-list {
    list-style: none;
    padding-left: 0;
}

.modern-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
    color:white;
}

.modern-list i {
    color: #FFD700;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 10px;
}

/* 3D autó megjelenítés */
.car-3d-container {
    perspective: 1000px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-3d-image {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    max-height: 280px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.car-3d-image:hover {
    transform: rotateY(10deg) scale(1.05);
}

/* Specifikáció kártyák */
.spec-card {
background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eb9b00;
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.spec-icon {
    font-size: 24px;
    color: #cacac6;
    margin-bottom: 15px;
}

.spec-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ddd;
}

.brand {
    color: #FFD700;
    font-size: 0.9rem;
}

.unit {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Gombok */
.modern-button {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    color: #111;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.modern-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.modern-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.modern-button:hover i {
    transform: translateX(3px);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: white;
    border: 2px solid #eb9b00;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Animációk */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeInUp;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .glass-card {
        padding: 20px;
    }
    
    .car-3d-container {
        height: 200px;
    }
    
    .spec-card {
        padding: 15px 10px;
    }
    
    .spec-value {
        font-size: 1.2rem;
    }
}

.popular__price{
    color:red;
}
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9); /* sötét háttér */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: auto;
}

.pdf-modal-content {
  position: relative;
  background-color: #fff;
  margin: 3% auto;
  padding: 20px;
  width: 90%;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.pdf-iframe-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.pdf-iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.pdf-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.close-btn {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 10px;
}

.close-btn:hover {
  color: #333;
}

.download-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
}

.download-btn:hover {
  background: #45a049;
}

@media (max-width: 768px) {
  .pdf-modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  .pdf-iframe {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .pdf-iframe {
    min-height: 300px;
  }
}
.fixed-size-img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Modern and responsive ratio */
  /*object-fit: cover;*/
  border-radius: 12px;
  display: block;
}

   /* Lightbox stílusok */
    .lightbox {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        overflow: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        touch-action: pan-y;
    }

    .lightbox-content {
        position: relative;
        margin: auto;
        padding: 20px;
        max-width: 95%;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
        user-select: none;
        -webkit-user-select: none;
    }

    .lightbox-caption {
        color: white;
        text-align: center;
        padding: 10px 0;
        font-size: 1.2em;
        max-width: 90%;
    }

    .close-btn {
        position: absolute;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        padding: 10px;
        top: 15px;
        right: 15px;
        z-index: 1;
    }

    .prev-btn, .next-btn {
        position: absolute;
        color: white;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        padding: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .close-btn:hover, .prev-btn:hover, .next-btn:hover {
        color: #ccc;
    }

    /* Gallery item hover effect */
    .gallery-item {
        cursor: pointer;
        transition: transform 0.3s;
    }

    .gallery-item:hover {
        transform: scale(1.02);
    }

    /* Mobil nézet */
    @media (max-width: 768px) {
        .lightbox-content {
            max-width: 100%;
            padding: 10px;
        }
        
        .lightbox-image {
            max-height: 60vh;
        }
        
        .prev-btn, .next-btn {
            font-size: 30px;
            width: 50px;
            height: 50px;
            padding: 10px;
        }
        
        .close-btn {
            font-size: 35px;
            top: 10px;
            right: 10px;
        }
    }
    
    .testdrive{
        width:100%
    }
    .image-container {
            width:100%;
  position: relative;
  display: inline-block; /* vagy block, attól függően, hogyan szeretnéd elhelyezni */
}

    .model-option {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid transparent;
    }
    
    .model-option:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    
    .model-option input[type="radio"] {
        position: absolute;
        opacity: 0;
    }
    
    .model-option label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        margin: 0;
    }
    
    .model-option img {
        border-radius: 3px;
        object-fit: cover;
        transition: transform 0.2s;
    }
    
    /* Selected state */
    .model-option input[type="radio"]:checked + label {
        font-weight: bold;
    }
    

    
    /*.model-option input[type="radio"]:checked + label::after {*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    right: 0;*/
    /*    bottom: -8px;*/
    /*    height: 2px;*/
    /*    background-color: #0066cc;*/
    /*}*/
.image-text {
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
}

 .testdrive-section {
        background-color: #1a1a1a;
        padding: 4rem 0;
        color: white;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
    
    .testdrive-header {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .testdrive-title {
        color: #eb9b00;
        font-size: 2rem;
        margin-bottom: 2.5rem;
        position: relative;
        display: inline-block;
    }
    
    .testdrive-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #eb9b00;
    }
    
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .step-item {
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 8px;
        position: relative;
        transition: transform 0.3s ease;
        border:1px solid #ffc10770;
    }
    
    .step-item:hover {
        transform: translateY(-5px);
    }
    
    .step-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: #eb9b00;
        color: #1a1a1a;
        font-weight: bold;
        border-radius: 50%;
        margin-bottom: 1rem;
    }
        :root {
  --dark-bg: #1a1a1a;
  --darker-bg: #121212;
  --orange-primary: #f97316;
  --orange-hover: #ea580c;
  --text-light: #e5e5e5;
  --text-muted: #a3a3a3;
}

/* Dropdown container */
.modellek-dropdown {
  position: relative;
  top:0px;
}


.modal-dark-orange .modal-content {
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #e0e0e0;
  overflow: hidden;
}

.modal-dark-orange .modal-header {
  border-bottom: 1px solid rgba(255, 152, 0, 0.2);
  padding: 1.5rem;
  background: linear-gradient(to right, #2a2a2a, #1a1a1a);
}

.modal-dark-orange .modal-title {
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.5rem;
  background: linear-gradient(to right, #ff9800, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-dark-orange .modal-body {
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #ff9800 #2a2a2a;
}

.modal-dark-orange .modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-dark-orange .modal-body::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.modal-dark-orange .modal-body::-webkit-scrollbar-thumb {
  background-color: #ff9800;
  border-radius: 3px;
}

.modal-dark-orange .modal-footer {
  border-top: 1px solid rgba(255, 152, 0, 0.2);
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, #1a1a1a, #2a2a2a);
}

.modal-dark-orange .btn-close {
  filter: invert(75%) sepia(60%) saturate(500%) hue-rotate(360deg);
}

/* Content Styling */
.post-details-container {
  padding: 0;
}

.post-image-container {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #ff9800;
}

.post-image-container img {
  transition: transform 0.5s ease;
  width: 100%;
  display: block;
}

.post-image-container:hover img {
  transform: scale(1.03);
}

.post-meta {
  padding: 1rem 1.5rem;
  background: rgba(30, 30, 30, 0.7);
  margin: 0;
}

.post-meta span {
  padding: 0.5rem 1rem;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 20px;
  border-left: 2px solid #ff9800;
}

.post-meta i {
  color: #ff9800;
}

.youtube-embed {
  padding: 0 1.5rem;
  margin: 1.5rem 0;
}

.youtube-embed .ratio {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 152, 0, 0.3);
  transition: all 0.3s ease;
}

.youtube-embed .ratio:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
}

.post-content {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/* Modern Close Button */
.btn-modal-close {
  background: linear-gradient(145deg, #ff9800, #ffab00);
  border: none;
  color: #1a1a1a;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(255, 152, 0, 0.3);
}

.btn-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
  background: linear-gradient(145deg, #ffab00, #ff9800);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-dark-orange .modal-content {
  animation: fadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-dark-orange .modal-header {
    padding: 1rem;
  }
  .modal-dark-orange .modal-title {
    font-size: 1.2rem;
  }
}

#contactForm .form-control {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
  }

  #contactForm .form-control:focus {
    background-color: #fff;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
  }

  #contactForm label {
    font-weight: 500;
    margin-bottom: 0.5rem;
  }

  #contactForm .btn-warning {
    border-radius: 0.75rem;
    font-weight: bold;
    padding: 0.75rem;
  }

  #contactForm .mb-3 {
    margin-bottom: 1.5rem;
  }

  #contactForm textarea.form-control {
    resize: vertical;
  }
     /* Custom navigation arrows */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* Nyilak megjelenése (CSS-ből) */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
}

.swiper-button-prev::after {
    transform: rotate(135deg);
    margin-left: 4px;
}

.swiper-button-next::after {
    transform: rotate(-45deg);
    margin-right: 4px;
}

.popular__img-full {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}



/* Responsive grid behavior */
.dropdown-grid {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: min(95vw, 1400px);
  background: var(--dark-bg);
  padding: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2rem;
  z-index: 1000;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Show dropdown on hover */
.modellek-dropdown:hover .dropdown-grid {
  display: grid;
  opacity: 1;
  visibility: visible;
  animation: fadeInUpFixedX 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Hide dropdown completely on small screens */
@media (max-width: 768px) {
  .dropdown-grid {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
  }

  .modellek-dropdown:hover .dropdown-grid {
    display: none !important;
  }
}

/* Alap pozíció fix X eltolással */
.dropdown-grid {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  /* ...a többi stílusod maradhat */
}

/* Hoverkor animáció indítása */
.modellek-dropdown:hover .dropdown-grid {
  display: grid;
  opacity: 1;
  visibility: visible;
  animation: fadeInUpFixedX 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Külön animáció ahol a translateX fix, csak Y mozog */
@keyframes fadeInUpFixedX {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}



/* Model tile styling */
.model-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 1rem;
}

.model-tile:hover {
  transform: translateY(-8px);
}

.model-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: var(--darker-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(249, 115, 22, 0.3);
   box-shadow: 0 12px 24px rgba(0,0,0,0.3);
 background: linear-gradient(to top, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
 

  
}

.model-tile:hover .model-image-container {
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  border-color: var(--orange-primary);
}

.model-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.model-tile:hover img {
  transform: scale(1.05);
}

.model-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.model-tile:hover .model-hover-overlay {
  opacity: 1;
}

.model-name {
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.model-tile:hover .model-name {
  color: var(--orange-primary);
}

.model-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.model-cta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--orange-primary);
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.model-tile:hover .model-cta {
  opacity: 1;
  transform: translateY(0);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
    background-color: #212529;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle {
  color: var(--title-color);
  display: inline-flex;
}

.nav__logo {
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__logo i {
  font-size: 1.25rem;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: #000;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(96px);
    transition: .3s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 3rem;
  padding-top: 9rem;
}

.nav__link {
  text-transform: uppercase;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  font-size: 2rem;
  color: var(--white-color);
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  border-radius: 0 0 1rem 1rem;
  background-color: #212529;
box-shadow: 0 2px 4px #eb9b00;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.slogen{
  color: #EB9B00;;
}
img.engine{
    width: 28px;
}

img.valto{
    width: 28px;
}
.home {
  position: relative;
  overflow: hidden;
}

.home__container {
  position: relative;
  padding-top: 4rem;
  row-gap: 3rem;
}

.home__data {
  text-align: center;
}

.home__title {
    font-size: var(--h1-font-size);
    position: relative;
    margin-bottom: 1rem;
    z-index: 120000000;
      text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
  text-align: center;
}

.home__elec {
  font-size: var(--small-font-size);
  font-weight: 400;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.home__elec i {
  color: var(--first-color);
}

.home__img {
  width: 280px;
  justify-self: center;
}

.home__car {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 4rem;
  margin-bottom: 2rem;
}

.home__car-name {
  font-size: .825rem;
  font-weight: 400;
  color: var(--text-color-light);
}

.home__car-data {
  text-align: center;
}

.home__car-number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.home__car-icon {
  background-color: var(--container-color);
  border-radius: 50%;
  padding: .376rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.home__button {
  position: relative;
  border: 2px solid #EB9B00;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-size: var(--small-font-size);
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.home__button::before {
  content: '';
  border: 2px solid #EB9B00;
  width: 90px;
  height: 90px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 12px #EB9B00;
  transition: .3s;
  animation: button 3s infinite;
}

.home .shape__big,
.home .shape__small {
  position: absolute;
}

.home .shape__big {
  left: -9rem;
  top: -4rem;
}

.home .shape__small {
  right: -10rem;
  /* bottom: 3rem; */
}

/* Button animate */
@keyframes button {
  0% {
    box-shadow: 0 0 12px hsl(158, 98%, 43%);
  }

  50% {
    box-shadow: 0 0 24px hsl(158, 98%, 43%);
  }
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: .25rem;
  font-size: var(--normal-font-size);
  transition: .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 6rem;
}

.about__group {
  position: relative;
}

.about__img {
  width: 310px;
  border-radius: .5rem;
}

.about__card {
  width: 180px;
  position: absolute;
  right: 0;
  bottom: -2.5rem;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  padding: 1rem .75rem;
  text-align: center;
  border-radius: 1.25rem;
}

.about__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.about__card-description {
  font-size: var(--smaller-font-size);
}

.about__title {
  text-align: initial;
  margin-bottom: 2rem;
}

.about__description {
  margin-bottom: 2rem;
}
button.tgomb {
    /* height: 20px; */
    height: 20px;
    line-height: 2px;
    padding: 0 8px;
}

section#about {
  position: relative;
  overflow: hidden;
}

section#about::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: hsla(219, 93%, 32%, 0.5);
  transform: translate(-50%, -50%);
  filter: blur(120px);
  border-radius: 50%;
  z-index: 0;
}

section#about > * {
  position: relative;
  z-index: 1;
}



/*=============== POPULAR ===============*/
.popular__container {
  padding-top: 1rem;
}

.popular__card {
  position: relative;
  width: 238px;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 3.5rem;
  overflow: hidden;
}

.popular__card .shape__smaller {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
}

.popular__title,
.popular__subtitle,
.popular__img {
  position: relative;
}

.popular__title {
  font-size: 15px;
  margin-bottom: .25rem;
}

.popular__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.popular__img {
  width: 160px;
  margin: .75rem 0 1.25rem 1.5rem;
  transition: .3s;
}

.popular__data {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: .5rem 1.25rem;
  margin-bottom: 2rem;
}

.popular__data-group {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--smaller-font-size);
  color: var(--white-color);
}

.popular__data i {
  font-size: 1rem;
}

.popular__price {
  font-size: var(--h3-font-size);
}

.popular__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.popular__button i {
  font-size: 1.25rem;
}

.popular__card:hover .popular__img {
  transform: translateY(-.25rem);
}

/* Swiper class */
.swiper-pagination-bullet {
  background: var(--text-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

/*=============== FEATURES ===============*/
.features {
  overflow: hidden;
  position: relative;
}

.features__container {
  padding-top: 2rem;
  grid-template-columns: 285px;
  justify-content: center;
}

.features__group {
  display: grid;
  position: relative;
  z-index: 10;
}

.features__img {
  width: 150px;
  justify-self: center;
}

.features__card {
    width: 112px;
    background-color: hsl(0deg 0% 0% / 55%);
    backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    padding: .75rem 2rem;
    text-align: center;
    color: var(--title-color);
    position: absolute;
    border: 1px solid;
}

.features__card-1 {
  top: 4rem;
  left: 1.5rem;
}

.features__card-2 {
  top: 8rem;
  right: 1rem;
}

.features__card-3 {
  left: 1.5rem;
  bottom: 2rem;
}

.features__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: .25rem;
}

.features__card-description {
  font-size: var(--smaller-font-size);
}

.features__map {
  max-width: initial;
  width: 450px;
  position: absolute;
  top: 8rem;
  left: -3rem;
  margin: auto;
  transform: rotate(-22deg);
}

/*=============== FEATURED ===============*/
.featured__container {
  padding-top: 1rem;
}

.featured__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  margin-bottom: 3.5rem;
}

.featured__item {
  width: 48px;
  height: 48px;
  border: none;
  outline: none;
  padding: .75rem;
  border-radius: .75rem;
  background-color: var(--container-color);
  color: var(--white-color);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: .3s;
}

.featured__item img {
  width: 1.5rem;
}

.featured__item span,
.featured__item img {
  opacity: .3;
  transition: .3s;
}

.featured__item:hover {
  background-color: var(--first-color);
}

.featured__item:hover span,
.featured__item:hover img {
  opacity: 1;
}

.featured__content {
  grid-template-columns: 228px;
  row-gap: 2.5rem;
  justify-content: center;
}

.featured__card {
  position: relative;
  background-color: var(--container-color);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 1rem;
}

.featured__card .shape__smaller {
  position: absolute;
  inset: 0;
  margin: auto;
}

.featured__title,
.featured__subtitle,
.featured__img {
  position: relative;
}

.featured__title {
  font-size: var(--h2-font-size);
  margin-bottom: .25rem;
}

.featured__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-color);
  font-weight: 400;
}

.featured__img {
  width: 180px;
  margin: 1.5rem 0;
  transition: .3s;
}

.featured__price {
  font-size: var(--h3-font-size);
}

.featured__button {
  border: none;
  outline: none;
  padding: .75rem 1rem;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 1rem 0 1rem 0;
  cursor: pointer;
}

.featured__button i {
  font-size: 1.25rem;
}

.featured__card:hover .featured__img {
  transform: translateX(-.25rem);
}

/* Active link featured */
.active-featured {
  background-color: var(--first-color);
}

.active-featured span,
.active-featured img {
  opacity: 1;
}

/*=============== OFFER ===============*/
.offer {
  position: relative;
}

.offer__container {
  grid-template-rows: max-content 224px;
}

.offer__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer__data,
.offer__img {
  position: relative;
}

.offer__data {
  text-align: center;
}

.offer__title {
  margin-bottom: 2rem;
}

.offer__description {
  margin-bottom: 3rem;
}

.offer__img {
  position: absolute;
  max-width: initial;
  width: 400px;
  bottom: 2rem;
  right: -5.5rem;
}

/*=============== LOGOS ===============*/
.logos__img {
  width: 40px;
  opacity: .4;
  transition: .3s;
}

.logos__container {
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding-bottom: 2rem;
}

.logos__img:hover {
  opacity: 1;
}

/*=============== FOOTER ===============*/
.footer {
  position: relative;
  overflow: hidden;
}

.footer .shape__big,
.footer .shape__small {
  position: absolute;
}

.footer .shape__big {
  width: 300px;
  height: 300px;
  left: -12rem;
  top: 6rem;
}

.footer .shape__small {
  right: -13rem;
  bottom: -6rem;
}

.footer__container {
  row-gap: 2.5rem;
  position: relative;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.25rem;
  transition: .3s;
}

.footer__logo i {
  font-size: 1.5rem;
  font-weight: 500;
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.footer__link,
.footer__social-link {
  color: var(--text-color);
  transition: .3s;
}

.footer__link:hover,
.footer__social-link:hover {
  color: var(--title-color);
}

.footer__social {
  display: flex;
  column-gap: 1.5rem;
}

.footer__social-link {
  font-size: 1.25rem;
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  background-color: hsl(219, 4%, 16%);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
  background-color: hsl(219, 4%, 24%);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(219, 4%, 32%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  display: inline-flex;
  padding: .45rem;
  border-radius: .5rem;
  font-size: 1.15rem;
  color: var(--white-color);
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .home__car {
    column-gap: 2rem;
  }

  .about__card {
    width: 150px;
  }

  .offer__container {
    grid-template-rows: max-content 180px;
  }

  .offer__img {
    width: 340px;
  }

  .logos__container {
    gap: 2.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .about__group {
    width: 350px;
    justify-self: center;
  }

  .features__map {
    left: 0;
    right: 0;
  }

  .featured__content {
    grid-template-columns: repeat(2, 228px);
  }

  .offer__container {
    grid-template-rows: initial;
    grid-template-columns: .5fr;
    justify-content: center;
  }

  .offer__img {
    position: relative;
    bottom: initial;
    right: initial;
  }

  .offer__data {
    margin-bottom: 4rem;
  }
}

@media screen and (min-width: 767px) {
  .section {
    /* padding: 7rem 0 2rem; */
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
    padding-top: 0;
    margin-bottom: 0 !important;
  }

  .nav__link {
    font-size: var(--normal-font-size);
    text-transform: initial;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .logos__container {
    gap: 4rem 8rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For large devices */
@media screen and (min-width: 1040px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .shape__big {
    width: 500px;
    height: 500px;
  }

  .shape__small {
    width: 400px;
    height: 400px;
  }

  .home__container {
    padding-top: 2rem;
  }

  .home__img {
    width: 380px;
  }

  .home__car {
    column-gap: 7rem;
  }

  .home__car-icon {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .about__container {
    column-gap: 6rem;
    align-items: center;
  }

  .about__group,
  .about__img {
    width: 480px;
  }

  .about__card {
    width: 198px;
    padding: 1rem 1.25rem;
  }

  .about__description {
    padding-right: 4rem;
    margin-bottom: 3rem;
    width: 600px;
  }

  .popular__container {
    width: 875px;
    padding-top: 3rem;
  }

  .popular__card {
    width: 258px;
    border-radius: 1.25rem;
    margin-bottom: 5rem;
  }

  .popular__img {
    width: 180px;
    /*margin: .75rem 0 1.2rem 2rem;*/
    position: relative;
        right: 20px;
  }

  .features__container {
    padding: 2rem 0 3rem;
  }

  .features__img {
    width: 200px;
  }

  .features__card {
    width: 127px;
    padding: .75rem 2.5rem;
  }

  .features__card-1 {
    left: -1rem;
  }

  .features__card-2 {
    right: -2.5rem;
  }

  .features__card-3 {
    bottom: 7rem;
    left: -1rem;
  }

  .features__map {
    width: 650px;
    top: 11rem;
  }

  .featured__container {
    padding-bottom: 2.5rem;
  }

  .featured__filters {
    column-gap: 2rem;
    margin-bottom: 4.5rem;
  }

  .featured__item {
    width: 52px;
    height: 52px;
  }

  .featured__item img {
    width: 2rem;
  }

  .featured__content {
    grid-template-columns: repeat(3, 248px);
    gap: 4rem;
  }

  .offer__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    align-items: center;
    padding-bottom: 2rem;
  }

  .offer__data,
  .offer__title {
    text-align: initial;
  }

  .offer__data {
    margin-bottom: 0;
  }

  .offer__description {
    padding-right: 6rem;
  }

  .offer__img {
    width: 450px;
  }

  .logos__container {
    grid-template-columns: repeat(6, max-content);
  }

  .logos__img {
    width: 50px;
  }

  .footer__container {
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
  }

  .footer__logo {
    column-gap: .5rem;
  }

  .footer__logo i {
    font-size: 2rem;
  }

  .footer__title {
    margin-bottom: 1.5rem;
  }

  .footer__links {
    row-gap: .75rem;
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .footer__copy {
    margin-top: 8rem;
    padding-bottom: 1rem;
  }

  .scrollup {
    right: 3rem;
  }
}