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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f3f4f6;
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  background-color: #000000;
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand a {
  color: #ffffff;
  text-decoration: none;
}

.socials-trigger-btn {
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.socials-trigger-btn:hover {
  background-color: #e5e7eb;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  width: 100%;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #4b5563;
  margin-bottom: 2rem;
}

.cars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.car-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}

.car-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.car-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.car-details {
  padding: 1.25rem;
}

.car-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.car-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #059669;
  margin-top: 0.5rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 1rem;
  max-width: 24rem;
  width: 100%;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 0;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.social-btn:hover {
  opacity: 0.9;
}

.social-btn.snapchat {
  background-color: #fffc00;
  color: #000000;
}

.social-btn.telegram {
  background-color: #229ed9;
}

.social-btn.facebook {
  background-color: #1877f2;
}

.social-btn.instagram {
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}

.social-btn.tiktok {
  background-color: #000000;
  color: #ffffff;
}

.footer {
  background-color: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #1f2937;
  font-size: 0.875rem;
}
