body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #DCEFFF;
    width: min-content;
}

/* Header Styles */
header {
    background-color: rgba(64, 0, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1{
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

li{
    padding: 1px;
}
a{
    text-decoration: none;
}

span{
    font-size: 12px;
    font-weight: bold;
}
.menu-nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(64, 0, 255, 0.65);
    height: 63px;
}

.navbar{
    --bs-navbar-padding-y: 0 !important;
    --bs-navbar-brand-margin-end: 0 !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-brand img {
    background-color: #D9D9D9;
    border-radius: 50px;
}

.nav-link {
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 10px 5px;
    background-color: #4000FF;
    align-self: center;
    height: 40px;
}
.link-nav{
    width: 116px;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    background-color: #FF5900;
}

.nav-link i {
    margin-right: 5px;
    align-self: center;
}

.ms-editado{
    margin-left: -0.5rem !important;
}

.navbar-toggler-icon{
    font-size: 27px;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-image: url('imagens/fundo_principal.png');
    background-repeat: no-repeat;
    color: black;
    padding: 80px 0;
    margin-bottom: 40px;
    border-radius: 0 0 30px 30px;
}

.hero h2 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Formulário de busca */
.fundo-principal{
    background-size: 474px;
}
.fundo-input{
    background-color: rgba(64, 0, 255, 0.3);

}
.search-form {
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.trip-type {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.trip-type-btn {
    flex: 1;
    padding: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.trip-type-btn.active {
    background: #FF5900;
    color: #000000;
}

.margem-negativa{
    margin: -20px 0 -40px 0;
}

.altera-destino{
    border: solid 3px #FF5900;
    background-color: rgba(0, 0, 0, 0);
    width: 50px;
    height: 50px;
    border-radius: 50px;
}
.altera-destino:hover{
    background-color: #FF5900;
}
.fa-exchange-alt{
    transform: rotate(90deg);
    color: #FF5900;
}
.fa-exchange-alt:hover{
    color: #ffffff;
    background-color: #FF5900;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 75, 140, 0.25);
}

.input-group-text {
    border: 1px solid #dee2e6;
}

.search-btn {
    background: #FF5900;
    color: black;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.search-btn:hover {
    background: #e56a1a;
    transform: translateY(-2px);
}

/* Cards de Promoção */
.promo-card {
    height: 68px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    color: #fff;
    transition: transform 0.3s;
}
.promo-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}
.promo-overlay {
    padding: 4px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.promo-badge {
    position: absolute;
    bottom: 58px;
    right: 16px;
    background-color: #ffc107;
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    z-index: 500;
}
.promo{
    font-size: 24px;
}

/* Features Section */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgb(69, 38, 83), rgb(43, 36, 45));
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-links h5 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}
.oculto{
    display: none;
}

/* Responsive Adjustments */
@media (min-width: 576px) {
    
}
@media (min-width: 768px) {
    body{
        width: 100%;
    }
    #navbarNav {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 10px;
        z-index: 1000;
    }
    
    #navbarNav .navbar-nav {
        padding: 1rem;
    }
    
    #navbarNav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    #navbarNav .nav-link {
        padding: 0.5rem;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    .menu-nav{
        display: block;
        padding: 0 1rem;
    }
    a.link-nav{
        width: 175px;
    }
    
    /* Garante que o menu fique sobre o conteúdo */
    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        position: absolute;
    }
    .input-reserva-passagem{
        display: flex;
        flex-direction: row;
    }
    .input-menor{
        width: 50%;
    }
    .margem-negativa{
        margin: 0 -20px;
    }
    .fa-exchange-alt{
        transform: rotate(0deg);
    }
    .hero {
        padding: 50px 0;
        border-radius: 0 0 20px 20px;
    }
    .search-form {
        padding: 20px 15px;
        margin-top: 0;
    }
    /*Promoções*/
    .promo-card {
        height: 280px;
        width: auto;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }
    .promo-badge {
        bottom: 220px;
        right: -16px;
        padding: 2px 5px;
        border-radius: 5px;
    }
    .promo-overlay{
        display: flex;
        flex-direction: column;
        position: relative;
        margin: 0 auto;
    }
    .oculto{
        display: block;
        color: #785858;
        border: 1px solid #ffffff;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    li{
        margin: 0 0.5rem;
    }
    .menu-nav{
        display: flex;
        justify-content: initial;
    }
    #navbarNav {
        position:static;
        background-color: none;
    }
    #navbarNav .navbar-nav {
        padding: 0;
    }
    a.link-nav{
        width: 116px;
    }
    .navbar-collapse{
        flex-grow: 0;
    }
    .p-1{
        padding: 0 !important;
    }
    .hero {
        background-size: 80%;
    }
}
@media (min-width: 1440px) {
    a.link-nav{
        width: 175px;
    }
    .hero {
        background-size: 60%;
    }
}
@media (min-width: 1920px) {
    a.link-nav{
        width: 275px;
    }
    .hero {
        background-size: 50%;
    }
}