/**
 * CidadeTur BR - Estilos do Assistente de Serviços e Cidade
 */

/* ============================================
   ASSISTENTE DE SERVIÇOS
   ============================================ */

.assistente-section {
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: #669866;
}

.assistente-header {
    background-color: #669866;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.assistente-title-text {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
}

.assistente-dropdown-btn {
    background-color: rgba(224, 224, 224, 0.5);
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.assistente-dropdown-btn:hover {
    opacity: 0.8;
}

.assistente-content {
    background-color: #669866;
}

.assistente-placeholder {
    height: 170px;
    background-color: #BEBEBE;
    margin: 0 15px;
}

/* ============================================
   HEADER DA CIDADE (Nome + UF)
   ============================================ */

.city-info-header {
    padding: 15px 20px 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.city-info-header .city-name {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 2px 0;
    padding: 0;
    line-height: 1.2;
}

.city-info-header .city-uf {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: normal;
    display: block;
}

/* ============================================
   ÁREA DE INFORMAÇÕES DA CIDADE
   ============================================ */

.city-info-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.city-info-left {
    flex-shrink: 0;
}

.city-logo-small {
    width: 85px;
    height: 85px;
    background-color: #BEBEBE;
}

.city-info-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: text-decoration 0.3s;
}

.city-link:hover {
    text-decoration: underline;
}

.city-link.active {
    text-decoration: underline;
}

/* ============================================
   BOTÕES DE NAVEGAÇÃO DA CIDADE
   ============================================ */

.city-nav-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}

.city-nav-btn {
    width: 35px;
    height: 25px;
    background-color: rgba(224, 224, 224, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #ffffff;
    font-size: 14px;
    padding: 0;
}

.city-nav-btn:hover {
    background-color: rgba(224, 224, 224, 0.8);
}

/* ============================================
   EXPANDIR/RECOLHER TODOS
   ============================================ */

.expand-toggle-section {
    padding: 15px 20px;
    text-align: left;
}

.expand-toggle-btn {
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s;
    text-decoration: underline;
}

.expand-toggle-btn:hover {
    opacity: 0.8;
}

.expand-toggle-btn:first-child::after {
    content: " / ";
    text-decoration: none;
    margin: 0 5px;
}

/* ============================================
   SEÇÕES DA CIDADE
   ============================================ */

.city-sections-list {
    margin: 0 15px 15px 15px;
}

.city-sections-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-section-item {
    background-color: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.city-section-title {
    background-color: #FFFFFF;
    color: #5A5A5A;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    padding: 15px 18px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.city-section-title:hover {
    background-color: #F8F8F8;
}

.city-section-title .toggle-icon {
    color: #5A5A5A;
    font-size: 16px;
    transition: transform 0.3s;
}

.city-section-title .toggle-icon.rotated {
    transform: rotate(-180deg);
}

.city-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #F9F9F9;
}

.city-section-content.active {
    max-height: 1000px;
    padding: 15px 20px;
    border-top: 1px solid #ccc;
}

/* ============================================
   CONTEÚDO DAS NOTÍCIAS DENTRO DAS SEÇÕES
   ============================================ */

.city-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.city-news-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    width: 100%;
}

.city-news-image {
    flex-shrink: 0;
}

.city-news-placeholder {
    width: 85px;
    height: 85px;
    background-color: #BEBEBE;
}

.city-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.city-news-title {
    color: #333333;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.city-news-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.city-news-details p {
    color: #666666;
    font-size: 10px;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.city-news-separator {
    width: 100%;
    height: 1px;
    background-color: #E0E0E0;
    margin: 0;
}

.city-news-footer {
    text-align: right;
    padding-top: 15px;
    margin-top: 10px;
}

.city-list-all-btn {
    background-color: transparent;
    border: none;
    color: #FF8C00;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s;
}

.city-list-all-btn:hover {
    opacity: 0.8;
}

.city-section-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 0;
}

/* ============================================
   CONTEÚDO DOS LUGARES DA CIDADE
   ============================================ */

.city-places-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.city-place-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    width: 100%;
}


.city-place-image {
    flex-shrink: 0;
}

.city-place-placeholder {
    width: 85px;
    height: 85px;
    background-color: #BEBEBE;
}

.city-place-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.city-place-title {
    color: #333333;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.city-place-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.city-place-details p {
    color: #666666;
    font-size: 10px;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.city-place-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.city-place-social-link {
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: 1px solid #999999;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.city-place-social-link:hover {
    background-color: #F0F0F0;
    border-color: #666666;
}

.city-places-footer {
    text-align: right;
    padding-top: 15px;
    margin-top: 10px;
}
