html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f2f5f9;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  border-bottom: 2px solid #000000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-right: 15px;
}

nav a {
  text-decoration: none;
  color: black;
  font-size: 15px;
}

.login-button, .cta-button {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  border: 2px solid black;
  text-align: center;
  line-height: 1.2;
}

.login-button {
  background-color: white;
  color: black;
}

.login-button:hover {
  background-color: black;
  color: white;
}

.cta-button {
  background-color: black;
  color: white;
}

.cta-button:hover {
  background-color: white;
  color: black;
}

#user-nav .cta-button {
  padding: 5px 12px;
  font-size: 13px;
}

.catalog1-button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.catalog1-button:hover {
  background-color: white;
  color: black;
}

main {
  margin: 0;
  padding: 0;
}

section.hero {
  text-align: center;
  padding: 60px 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

section.hero h1 {
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 20px;
}

section.hero p {
  font-size: 26px;
  margin-bottom: 30px;
  color: #333;
}

section.hero .cta-button {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
}

.full-width-image {
  width: 70vw;
  height: 70vh;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.info {
  position: relative;
  padding: 60px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  overflow: hidden;
  max-width: 90vw;
  margin: 40px auto;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.Carsharing-easy {
  text-align: center;
}

.content {
  position: relative;
  z-index: 1;
  color: #000;
  line-height: 1.8;
  font-size: 20px;
  max-width: 100%;
  text-align: left;
}

.car-catalog {
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
  text-align: center;
}

.car-catalog h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.catalog-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: bold;
}

.car-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.car-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.car-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.how-to-use {
  padding: 60px 20px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto 40px;
  border-radius: 20px;
  text-align: center;
}

.how-to-use h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reviews {
  background-color: #fff;
  max-width: 1300px;
  margin: 20px auto;
  border-radius: 12px;
  text-align: center;
}

.reviews h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 45px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

.review-list {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.review-card {
  max-width: 500px;
  text-align: left;
}

footer {
  border-top: 2px solid #000;
  padding: 40px 0 20px;
  background-color: #fff;
  margin-top: 40px;
}

.footer-container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-socials a {
  margin-right: 15px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
}

.contact-button {
  background-color: #000;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.burger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  nav {
    display: none;
  }
  section.hero h1 {
    font-size: 42px;
  }
  .full-width-image {
    width: 90vw;
    height: auto;
  }
}