/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #1A3C5A; /* Deep navy for sophistication */
    --secondary: #D4A05E; /* Soft gold for luxury */
    --dark: #0F172A; /* Dark slate for depth */
    --light: #F8FAFC; /* Crisp white for cleanliness */
    --accent: #2D6A6E; /* Muted teal for modern vibrancy */
    --text: #1F2937; /* Neutral dark gray for text */
    --vintage-white: #F1F5F9; /* Soft cool white for background */
    --shadow-color: rgba(0, 0, 0, 0.2);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--vintage-white);
    line-height: 1.8;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--dark);
}
.playfair {
    font-family: 'Playfair Display', serif;
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}
h3 a{
	text-decoration: none;
	color: var(--text)
}
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.btn:hover::after {
    left: 150%;
}
.btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px var(--shadow-color);
    background: var(--secondary);
    color: var(--dark);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}
.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}
section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}
.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient);
    margin: 20px auto;
    border-radius: 3px;
}

/* Header & Navigation */
header {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8));
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s ease;
}
header.scrolled {
    padding: 15px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8));
    box-shadow: 0 8px 25px var(--shadow-color);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.4s ease;
}
.logo:hover {
    transform: scale(1.03);
}
.logo i {
    margin-right: 10px;
    color: var(--primary);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.4s ease;
    position: relative;
}
.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    left: 50%;
    bottom: -6px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}
.nav-links a:hover::before {
    width: 80%;
}
.nav-links a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}
.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px;
    transition: all 0.4s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.367), rgba(0, 0, 0, 0.8)), var(--gradient);
    opacity: 0.7;
    z-index: 0;
}
.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(60px);
    animation: heroFadeIn 1.5s ease forwards 0.5s;
    position: relative;
    z-index: 1;
}
@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 25px;
    color: var(--light);
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Featured Cars Carousel */
.featured-cars a {
	text-decoration: none;
	color:black;
}
        .featured-cars {
            background: linear-gradient(to bottom, var(--light), var(--vintage-white));
            position: relative;
            overflow: hidden;
        }

        .cars-carousel {
            position: relative;
            overflow: hidden;
            width: 100%;
            padding: 20px 0;
        }

        .cars-slides {
            display: flex;
            width: 200%;
            animation: slideLeft 30s linear infinite;
        }

        .cars-slides:hover {
            animation-play-state: paused;
        }

        @keyframes slideLeft {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }

        .car-card {
            flex: 0 0 calc(20% - 20px);
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 12px 35px var(--shadow-color);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            margin: 0 10px;
            opacity: 0;
            transform: scale(0.9) translateY(50px);
        }

        .car-card.visible {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .car-card:hover {
            transform: translateY(-18px) scale(1.04);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .car-image {
            height: 240px;
            overflow: hidden;
            position: relative;
        }

        .car-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.9s ease;
        }

        .car-card:hover .car-image img {
            transform: scale(1.2) rotate(3deg);
        }

        .car-details {
            padding: 28px 25px;
        }

        .car-details h3 {
            font-size: clamp(1.4rem, 2.8vw, 1.7rem);
            margin-bottom: 12px;
            color: var(--dark);
        }

        .car-specs {
            display: flex;
            justify-content: space-between;
            margin: 18px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: 12px 0;
        }

        .spec {
            text-align: center;
            transition: transform 0.4s ease;
        }

        .spec:hover {
            transform: scale(1.15);
        }

        .spec i {
            color: var(--secondary);
            font-size: clamp(1.1rem, 2.2vw, 1.3rem);
            margin-bottom: 6px;
        }

        .spec span {
            display: block;
            font-size: clamp(0.85rem, 1.9vw, 1rem);
            color: #666;
        }

        .car-price {
            font-size: clamp(1.4rem, 2.8vw, 1.7rem);
            color: var(--primary);
            font-weight: 700;
            margin: 16px 0;
            text-align: center;
        }

/* About Section */
.about {
  background: linear-gradient(to bottom, var(--vintage-white), var(--dark));
  color: var(--light);
  z-index: 1;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 30px;
}
.about-content {
  flex: 1;
  padding-right: 30px;
}
.about-image {
  flex: 1;
  height: clamp(300px, 50vw, 500px);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--shadow-color);
  transform: scale(0.95);
  transition: transform 0.8s ease;
}
.about-image.visible {
  transform: scale(1);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-image:hover img {
  transform: scale(1.15);
}
.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat {
  flex: 1;
  min-width: 100px;
  transition: transform 0.5s ease;
}
.stat:hover {
  transform: translateY(-10px);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--vintage-white);
  margin-bottom: 8px;
}
.stat-label {
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light);
}

