/* CSS específico para páginas de cidades */

/* Hero da Cidade */
.city-hero {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 76px;
}

.city-hero-content {
    color: white;
    text-align: center;
}

.city-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.city-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--rs-yellow);
}

.city-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.info-item i {
    color: var(--rs-yellow);
    margin-right: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
}

.breadcrumb-item a {
    text-decoration: none;
}

/* Seções de Conteúdo */
.content-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.content-section:hover {
    border-color: var(--rs-yellow);
    transform: translateY(-5px);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid var(--rs-yellow);
    padding-bottom: 1rem;
}

.history-content {
    line-height: 1.8;
}

.history-content h4 {
    font-weight: 600;
    border-left: 4px solid var(--rs-red);
    padding-left: 1rem;
}

/* Cards de Atrações */
.attraction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--rs-yellow);
}

.attraction-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

.attraction-type {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-title {
    color: var(--rs-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.attraction-description {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.attraction-info {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-row i {
    margin-right: 0.5rem;
    width: 20px;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    border-color: var(--rs-yellow);
    transform: translateY(-5px);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--rs-yellow);
    padding-bottom: 0.5rem;
}

/* Bandeira da Cidade */
.flag-container {
    padding: 1rem;
}

.city-flag {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 3px solid var(--rs-yellow);
}

.flag-description {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* Lista de Informações */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list .info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.info-list .info-item:last-child {
    border-bottom: none;
}

.info-list .info-item i {
    margin-right: 1rem;
    width: 20px;
    font-size: 1.1rem;
}

/* Características */
.characteristics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.characteristic-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--rs-green), var(--rs-yellow));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.characteristic-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.characteristic-tag i {
    margin-right: 0.5rem;
}

/* Listas */
.gastronomy-list,
.events-list {
    list-style: none;
    padding: 0;
}

.gastronomy-list li,
.events-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.gastronomy-list li:hover,
.events-list li:hover {
    background: var(--light-color);
    padding-left: 1rem;
    border-radius: 5px;
}

.gastronomy-list li:last-child,
.events-list li:last-child {
    border-bottom: none;
}

.gastronomy-list li i,
.events-list li i {
    color: var(--rs-green);
    margin-right: 1rem;
    width: 20px;
}

/* Cidades Relacionadas */
.related-city-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--rs-yellow);
    color: inherit;
    text-decoration: none;
}

.related-city-content h5 {
    color: var(--rs-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.related-city-content p {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .city-title {
        font-size: 2.5rem;
    }
    
    .city-subtitle {
        font-size: 1.2rem;
    }
    
    .city-info {
        gap: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
    
    .attraction-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .city-hero {
        min-height: 50vh;
    }
    
    .city-title {
        font-size: 2rem;
    }
    
    .city-subtitle {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .sidebar-card {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .characteristics {
        justify-content: center;
    }
    
    .characteristic-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animações */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: slideInUp 0.6s ease-out;
}

.sidebar-card {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

/* Efeitos especiais */
.bg-rs-green {
    background-color: var(--rs-green) !important;
}

.bg-rs-yellow {
    background-color: var(--rs-yellow) !important;
}

.bg-rs-red {
    background-color: var(--rs-red) !important;
}



/* Espaços Publicitários */
.ad-space {
    margin: 2rem 0;
}

.ad-banner {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ad-banner:hover {
    border-color: var(--rs-yellow);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-banner-large {
    min-height: 120px;
    max-width: 728px;
    margin: 0 auto;
}

.ad-banner-sidebar {
    min-height: 280px;
    max-width: 300px;
}

.ad-banner-full {
    min-height: 280px;
    max-width: 970px;
    margin: 0 auto;
}

.ad-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: inherit;
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

.ad-placeholder {
    text-align: center;
    color: #6c757d;
}

.ad-placeholder i {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.ad-placeholder p {
    margin: 0.5rem 0;
    font-weight: 600;
}

.ad-placeholder small {
    font-style: italic;
}

/* Responsividade dos anúncios */
@media (max-width: 768px) {
    .ad-banner-large {
        min-height: 100px;
        max-width: 100%;
    }
    
    .ad-banner-full {
        min-height: 200px;
        max-width: 100%;
    }
    
    .ad-content {
        padding: 1rem;
    }
    
    .ad-placeholder i {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .ad-banner-sidebar {
        min-height: 200px;
        max-width: 100%;
    }
    
    .ad-content {
        padding: 1rem;
    }
    
    .ad-placeholder p {
        font-size: 0.9rem;
    }
    
    .ad-placeholder small {
        font-size: 0.8rem;
    }
}

/* Animação para chamar atenção */
@keyframes adPulse {
    0% {
        border-color: #dee2e6;
    }
    50% {
        border-color: var(--rs-yellow);
    }
    100% {
        border-color: #dee2e6;
    }
}

.ad-banner:hover {
    animation: adPulse 2s infinite;
}

/* Estilos para anúncios reais (quando implementados) */
.ad-banner.ad-active {
    border: none;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ad-banner.ad-active:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

