:root {
    --navbar-height: 72px;
    --amarelo-principal: #FFD700; /* Amarelo mais intenso */
    --amarelo-escuro: #FFC800;    /* Para hover */
}

body {
    padding-top: var(--navbar-height);
    background-color: #ffffff;
}

.navbar {
    background-color: #FFE83C !important; /* Forçar cor amarela */
    height: var(--navbar-height);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-dark .navbar-toggler {
    border-color: rgba(0,0,0,0.5); /* Torna o ícone visível */
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link.text-dark {
    color: #000 !important; /* Garantir texto preto */
    font-weight: 500;
}

.wrapper {
    padding-bottom: 100px;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.truncate-3-linhas {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center
}

.titulo-secao {
    margin-bottom: 2rem !important;
}

.card-header {
    padding: 0.75rem 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.card-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333 !important;
    
}

/* Alternador de Destinos */
.card-historia {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.card-historia.active {
    display: block;
    opacity: 1;
}

/* Estilos para o header de Bonito */
.bonito-header {
    border-left: 4px solid var(--amarelo-principal);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.phone-box {
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.phone-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #333 !important;
    text-decoration: none;
}

.text-amarelo {
    color: var(--amarelo-principal) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.text-justify {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bonito-header {
        padding: 1.5rem !important;
    }
    
    .phone-box {
        font-size: 0.9rem;
    }
    
    .text-justify {
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-amarelo {
    background-color: #FFE83C !important;
}

.btn-group .btn-outline-amarelo {
    border: 2px solid #dee2e6;
    color: #333; /* Texto mais visível */
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-group .btn-outline-amarelo:hover {
    background-color: var(--amarelo-principal);
    border-color: var(--amarelo-principal);
    color: #333;
}

.btn-group .btn-outline-amarelo.active {
    background-color: var(--amarelo-principal);
    border-color: var(--amarelo-principal);
    color: #333;
}

.btn-vermais {
    background-color: var(--amarelo-principal);
    color: #333;
    font-weight: 600;
    border: none;
    padding: 8px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-vermais:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--amarelo-principal), var(--amarelo-escuro));
}

.footer-logo {
    height: 40px;
    width: auto;
    transition: all var(--transition-speed) ease;
    filter: brightness(0.9);
}

.footer-logo:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--amarelo-principal);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    color: var(--amarelo-principal);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 0.5rem;
    transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--amarelo-principal);
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .btn-group {
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn-group .btn {
        width: 50%;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 72px; /* Altura da navbar */
        right: -300px; /* Esconde inicialmente */
        width: 300px;
        height: calc(100vh - 72px) !important;
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.4s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .navbar-collapse.show {
        right: 0; /* Mostra o menu */
    }

    /* Backdrop do menu */
    .navbar-backdrop {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .navbar-backdrop.active {
        display: block;
    }

    /* Ajustes nos itens */
    .navbar-nav {
        flex-direction: column !important;
    }

    .nav-item {
        margin: 10px 0;
    }

    .dropdown-menu {
        display: none !important; /* Esconder inicialmente */
        position: static !important;
        border: none;
        background: #f8f9fa;
        margin-left: 15px;
        box-shadow: none;
        padding-top: 0;
    }

    .dropdown-menu.show {
        display: block !important; /* Mostrar quando ativo */
        animation: slideDown 0.3s ease;
    }

    .dropdown-toggle::after {
        margin-left: 10px;
        float: right;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px) }
        to { opacity: 1; transform: translateY(0) }
    }
}