/* GLOBAL STYLES */
body {
    font-family: 'Urbanist', sans-serif;
    margin: 0;
    background: linear-gradient(-45deg, #717171, #ffbb00, #bfbfbf, #ffffff);
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
    color: white;
  }
  
  
  header {
    background-color: black;
    color: white;
    padding: 20px 10px;
    text-align: center;
  }
  
  header h1 {
    margin: 0;
    font-size: 28px;
  }
  
  .glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  header p {
    font-size: 14px;
    opacity: 0.8;
  }
  
  /* HOME PAGE CAR LIST */
  #car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px;
    gap: 20px;
  }
  
  .car-card {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    width: 280px;
    height: 280px;
    cursor: pointer;
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  
  
  .car-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 217, 0, 0.701);
  }
  
  .car-card img {
    width: 100%;
    height: 230px;
    object-fit: contain; /* makes image resize inside fixed height without cutting */
    background: white;
  }
  
  .car-card h3 {
    padding: 12px;
    margin: 0;
    text-align: center;
    background: #000;
    font-weight: bold;
    font-size: 18px;
    color: white;
  }
  
  .car-card h3::before {
    content: "";
    display: block;
    height: 2px;
    background: gold;
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* SERVICE SECTION */
  #service-details {
    display: none;
    min-height: 100vh;
    padding: 60px 40px;
    background: linear-gradient(to right, #111111, #1e1e1e);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  #car-title {
    width: 100%;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  
  
  @media screen and (max-width: 768px) {
    .car-card {
      width: 90%;
      height: auto;
    }
  
    #service-details {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    #car-image {
      max-width: 90%;
    }
  
    #service-list {
      text-align: center;
    }
  }
  
  .service-info {
    flex: 1;
    min-width: 250px;
  }
  
  #service-list {
    list-style: none;
    padding: 0;
  }
  
  #service-list li {
    margin: 15px 0;
  }
  
  /* BUTTON LINKS */
  .service-link {
    display: inline-block;
    background-color: #FFD700;
    color: #111;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
  }
  
  .service-link:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 217, 0, 0.701);
  }
  
  /* CAR IMAGE */
  
  
  #car-image {
    background-color: #cacaca;
    width:600 px;
    border-radius: 16px;
    box-shadow: 0px 0px 30px rgba(103, 103, 103, 0.735);
  }
  
  /* BACK BUTTON */
  button {
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 16px;
    background-color: black;
    color: white;
    border: 2px solid #FFD700;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  button:hover {
    background-color: #FFD700;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 217, 0, 0.701);
  }
  
  /* HIDDEN CLASS */
  .hidden {
    display: none;
  }
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  button:active,
  .service-link:active {
    transform: scale(0.95);
  }
  
  .service-card {
    background: #111;
    color: white;
    border: 2px solid #FFD700;
    border-radius: 15px;
    width: 250px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: scale(1.05);
  }
  
  .service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .image-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  
  .image-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #333;
    transition: transform 0.3s ease;
  }
  
  
  .image-gallery img:hover {
    transform: scale(1.1);
    border-color: #FFD700;
  }
  


  .video-slider {
    overflow: hidden;
    padding: 30px 0;
    background: white;
    color: black;
  }
  
  .slider-track {
    display: flex;
    gap: 30px;
    animation: slide 20s linear infinite;
    width: max-content;
  }
  
  .slider-track.paused {
    animation-play-state: paused;
  }
  
  
  .video-card {
    background: #f0f0f0;
    border-radius: 16px;
    padding: 10px;
    min-width: 240px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  video {
    aspect-ratio: 9 / 10; /* TikTok yoki reels-style */
    width: 100%;
    max-height: 500px; /* Istalgan bo‘y */
    object-fit: cover;
    border-radius: 12px;
  }
  
  .video-card p {
    margin-top: 10px;
    font-weight: bold;
    color: #222;
  }
  
  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }


  .video-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: auto;
  }
  
  .slider-track {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
  }
  
  .video-card {
    flex: 0 0 auto;
    width: 300px;
    max-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .video-card video {
    width: 100%;
    height: auto;
    border-radius: 16px 16px 0 0;
    object-fit: cover;
    aspect-ratio: 9 / 16;
  }
  
  .video-card p {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
  }
  
  /* 🔽 Responsive: Mobil ekranlar uchun */
  @media (max-width: 600px) {
    .video-card {
      width: 200px;
    }
  
    .video-card p {
      font-size: 16px;
    }
  }
  

  .site-footer {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 20px;
    font-family: sans-serif;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
  }
  
  .footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .footer-phone {
    font-size: 16px;
  }
  
  .social-icons a {
    margin-right: 15px;
    display: inline-block;
  }
  
  .social-icons img {
    width: 24px;
    height: 24px;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
  }
  
  .design-credit {
    margin-top: 5px;
    color: #aaa;
  }
  
  @media (max-width: 600px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
  
    .social-icons {
      margin-top: 15px;
    }
  }
  