/* Reviews Section */
.reviews {
    background: var(--dark);
    color: white;
    position: relative;
}
.reviews h2 {
    color: white;
}
.reviews-container {
    display: flex;
    overflow-x: hidden;
    position: relative;
    height: clamp(250px, 40vw, 300px);
}
.review-slide {
    min-width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: all 0.8s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(50px);
}
.review-slide.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}
.review-text {
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}
.review-text:before, .review-text:after {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
}
.review-text:before {
    content: '"';
    top: -20px;
    left: 0;
}
.review-text:after {
    content: '"';
    bottom: -30px;
    right: 0;
}
.review-author {
    font-weight: 600;
    margin-top: 20px;
    color: var(--secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.review-rating {
    color: var(--secondary);
    margin: 10px 0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}
.review-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.4s ease;
}
.review-dot:hover {
    transform: scale(1.3);
    background: var(--secondary);
}
.review-dot.active {
    background: var(--gradient);
    transform: scale(1.3);
}

/* ===== TIMELINE ENHANCED ===== */
.collection {
  background: linear-gradient(to bottom, var(--vintage-white), #f0f8ff);
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Vertical Line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--gradient);
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 0;
}

/* Timeline Item */
.timeline-item {
  width: 46%;
  padding: 30px;
  position: relative;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
  z-index: 1;
  margin-bottom: 60px;
}

.timeline-item.visible {
  opacity: 1;
  transform: scale(1);
}

/* Odd items on left, even on right */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

/* Circle Dot */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border: 4px solid var(--secondary);
  border-radius: 50%;
  top: 30px;
  transition: all 0.4s ease;
  z-index: 2;
}

.timeline-item:hover::after {
  transform: scale(1.3);
  box-shadow: 0 0 25px rgba(212, 160, 94, 0.5);
}

.timeline-item:nth-child(odd)::after {
  right: -14px;
}

.timeline-item:nth-child(even)::after {
  left: -14px;
}

/* Content Card */
.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Year Label */
.timeline-year {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* Image */
.timeline-image {
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.timeline-content:hover .timeline-image img {
  transform: scale(1.1);
}

/* Responsive: Mobile & Tablet */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    left: 0 !important;
    text-align: left;
  }

  .timeline-item::after {
    left: 20px !important;
    right: auto;
  }

  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 20px;
  }

  .timeline-year {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    width: 4px;
  }

  .timeline-item::after {
    width: 24px;
    height: 24px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    padding-left: 45px;
  }

  .timeline-year {
    font-size: 1.2rem;
  }

  .timeline-content h3 {
    font-size: 1.3rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item::after {
    left: 10px;
    width: 20px;
    height: 20px;
  }
}
/* Contact Section */
.contact {
    background: var(--gradient);
}
.contact-container {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
}
.contact-info {
    flex: 1;
    background: var(--dark);
    color: white;
    padding: 30px;
}
.contact-info h3 {
    color: white;
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}
.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}
.contact-detail:hover {
    transform: translateX(10px);
}
.contact-detail i {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--secondary);
    margin-right: 15px;
}
.contact-form {
    flex: 1;
    padding: 30px;
}
.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    transition: all 0.4s ease;
    color: var(--accent);
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--primary);
    transform: translateY(-6px);
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(26, 60, 90, 0.2);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.footer-col h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}
.footer-col p {
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 10px;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    transition: all 0.4s ease;
}
.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-6px) rotate(360deg);
}
.newsletter-form {
    display: flex;
    margin-top: 15px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.newsletter-form button {
    padding: 12px 15px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.4s ease;
}
.newsletter-form button:hover {
    background: var(--secondary);
}
.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: #bbb;
}

/* Utility Classes */
.text-center {
    text-align: center;
}
.text-primary {
    color: var(--primary);
}
.text-secondary {
    color: var(--secondary);
}
.mt-20 {
    margin-top: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}
