/* Estilos Gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/serra-gaucha-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    min-height: 75vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cards */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Mapa */
#map {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Filtros */
.form-select, .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.5rem 1rem;
}

.form-select:focus, .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Estatísticas */
.stat-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    color: var(--primary-color);
}

.stat-item h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--dark-color);
}

/* Feature Cards */
.feature-card {
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0,123,255,0.1);
}

.feature-icon i {
    color: var(--primary-color);
}

/* Depoimentos */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Social Links */
.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Botões */
.btn {
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Footer */
footer {
    margin-top: 4rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    #map {
        height: 300px !important;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Utilitários */
.min-vh-75 {
    min-height: 75vh;
}

/* Cores personalizadas */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Estilos do Popup do Mapa */
.roteiro-popup-container {
    margin: 0;
    padding: 0;
}

.roteiro-popup {
    padding: 0;
    margin: -13px -19px;
}

.roteiro-popup-img {
    margin: -1px -1px 10px -1px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-height: 150px;
}

.roteiro-popup-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.roteiro-popup-content {
    padding: 15px;
}

.roteiro-popup h5 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.roteiro-descricao {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.roteiro-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.roteiro-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.roteiro-info i {
    color: var(--primary-color);
}

.roteiro-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roteiro-buttons .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.roteiro-buttons .btn-primary,
.roteiro-popup .btn-primary {
    color: white !important;
}

.roteiro-buttons a.btn-primary {
    color: white !important;
    text-decoration: none;
}

.leaflet-popup-content {
    margin: 13px 19px;
    min-width: 280px !important;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
}

/* Campo de Pesquisa */
.search-box {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.search-box .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.search-box .input-group-text {
    border-color: #dee2e6;
}

.search-box .form-control {
    border-color: #dee2e6;
    font-size: 1rem;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.search-box .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.popular-card {
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popular-card:hover {
    transform: translateY(-5px);
}

.views-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

.views-badge i {
    margin-right: 5px;
}

.destaque-card {
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffd700;
}

.destaque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.destaque-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffd700;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.destaque-badge i {
    margin-right: 5px;
    color: #ff8c00;
}

.destaque-card .card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid #ffd700;
}

/* Estilos para Cards Recentes */
.recent-card {
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--info-color);
}

.recent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recent-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--info-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.recent-badge i {
    margin-right: 5px;
}

.recent-card .card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid var(--info-color);
}

.recent-card .card-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.recent-card .card-text {
    color: var(--secondary-color);
    margin-bottom: 1rem;
} 