/* ===== BASE & VARIABLES ===== */
:root {
  --white: #ffffff;
  --off-white: #fcfcfc;
  --light-bg: #fafafa;
  --border: #eeeeee;
  --text: #121212;
  --text-light: #555555;
  --accent: #000000;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

.section--tight {
  padding-block: 4rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
  letter-spacing: -0.5px;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 1001;
}

.lang-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.8rem;
}

.nav a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  background: var(--off-white);
}

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

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: #222;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===== FLEET ===== */
.fleet {
  background: var(--white);
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.25rem;
}

.car-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.car-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.car-image {
  height: 180px;
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
}

.car-item > h3,
.car-item > p {
  padding-inline: 1.25rem;
}

.car-item > h3 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.car-item > p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.car-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem 1.5rem;
  margin-top: auto;
}

.price {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}

.price span {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-light);
}

.car-cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.car-cta:hover {
  background: #222;
}

.car-image {
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== LOCATION & CONTACT ===== */
.location,
.contact {
  background: var(--light-bg);
  padding: 100px;
}

.location-text,
.contact-grid {
  max-width: 700px;
  margin-inline: auto;
  
}

.location-text {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.contact-method a,
.contact-method p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.contact-method a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding-block: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .lang-toggle {
    top: 1rem;
    right: 1rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    display: none;
    gap: 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0;
    text-align: center;
    margin: 0;
  }

  .nav a::after {
    display: none;
  }

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

  .section {
    padding-block: 3.5rem;
  }

  .section-title {
    font-size: 1.9rem;
    margin-bottom: 2.25rem;
  }
}