/* Variáveis de Tema */
:root {
    --primary: #1a4b8c;
    --secondary: #ff6b35;
    --light: #f7f7f7;
    --dark: #333333;
    --gray: #6c757d;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Estrutura Geral */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Estilo base para o dropdown */
.nav-item {
  position: relative;
}

/* Seta para baixo (Feita com CSS) */
.nav-item > .nav-link::after {
  content: "▼";
  font-size: 12px;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s;
}

/* Gira a seta quando o dropdown está ativo */
.nav-item:hover > .nav-link::after {
  transform: rotate(180deg);
}

/* Estilização do dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  min-width: 200px;
  z-index: 1000;
  padding: 0;
  list-style: none; /* Remove as bolinhas */
}

/* Links dentro do dropdown */
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.3s;
}

/* Hover no dropdown */
.dropdown-menu a:hover {
  background: var(--primary);
  color: white;
}

/* Exibir o dropdown ao passar o mouse (para desktop) */
.nav-item:hover .dropdown-menu {
  display: block;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: none;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.btn {
    background-color: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #123a6f;
}

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

.btn-secondary:hover {
    background-color: #e55a2a;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: 0.4s;
}

/* Hero */

 .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("imagens/hero3.jpg") center/cover no-repeat;
    color: white;
    text-align: center;
    }
        
    .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    }
        
    .hero h1 {
    font-size: 3rem;
    margin-top: 5rem;
	margin-bottom: 1rem;
    }
        
    .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    }
        
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    }


/* Seções Gerais */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Destinos */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.destination-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem;
    color: white;
}

/* Depoimentos */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
}

/* Call To Action */
.cta {
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Página Interna Header */
.page-header {
    padding-top: 120px;
    padding-bottom: 50px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('imagens/onibus_page_header.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: #ddd;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

/* Página Interna Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.main-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.widget-links {
    list-style: none;
}

.widget-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light);
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.widget-link:hover {
    color: var(--secondary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    color: #ddd;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: block;
    color: white;
    background-color: #444;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--secondary);
}

.copyright {
    text-align: center;
    border-top: 1px solid #555;
    padding-top: 2rem;
    color: #aaa;
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 2rem;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

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

    .hero-btns {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

.tarifa-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.tarifa-form label {
  flex: 1 1 100%; /* quebra para linha inteira */
}

.tarifa-form select,
.tarifa-form .btn {
  flex: 1 1 100%; /* ocupa largura inteira no mobile */
  padding: 10px;
  font-size: 16px;
}

/* No desktop: lado a lado */
@media (min-width: 768px) {
  .tarifa-form {
    flex-wrap: nowrap;
    gap: 15px;
  }

  .tarifa-form label {
    flex: 0 0 auto; /* volta ao tamanho normal */
  }

  .tarifa-form select {
    flex: 1; /* distribui bem */
  }

  .tarifa-form .btn {
    flex: 0 0 auto;
  }
}


.tarifa-form input {
  padding: 0.7rem;
  border: 1px solid var(--gray);
  border-radius: 5px;
  flex: 1;
  min-width: 200px;
}

.tarifa-resultado {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tarifa-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.tarifa-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tarifa-card p {
  margin: 0.3rem 0;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0; /* valor inicial, será corrigido via JS */
    right: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

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

  .hero-btns {
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}
