/* Estilos Gerais */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header e Navegação */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

/* Cards e Elementos */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
}

.card-body {
    padding: 1rem;
}

.city-card .card-img-top, 
.poi-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.8em;
}

/* Hero Section - Design Cinematográfico */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    margin-bottom: 0;
    padding: 0;
    background: #000;
}

/* Container de vídeo e imagem de fundo */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
    will-change: transform; /* Otimização de performance */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Começa invisível */
    transform: scale(1.05);
    z-index: 0; /* Abaixo do vídeo */
    animation: heroImageZoom 20s infinite alternate ease-in-out;
    transition: opacity 0.5s ease; /* Transição suave quando o fallback é ativado */
}

@keyframes heroImageZoom {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Gradiente de sobreposição */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

/* Conteúdo do Hero */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 15px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span {
    display: block;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-action {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.hero-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 30px rgba(var(--bs-primary-rgb), 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--bs-primary-rgb), 0.6);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.hero-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Cards de destinos em destaque - Removido */
.featured-destinations,
.destination-card,
.destination-card img,
.destination-card:hover img,
.destination-card-content,
.destination-card-title {
    /* Estas classes não são mais necessárias */
    display: none;
}

/* Stats móvel para a parte inferior */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    z-index: 3;
    animation: fadeInUp 0.8s ease 1s both;
}

.hero-stats-item {
    text-align: center;
}

.hero-stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.hero-stats-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 3rem;
        max-width: 600px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 85vh;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-action {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .hero-stats-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-stats-value {
        font-size: 1.5rem;
    }
    
    .hero-stats-label {
        font-size: 0.7rem;
    }
}

/* Map Section - Ajustado para o novo design */
.home-map-container {
    margin-top: 3rem;
}

.home-map {
    height: 350px;
    width: 100%;
    border-radius: 0.25rem;
}

/* Elementos do Mapa */
#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.home-map {
    height: 350px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-map-container {
    position: relative;
    z-index: 1;
}

.map-marker-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px;
    background-color: #ff5722;
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    border: 3px solid white;
    font-size: 16px !important;
    text-align: center;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.map-marker-icon:hover {
    transform: rotate(45deg) scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.map-marker-icon i {
    transform: rotate(-45deg);
}

.map-popup {
    max-width: 250px;
    padding: 5px;
}

.map-popup h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.map-popup img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 8px;
}

.map-popup p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.map-popup .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    color: white;
}

.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.custom-popup .leaflet-popup-tip {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Estilo para o marcador de localização atual */
.current-location-marker {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    background-color: #2979FF;
    color: white;
    box-shadow: 0 0 0 8px rgba(41, 121, 255, 0.3);
    border: 3px solid white;
    font-size: 16px !important;
}

/* Carrossel de Imagens */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 15px;
    bottom: 20px;
}

/* Avaliações */
.review-card {
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
}

.rating {
    color: var(--accent-color);
}

/* Formulários */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Seção de Estatísticas */
.stats {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin: 1.5rem 0;
    border-radius: 8px;
    text-align: center;
}

.stats .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stats .stat-label {
    font-size: 1rem;
}

/* Itinerários */
.itinerary-day {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

.itinerary-point {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .carousel-item img {
        height: 250px;
    }
    
    .stats .stat-number {
        font-size: 2rem;
    }
}

/* Efeito de pulso para localização atual */
.pulse-container {
    background: transparent !important;
}

.pulse-effect {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(41, 121, 255, 0.4);
    opacity: 1;
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Estilos adicionais para a seção hero */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Ajustes para o footer da página */
footer.mt-5 {
    margin-top: 3rem !important;
}

/* Formulário de busca no hero */
.hero-search-container {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.5s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search-form .input-group {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-search-form .input-group:focus-within {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.hero-search-input {
    border: none !important;
    background-color: transparent !important;
    color: white !important;
    padding: 12px 20px !important;
    font-size: 1rem;
    border-radius: 50px 0 0 50px !important;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-search-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.hero-search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0 !important;
    padding: 0 25px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    background-color: #0b5ed7;
}

.hero-search-select {
    background-color: transparent;
    color: white;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 15px;
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='white' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 10px;
    padding-right: 25px;
}

.hero-search-select:focus {
    outline: none;
}

.hero-search-select option {
    background-color: #343a40;
    color: white;
}

@media (max-width: 767.98px) {
    .hero-search-input {
        padding: 10px 15px !important;
        font-size: 0.9rem;
    }
    
    .hero-search-btn {
        padding: 0 15px;
    }
    
    .hero-search-select {
        padding: 0 10px;
        font-size: 0.8rem;
        background-position: right 8px center;
        padding-right: 20px;
    }
}

/* ==============================================
   ESPAÇOS PARA ANÚNCIOS
   ============================================== */
.anuncio {
    width: 100%;
    overflow: hidden;
    clear: both;
}

.anuncio-topo,
.anuncio-rodape,
.anuncio-meio,
.anuncio-final {
    min-height: 90px;
}

.anuncio-lateral {
    min-height: 250px;
}

/* Marcadores Personalizados do Mapa */
.google-pin-container {
    background: transparent;
    border: none;
}

.google-map-pin {
    width: 25px;
    height: 41px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="41" viewBox="0 0 25 41"><path fill="%2326A7DE" d="M12.5 0C5.596 0 0 5.596 0 12.5c0 1.886.543 3.746 1.516 5.357 4.218 6.817 10.984 17.9 10.984 17.9s6.766-11.083 10.984-17.9C24.457 16.246 25 14.386 25 12.5 25 5.596 19.404 0 12.5 0zM12.5 17c-2.485 0-4.5-2.015-4.5-4.5s2.015-4.5 4.5-4.5 4.5 2.015 4.5 4.5-2.015 4.5-4.5 4.5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Anúncios */
.anuncio {
    width: 100%;
    overflow: hidden;
    clear: both;
} 