/* Estilos gerais */
:root {
    --primary-color: #e6a756;;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.bg-primary{
    --bs-bg-opacity: 1;
    background-color:#092143e6 !important;
}

/* Navbar personalizada */
.navbar-brand {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-header {
    font-weight: 500;
}

/* Botões */
.btn {
    border-radius: 4px;
    font-weight: 500;
}

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

.btn-primary:hover {
    background-color: #092143e6;
    border-color: #0a58ca;
}

/* Formulários */
.form-control {
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
}

/* Pesquisa de viagens */
.search-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Resultados de pesquisa */
.search-result {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.search-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-result .company-logo {
    max-width: 100px;
    max-height: 50px;
}

.search-result .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Detalhes da viagem */
.trip-details {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trip-details .route-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.trip-details .route-info .city {
    font-size: 1.2rem;
    font-weight: 700;
}

.trip-details .route-info .arrow {
    margin: 0 15px;
    color: var(--primary-color);
}

.trip-details .time-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.trip-details .time-info .time {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Métodos de pagamento */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.payment-method {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.1);
}

.payment-method img {
    max-height: 30px;
}

/* Dashboard do passageiro */
.dashboard-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-card .card-body {
    flex: 1;
}

.dashboard-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .search-result .company-logo {
        max-width: 80px;
    }
    
    .search-result .price {
        font-size: 1.2rem;
    }
    
    .trip-details .route-info .city {
        font-size: 1rem;
    }
    
    .trip-details .time-info .time {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Página inicial */
.hero-section {
    background-image: url('../images/0.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
    border-radius: 0 0 10px 10px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.features-section {
    padding: 60px 0;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Avaliações */
.rating {
    color: #ffc107;
}

.rating-summary {
    display: flex;
    align-items: center;
}

.rating-summary .stars {
    margin-right: 10px;
}

.rating-summary .count {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Alertas e notificações */
.alert {
    border-radius: 8px;
}

/* Paginação */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Tooltips */
.tooltip {
    font-size: 0.9rem;
}

/* Modals */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}
