body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #030a34;
  color: white;
}

.logo {
  position: fixed;
  top: 10px;
  left: 10px;
  height: 50px;
  z-index: 1000;
}

.home-logo {
  width: 460px;
  max-width: 95%;
  margin-bottom: 25px;
}

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #030a34;
}

.language-box {
  text-align: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.language-box h1 {
  margin-top: 10px;
  font-size: 32px;
  color: #d4af37;
}

.language-box p {
  color: #f5e7d0;
}

.language-box a {
  display: block;
  margin: 12px auto;
  padding: 15px;
  width: 230px;
  background: #b30000;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  border: 1px solid #d4af37;
}

header {
  text-align: center;
  padding: 20px;
  margin-top: 55px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 15px;
}

.car-card {
  text-decoration: none;
  color: white;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}

.car-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.car-card p {
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.car-page {
  padding: 20px;
  margin-top: 60px;
  box-sizing: border-box;
}

.car-page h1 {
  color: #d4af37;
}

.car-main-img {
  width: 100%;
  border-radius: 12px;
}

details {
  background: rgba(0, 0, 0, 0.35);
  margin-top: 15px;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #d4af37;
}

summary {
  font-size: 18px;
  cursor: pointer;
  color: #d4af37;
}

details p {
  line-height: 1.6;
  color: #f5e7d0;
}

.video-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 20px;
  border-radius: 10px;
  color: #f5e7d0;
  border: 1px solid #d4af37;
}

.modelo360-box {
  background: rgba(0, 0, 0, 0.35);
  padding: 15px;
  border-radius: 10px;
  color: #f5e7d0;
  border: 1px solid #d4af37;
}

.modelo360-box p {
  margin-top: 0;
  margin-bottom: 15px;
}

.modelo360 {
  width: 100%;
  height: 500px;
  background: #0b0b0b;
  border-radius: 12px;
  display: block;
}

.btn-carregar-360 {
  background: #b30000;
  color: white;
  border: 1px solid #d4af37;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn-carregar-360:hover {
  background: #d00000;
}

.loading-360 {
  margin: 15px 0;
}

.loading-texto {
  margin-bottom: 8px;
  color: #d4af37;
  font-size: 14px;
}

.loading-barra {
  width: 100%;
  height: 14px;
  background: #333;
  border-radius: 20px;
  overflow: hidden;
}

.loading-progresso {
  width: 0%;
  height: 100%;
  background: #b30000;
  transition: width 0.3s ease;
}

.info {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.35);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #d4af37;
}

.info h2 {
  color: #d4af37;
}

.info p {
  margin: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 25px;
  padding: 14px 24px;

  background: linear-gradient(135deg, #b30000, #700000);
  color: white;

  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;

  border-radius: 14px;
  border: 2px solid #d4af37;

  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.35),
    0 6px 16px rgba(0,0,0,0.4);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.back::before {
  content: "←";
  font-size: 20px;
}

.back:hover {
  transform: translateY(-2px) scale(1.03);

  background: linear-gradient(135deg, #d00000, #8b0000);

  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.55),
    0 10px 22px rgba(0,0,0,0.5);
}

.back:active {
  transform: scale(0.98);
}

.visit-page {
  min-height: 100vh;
  background: #030a34;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.visit-box {
  text-align: center;
  padding: 25px;
  max-width: 600px;
  margin: auto;
  box-sizing: border-box;
}

.visit-box h1 {
  color: #d4af37;
  font-size: 32px;
}

.visit-box p {
  max-width: 500px;
  line-height: 1.6;
  color: #f5e7d0;
  text-align: center;
  margin: 0 auto;
}

.footer {
  width: 100%;
  background: #25203d;
  border-top: 1px solid #d4af37;
  text-align: center;
  padding: 12px 8px;
  font-size: 13px;
  color: #f5e7d0;
  margin-top: auto;
  box-sizing: border-box;
}

.footer p {
  margin: 3px 0;
}

.btn-voltar-carro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
  padding: 16px 26px;
  background: linear-gradient(135deg, #c11212, #7a0000);
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-radius: 14px;
  border: 2px solid #d4af37;
  box-shadow:
    0 0 12px rgba(212, 175, 55, 0.35),
    0 6px 18px rgba(0,0,0,0.45);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  width: fit-content;
}

.btn-voltar-carro::before {
  content: "↩";
  font-size: 22px;
}

.btn-voltar-carro:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #e01919, #930000);
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.55),
    0 10px 24px rgba(0,0,0,0.5);
}

.btn-voltar-carro:active {
  transform: scale(0.98);
}

@media (max-width: 600px) {
  .home-logo {
    width: 360px;
  }

  .language-box h1 {
    font-size: 30px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    font-size: 12px;
    padding: 10px 8px;
  }

  .visit-box h1 {
    font-size: 28px;
  }
}