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

.form-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #eadfce;
  font-family: 'Inter', sans-serif;
}

.success-msg {
  text-align: center;
  background: #f2e6d8;
  color: #6d5b45;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
} 

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fffdf8;
  color: #2b2b2b;
  line-height: 1.6;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee3d2;
  z-index: 1000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #8a7356;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #8a7356;
}


.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.3)),
    url('.//Images/main_cars.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-panel {
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.2);

  border-radius: 24px;

  padding: 50px;

  max-width: 700px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  line-height: 0.95;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.95);
  max-width: 550px;
}


.btn-group {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.btn-primary {
  background: #f2e6d8;
  color: #3a2f24;
}

.btn-primary:hover {
  background: #e5d3be;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* GENERAL SECTION */

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  color: #6d5b45;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.2rem;
  color: #8a7356;
}


.cars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.car-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  transition: 0.35s ease;
}

.car-card:hover {
  transform: translateY(-8px);
}

.car-card img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.car-content {
  padding: 35px;
}

.car-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: #4a3c2d;
  margin-bottom: 10px;
}

.car-content p {
  color: #6d5b45;
  margin-bottom: 20px;
  max-width: 700px;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #8a7356;
}


.product-page {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-top: 140px;
}

.gallery {
  margin-left: 60px;
  margin-bottom: 60px;
  flex: 1;
}

.main-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 20px;
}

.thumbnails {
  display: flex;
  gap: 15px;
}

.thumbnails img {
  width: 110px;
  height: 85px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.thumbnails img:hover {
  opacity: 0.8;
  border-color: #d9c5ad;
}

.car-info {
  flex: 1;
  position: sticky;
  top: 130px;
}

.car-info h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 20px;
  color: #4a3c2d;
}

.car-info .price {
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.car-info p {
  color: #6d5b45;
  margin-bottom: 25px;
}

.specs {
  margin: 35px 0;
  border-top: 1px solid #eadfce;
  border-bottom: 1px solid #eadfce;
  padding: 25px 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  color: #5c4c3b;
  border-bottom: 1px solid #f2e6d8;
}

.spec-item:last-child {
  border-bottom: none;
}


.about {
  background: #f8f3ea;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: #6d5b45;
  margin-bottom: 25px;
}

.about-text p {
  color: #6d5b45;
  margin-bottom: 20px;
}


footer {
  background: #efe5d6;
  padding: 45px 0;
  text-align: center;
  color: #5c4c3b;
}


@media (max-width: 992px) {

  .product-page {
    flex-direction: column;
  }

  .car-info {
    position: relative;
    top: 0;
  }

  .main-image {
    height: 500px;
  }

  .car-card img {
    height: 500px;
  }
}

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    gap: 15px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 120px 0 60px;
    height: auto;
  }

  .hero-panel {
    padding: 35px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .section-title h2 {
    font-size: 3rem;
  }

  .car-info h1 {
    font-size: 3rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-image {
    height: 380px;
  }

  .car-card img {
    height: 380px;
  }

  .thumbnails {
    flex-wrap: wrap;
  }

  .thumbnails img {
    width: 90px;
    height: 70px;
  }
}

@media (max-width: 480px) {

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-panel {
    padding: 25px;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .car-content {
    padding: 25px;
  }

  .car-content h3 {
    font-size: 2rem;
  }

  .about-text h2 {
    font-size: 2.5rem;
  }
}