.animate-scale {
    opacity: 0;
    transform: scale(0.95) translateY(40px);
    transition: all 0.8s ease;
}
.animate-scale.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Policy & Info Pages (Privacy, Terms, Return, Shipping, Financing) */
.policy, .financing {
    line-height: 1.9;
    color: var(--text);
}
.policy p, .policy ul,
.financing p, .financing ul {
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}
.policy h3, .financing h3 {
    margin: 30px 0 15px;
    color: var(--primary);
}
.policy ul, .financing ul {
    list-style: disc;
    padding-left: 25px;
}
.loan-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}
.option {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: transform 0.5s ease;
}
.option:hover {
    transform: translateY(-10px);
}
.option h3 {
    color: var(--primary);
    margin-bottom: 15px;
}
.option .rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 10px 0;
}
.shipping-process {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
}
.step {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: transform 0.5s ease;
}
.step:hover {
    transform: translateY(-10px);
}
.step-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.step h3 {
    color: var(--primary);
    margin-bottom: 10px;
}
.contact-box {
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

/* ================= SINGLE VEHICLE PAGE ================= */
.vehicle {
  padding: 3rem 1rem;
  background: #fff;
}

.vehicle .container {
  max-width: 90%;
  margin: 0 auto;
  margin-top: 100px;
  padding: 0 1rem;
}

.vehicle-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ================= GALLERY ================= */
.vehicle-main {
  position: relative;
}

.main-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

.main-image img {
  width: 100%;
  height: auto;
  max-height: 80vh; /* nu depășește ecranul */
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
}

.gallery-nav button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.gallery-nav button:hover {
  background: rgba(0,0,0,0.7);
}

/* Thumbnails */
.image-thumbnails {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}

.thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.thumb.active,
.thumb:hover {
  border-color: #0073e6;
}

/* ================= VEHICLE INFO ================= */
.vehicle-info {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vehicle-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.vehicle-price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0073e6;
  margin-bottom: 1rem;
}

.vehicle-description {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.vehicle-specs {
  display: grid;
  gap: 0.8rem;
}

.spec-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #333;
}

.spec-item i {
  margin-right: 0.6rem;
  color: var(--secondary);
}

/* ================= INQUIRY FORM ================= */
.inquiry-form {
  margin-top: 3rem;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.inquiry-form h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.inquiry-form p {
  color: #555;
  margin-bottom: 1.5rem;
}

.inquiry-form form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0073e6;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.form-response {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #0073e6;
}

/* ================= FULLSCREEN CAROUSEL ================= */
.carousel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.carousel.active {
  display: flex;
}

.carousel img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.carousel-nav,
.carousel-close {
  position: absolute;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.8rem;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-nav:hover,
.carousel-close:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }
.carousel-close { top: 30px; right: 30px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .vehicle-container {
    grid-template-columns: 1fr;
  }

  .vehicle-info {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .thumb img {
    width: 60px;
    height: 45px;
  }

  .btn {
    width: 100%;
  }

  .vehicle-info h2 {
    font-size: 1.6rem;
  }
}

/* === Catalog Section === */
.catalog {
    padding: 80px 20px;
    background-color: #f5f5f5;
    font-family: 'Arial', sans-serif;
}

.catalog .section-title {
  margin-top: 60px;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #222;
}

/* === Filters === */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.filter select,
.filter input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.filter input::placeholder {
    color: #aaa;
}

/* === Vehicle Grid === */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* === Vehicle Card === */
.vehicle-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* === Vehicle Image === */
.vehicle-image img {
    width: 100%;
    display: block;
    height: 200px;
    object-fit: cover;
}

/* === Vehicle Details === */
.vehicle-details {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
}

.vehicle-details h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.vehicle-details h3 a:hover {
    color: var(--primary);
}

.vehicle-details p {
    font-size: 14px;
    color: #555;
    flex: 1;
    margin-bottom: 10px;
}

.vehicle-price {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vehicle-specs i {
    color: var(--secondary);
}

/* === View Button === */
.view-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.view-btn:hover {
    background-color: var(--secondary);
}

/* === Back to Top Button === */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#backToTopBtn i {
    font-size: 18px;
}

/* === No Vehicles Message === */
.no-cars {
    text-align: center;
    font-size: 18px;
    color: #666;
    grid-column: 1 / -1;
}

/* Mission & Values */
.mission {
    background: var(--dark);
    padding: 80px 0;
    position: relative;
}
.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.mission h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--light);
}
.mission p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #555;
    margin-bottom: 25px;
}
.values {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}
.value {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    transition: transform 0.5s ease;
}
.value:hover {
    transform: translateY(-10px);
}
.value i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.value h3 {
    margin-bottom: 10px;
    color: var(--dark);
}
.value p {
    color: #ababab;
    font-size: 0.95rem;
}

/* Map Section */
.map {
    background: var(--dark);
    padding: 80px 0;
}
.map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .car-card {
        flex: 0 0 calc(25% - 20px);
    }
}
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .contact-container {
        flex-direction: column;
    }
    .timeline:before {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd):after,
    .timeline-item:nth-child(even):after {
        left: 20px;
    }
    .car-card {
        flex: 0 0 calc(33.33% - 20px);
    }
    .vehicle-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        flex-direction: column;
        background: var(--dark);
        align-items: center;
        justify-content: center;
        transition: right 0.6s ease;
        z-index: 100;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        margin: 20px 0;
    }
    .hamburger {
        display: block;
        z-index: 200;
    }
    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(6px, 8px);
    }
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -8px);
    }
    .hero h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .car-card {
        flex: 0 0 calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .car-card {
        flex: 0 0 calc(100% - 20px);
    }
    .section-title {
        font-size: clamp(1.8rem, 4vw, 2rem);
    }
    .container {
        padding: 0 10px;
    }
    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }
    .hero p {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    .btn {
        padding: 10px 20px;
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
}