*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}
h1, h2, h3, h4, h5, h6, p, a, span, label, input, button {
    font-family: 'Stem', sans-serif;
    outline: 0;
    margin: 0;
}

.main-image, 
.homebanner, 
.firstcontent {
   
    line-height: 0; /* Prevents small gaps under images */
}

img{
    height: auto;

    border-style: none;
}
.promo-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 25px 0;
    flex-wrap: wrap;
    color: #fff;
}
span.baner {
    font-size: 13px;
    font-weight: 200;
}
.promo-btn.tsssss {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
 .countdown-wrapper {
 background: black;
      padding: 30px 30px;

      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      text-align: center;
    }

    .description-content.pric {
    border: 1px solid #fff;
    border-radius: 15px;
  padding: 10px 20px 15px;
}
.description-content.pric p {
    font-size: 20px;
    font-weight: 900;
}
p.sold-out {
    color: #d21616;
}
    .countdown {
      display: flex;
      gap: 15px;
      justify-content: center;
    }

    .time-box {

      color: #fff;
      padding: 10px 15px;
      border-radius: 8px;
      min-width: 60px;
      border: 1px solid white;
    }

    .time-box .number {
      font-size: 24px;
      font-weight: bold;
      display: block;
    }

    .time-box .label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0.8;
    }
    .countdown-title {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
    font-family: sans-serif;
    font-weight: 700;
}
.promo-btn {
    border: 1px solid #fff;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    cursor: default;
    transition: 0.2s;
    text-align: center;
    white-space: nowrap;
    font-family: sans-serif;
        height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.promo-btn:hover {
    background: #000;
    color: #fff;
}

.marquee p{
color: #000;
font-family: Inter;
font-size: 23px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: 0.69px;
text-transform: uppercase;
    text-align: center;
}

.ts {
    background: white;
    padding: 25px 0;
    margin: 45px 0;
}

.main-text.ts p {
    max-width: 80%;
    color: #FFF;
    /* font-family: Inter; */
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

header{
    background-color: #000;

}

.header-body{
    margin-left: 3.5%;
    margin-right: 3.5%;
    display: flex;
    justify-content: space-between;
    padding-top: 1%;
}

.reservation-button{
    margin-top: 0.5%;
}

.open-btn {
  padding: 12px 25px;

  background-color: transparent;
  border: 1px solid white;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  font-size: 16px;
  color: #fff;
  
}
/* Popup overlay */
.image-popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* The enlarged image */
.image-popup img.popup-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

/* Close button (×) */
.image-popup .close-popup {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.image-popup .close-popup:hover {
  color: #ccc;
}

/* Simple zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Make sure images show pointer cursor */
.car-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.car-image:hover {
  transform: scale(1.03);
}

.open-btn:hover {
  background: #0056b3;
}

.open-btn img {
  width: 9px; /* adjust for your SVG */
  height: auto;
  align-items: center;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* makes SVG white if it’s black */
   vertical-align: middle; 
   top: 1px;
  
}

.btn-icon{
    
}
.open-btn:hover {
  background: #0056b3;
}

.open-btn:hover img {
  transform: translateX(4px);
}


/* Popup overlay (hidden by default) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Popup visible */
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup box */
.popup-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 400px;
  max-width: 90%;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease;
}

/* When popup active, make it appear smoothly */
.popup-overlay.active .popup-content {
  transform: scale(1);
  opacity: 1;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 10px;
  font-weight: 500;
}

input, textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.submit-btn {
  margin-top: 15px;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #0056b3;
}


.firstcontent img{
    width: 100%;
}

.content{
    background-color: #000;
    color: #fff;
     margin-top: -0.2%;
      padding: 30px 0;
}

.main-text{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-text h2{
    font-size: 50px;
    margin-top: 2%;
}

.main-text p{
    opacity: 80%;
    font-size: 22px;
    max-width: 650px;
    text-align: center;
    padding-top: 20px;
}


.filter-buttons{
    display: flex;
    justify-content: center;
    gap: 30px;
     flex-wrap: wrap;
     padding-top: 20px;
     margin-top: 20px;
      flex-wrap: wrap;
      margin-bottom: 40px;
}

.filter-btn{
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 15px;
    width: 160px;
    height: 43px;
    font-weight: 600;
     cursor: pointer;
  transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #fff;
  color: #000;
}


.cars-container {
   display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 cars per row */
  gap: 25px;
  justify-content: center;
  align-items: start;
  margin-top: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

.car-card{
   
    
  
}
.car-card img{
    align-items: center;
  height: auto;
  display: block;
  object-fit: cover;

}
.car-card h3{

    text-align: center;
    margin-bottom: 5%;
}
.description{
    display: flex;
    flex-wrap: wrap; /* wrap items if needed */
  justify-content: center;
    gap: 35px;
}

.description-content{
    display: flex;
    gap: 7px;
    margin-bottom: 13px;
}

.description-content p{
    margin-top: 5px;
    font-size: 16px;
    font-weight: 600;
}
p.price {
    color: #ffffffa8;
    text-decoration: line-through;
    text-decoration-line: line-through;
    text-decoration-style: solid;
}

.load-more-btn {
  display: block;
  margin: 40px auto;
  padding: 12px 28px;
  background: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.bottom-content {
  width: 100%;
  height: 100vh; /* Makes it fill the full viewport height */
  overflow: hidden;
}

.bottom-content img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps proportions and fills container */
  display: block;
}


footer{
    height: 80px;
    background-color: #000;
}
.footer-content{
    display: flex;
    justify-content: space-between;
    margin-left: 5%;
    margin-right: 5%;
   
}
.copyright{
     padding-top: 1.5%;
}
.copyright p{
    color: #fff;
}
.social-medias {
  display: flex;
  align-items: center;
  gap: 20px; /* adjust spacing between icons */
     padding-top: 1%;
}

.social-medias img {
  
  height: auto;
}


@media (max-width: 1535px) {
  .cars-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cars per row */
  }
}

@media (max-width: 900px) {
  .cars-container {
    grid-template-columns: 1fr; /* 1 car per row on mobile */
    padding: 0;
  }

  .car-card {
    max-width: 100%;
  }
}



/* Responsive (for mobile) */
@media (max-width: 600px) {
      .bottom-content {
    height: auto; /* Optional: reduce height for mobile */
  }
.firstcontent img {
    content: url(/img/Porsche_KVvv.jpg) !important;
}
  .bottom-content img {
    object-fit: contain; /* Keeps full image visible on small screens */
    content: url(/img/mb.jpg);
  }
.bottom-content img {
    content: url(/img/mb.jpg);
}
  .footer-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 4%;
    
  }
  .car-card {
    padding: 0 10px;
}
  .main-text h2 {
    font-size: 30px;
    margin-top: 2%;
    text-align: center;
}
  footer{
    height: 120px;
  }
  .popup-content {
    width: 90%;
    padding: 20px;
  }

  input, textarea {
    font-size: 14px;
  }
   .countdown {
        gap: 8px;
      }
      .time-box {
        padding: 8px;
        min-width: 50px;
      }
      .time-box .number {
        font-size: 18px;
      }
      .countdown-title {
        font-size: 18px;
      }
  .open-btn {
    width: 80%;
    font-size: 16px;
  }
  .car-card img{
  width: 100%;
}
.description {
    gap: 8px;
}
}
@media (max-width: 400px) {
    .promo-btn {

    font-size: 15px;

}
}