/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #1e3a7a; /* azul mais claro */
  color: #fff;
  min-height: 100vh;
}

/* ================= HEADER ================= */
header {
  position: sticky;
  top: 0;
  height: 76px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.menu-btn {
  position: absolute;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 4px;
}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: flex-start; /* ligeiramente à direita */
  align-items: center;
  padding-left: 60px; /* ajusta conforme necessário */
}

.logo {
  height: 130px;
  max-width: 400px;
  object-fit: contain;
}

/* ================= SIDEBAR ================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: rgba(20, 40, 90, 0.95);
  backdrop-filter: blur(14px);
  padding: 30px 20px;
  transition: left 0.35s ease;
  z-index: 1100;
}

.sidebar.active {
  left: 0;
}

.sidebar h2 {
  margin-bottom: 30px;
  text-align: center;
}

.sidebar a {
  display: block;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: background 0.25s;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ================= OVERLAY ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= MAIN ================= */
main {
  padding: 25px 16px 60px;
  max-width: 800px;
  margin: auto;
}

/* ================= TITLE ================= */
.catalog-title {
  margin: 20px 0 30px;
  padding: 14px 22px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px); /* mais Liquid Glass */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-size: 22px;
  font-weight: 600;
}

/* ================= CARD ================= */
.car-card {
  margin-bottom: 40px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12); /* reforço Liquid Glass */
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}

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

/* ================= PHOTO ================= */
.photo-area {
  position: relative;
  height: 220px;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07); /* mais Liquid Glass */
  cursor: zoom-in;
}

.car-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.25s;
}

.car-photo:hover {
  transform: scale(1.05);
}

/* ================= ARROWS ================= */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.arrow.left {
  left: 12px;
}

.arrow.right {
  right: 12px;
}

.arrow.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ================= INFO ================= */
.car-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.car-info p {
  font-size: 14px;
  color: #cfd6df;
  margin-bottom: 4px;
}

.price {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #ffcc33;
}

/* ================= ACTIONS ================= */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 18px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(14px);
  transition: transform 0.15s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.whatsapp {
  background: rgba(37, 211, 102, 0.85);
}

.btn.call {
  background: rgba(40, 130, 240, 0.85);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
  .photo-area {
    height: 200px;
  }

  .logo-container {
    padding-left: 20px;
  }

  .logo {
    height: 90px;
  }
}
