:root {
  --primary-color: #004e89; /* Azul Escuro */
  --secondary-color: #ff8c00; /* Laranja */
  --tertiary-color: #f2f2f2; /* Cinza Claro */
  --text-color: #333;
  --light-text-color: #666;
  --white-color: #ffffff;
  --dark-gray-color: #444;
  --box-shadow-light: rgba(0, 0, 0, 0.1);
  --box-shadow-medium: rgba(0, 0, 0, 0.2);
  --red-banner-color: #cc0000;
  --background-color: #f8f9fa;
}

/* Impedir rolagem horizontal e overflow */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  background-image: url('../img/fundo.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

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

/* Header e Navegação */
.header-full-width {
  background-color: #ffc406;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  min-height: 20vh; /* Espaço acima e abaixo da logo */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 0% 0; /* Espaço acima e abaixo da logo */
}

.logo {
  height: 130px;
  max-width: 100%;
}

/* Botão de menu flutuante no celular */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--secondary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.main-nav {
  transition: all 0.3s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-list a {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  padding: 5px 0;
  position: relative;
}

.nav-list a:hover {
  color: var(--primary-color);
}

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

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

/* Esconder o botão Fechar em telas grandes */
.mobile-only {
  display: none;
}

.phone-banner {
  background-color: #cc0000;
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
  font-size: 0.95rem;
  width: 100%;
}

.phone-banner-content {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.phone-banner-content span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-banner-content a {
  color: var(--white-color);
  text-decoration: none;
}

.phone-banner-content i {
  color: var(--white-color);
}

/* Banner Promocional */
.promo-banner {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 15px 0;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 30px 0;
}

/* Classes para mostrar/ocultar em mobile/desktop */
.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-background2.jpg') no-repeat center center/cover;
  color: var(--white-color);
  text-align: center;
  padding: 150px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: #e67e00;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-secondary:hover {
  background-color: #003a63;
  transform: translateY(-2px);
}

/* Reserva Section */
.reserva {
  background-color: var(--white-color);
  padding: 40px;
  margin: -80px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--box-shadow-light);
  z-index: 10;
  position: relative;
  max-width: 1000px;
}

.reserva h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
}

.reserva form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.reserva button[type="button"] {
  width: auto;
  align-self: center;
  margin-top: 20px;
}

#resultado-reserva {
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  padding: 10px;
  border-radius: 5px;
}

/* Veículos Section */
.veiculos {
  padding: 80px 0;
  background-color: var(--background-color);
  text-align: center;
}

.veiculos h2 {
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 40px;
  font-size: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--box-shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--box-shadow-medium);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.card-content .category {
  font-size: 0.9rem;
  color: var(--light-text-color);
  margin-bottom: 10px;
}

.card-prices {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed #eee;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-prices .price-day {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
}

.card-prices .price-total {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary-color);
}
/* Estilo para linha do total e cálculo separado */
.card-prices .price-total .total-text {
  display: block;
  color: var(--secondary-color);
}
.card-prices .price-total .calc-text {
  display: block;
  color: #28a745; /* verde para cálculo */
  font-size: 1rem;
  margin-top: 2px;
}

.btn-card {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

/* Seção de Serviços */
.servicos {
  padding: 80px 0;
  background-color: var(--tertiary-color);
}

.servicos h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
}

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

.servico-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--box-shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--box-shadow-medium);
}

.servico-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.servico-icon {
  background-color: var(--primary-color);
  color: white;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.servico-content {
  padding: 20px;
}

.servico-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.servico-content p {
  color: var(--light-text-color);
  line-height: 1.6;
}

.servicos-cta {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.servicos-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Contato Section */
.contato {
  padding: 80px 0;
  background-color: var(--tertiary-color);
}

.contact-title-black {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
}

.contact-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: #f2f2f2;
  color: #444;
  padding: 30px;
  border-radius: 10px;
}

.contact-info p {
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.contact-info p strong {
  color: var(--primary-color);
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--box-shadow-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 30px 0;
  text-align: center;
}

.phone-banner-footer {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.phone-banner-footer span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-banner-footer a {
  color: var(--white-color);
  text-decoration: none;
}

.phone-banner-footer i {
  color: var(--white-color);
}

/* Responsividade */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Menu responsivo */
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1001;
  }
  
  .mobile-only {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 80px;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }
  
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav-list a {
    display: block;
    padding: 15px 10px;
    font-size: 1.2rem;
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  .overlay.active {
    display: block;
  }
  
  .hero {
    padding: 100px 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .reserva {
    padding: 30px 20px;
    margin-top: -50px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-map {
    height: 250px;
  }

  /* Logo maior no celular */
  .logo {
    height: 140px;
    margin: 10px auto;
    display: block;
  }

  /* Mostrar/ocultar itens da faixa de telefone */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .phone-banner-content, .phone-banner-footer {
    justify-content: center;
    gap: 15px;
  }
  
  /* Espaço acima e abaixo da logo */
  .header-full-width {
    min-height: 30vh;
    padding: 15% 0;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    align-items: center;
  }
  
  .logo {
    height: 140px;
    margin-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  
  .phone-banner-content,
  .phone-banner-footer {
    gap: 15px;
    text-align: center;
  }
  
  .hero {
    padding: 80px 15px;
  }
  
  .reserva {
    padding: 25px 15px;
  }
  
  .reserva h2,
  .veiculos h2,
  .contact-title-black {
    font-size: 1.8rem;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
  
  /* Espaço acima e abaixo da logo */
  .header-full-width {
    min-height: 5vh;
    padding: 5% 0;
  }
}