/*=================================
  VARIÁVEIS CSS (HOME)
=================================*/
:root {
    /* Cores de Texto & Tipografia */
    --home-text-color: #ffffff;
    --hero-cursive-color: #D92A2A;
    --hero-home-title-color: #FFCE00;
    --page-title-color: var(--hero-home-title-color);
    --hero-subtitle-color: #e0d5c1;
    --hero-text-shadow-color: #2A1B12;

    /* Busca & Dropdown de Resultados */
    --search-title-color: var(--page-title-color);
    --search-icon-color: #FFCE00;
    --page-icons-color: var(--search-icon-color);
    --search-input-color: #4a3b32;
    --search-btn-color: #555555;
    --search-btn-hover-color: #8c2a2a;
    --search-dropdown-text-color: #4a3b32;
    --search-dropdown-hover-color: #8c2a2a;
    --search-bg-color: #fdfaf4;
    --search-dropdown-bg: #ffffff;
    --search-dropdown-border: #f0e2ca;

    /* Categorias e Separadores */
    --home-busca-icone-color: var(--page-icons-color);
    --home-busca-icone-color-hover: #ffea99;
    --home-separator-color: rgba(212, 175, 55, 0.3);

    /* Seção Inferior (Rodapé Claro / Bege) */
    --section-card-bg-color: #f6eedf;
    --section-card-text-color: #332721;
    --beige-small-title-color: #8c2a2a;
    --beige-subtitle-color: #8c2a2a;
    --beige-line-color: #8c2a2a;
    --beige-desc-color: #555555;

    /* Fundos Globais da Página */
    --home-bg-color: #2A1B12;
    --home-bg-image: url('https://turismo.arabuta.sc.gov.br/wp-content/uploads/2026/04/pagina-de-inicio-arabuta-1.png');
    --page-bg-color: var(--home-bg-color);
    --page-bg-image: var(--home-bg-image);
}

.gtranslate_wrapper {
    width: 0px;
}

/*=================================
  AJUSTE ADMIN BAR & LAYOUT GERAL
=================================*/
body.admin-bar .site-header-wrapper {
    margin-top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header-wrapper {
        margin-top: 46px !important;
    }
}

.sh-footer,
footer.sh-footer,
.sh-copyrights,
#footer_home,
.custom-footer-banner {
    display: none !important;
}

.home-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.page-layout {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: var(--page-bg-color);
    background-image: var(--page-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1024px) {
    .home-page-dark {
        min-height: calc(100vh - 80px);
    }
}

/*=================================
  SEÇÃO MADEIRA (HERO)
=================================*/
.wood-section {
    width: 100%;
    color: var(--home-text-color);
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
    margin-bottom: 10px;
}

.hero-text-col {
    flex: 1;
    max-width: 650px;
}

.hero-cursive {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 45px;
    color: var(--hero-cursive-color);
    margin: 0 0 -15px 15px;
    font-weight: 700;
    text-shadow: 2px 2px 0 var(--hero-text-shadow-color),
                -1px -1px 0 var(--hero-text-shadow-color),
                 1px -1px 0 var(--hero-text-shadow-color),
                -1px  1px 0 var(--hero-text-shadow-color),
                 1px  1px 0 var(--hero-text-shadow-color),
                 4px  4px 8px rgba(0, 0, 0, 0.8);
}

.hero-gold-title {
    font-family: 'Yellowtail', cursive;
    font-size: 130px;
    color: var(--page-title-color, var(--hero-home-title-color));
    margin: 0 0 15px 0;
    text-shadow: 3px 3px 0 var(--hero-text-shadow-color),
                -1px -1px 0 var(--hero-text-shadow-color),
                 1px -1px 0 var(--hero-text-shadow-color),
                -1px  1px 0 var(--hero-text-shadow-color),
                 1px  1px 0 var(--hero-text-shadow-color),
                 8px  8px 15px rgba(0, 0, 0, 0.9);
    line-height: 1;
    padding-bottom: 10px;
}

.hero-subtitle-text {
    font-size: 18px;
    color: var(--hero-subtitle-color);
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-img-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-golden-logo {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
    transform: translateZ(0);
    will-change: transform;
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-12px) translateZ(0);
    }
    100% {
        transform: translateY(0) translateZ(0);
    }
}

/*=================================
  BUSCA E CATEGORIAS
=================================*/
.search-categories-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}

.search-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.search-title {
    font-family: 'Playfair Display', serif;
    color: var(--page-title-color, var(--search-title-color));
    font-size: 25px;
    letter-spacing: 1.5px;
    margin: 0;
}

.gold-ornament {
    color: var(--page-icons-color, var(--search-icon-color));
    font-size: 14px;
}

.home-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-bottom: 15px;
}

.home-search-form {
    display: flex;
    background: var(--search-bg-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 5px;
}

.home-search-form input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    color: var(--search-input-color);
    outline: none;
    background: transparent;
    font-style: italic;
}

.home-search-form button {
    background: transparent;
    color: var(--search-btn-color);
    border: none;
    padding: 0 25px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.home-search-form button:hover {
    color: var(--search-btn-hover-color);
}

.home-busca-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: var(--search-dropdown-bg);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 100;
    text-align: left;
    animation: slideDown .3s ease forwards;
}

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

.home-busca-item {
    display: block;
    padding: 16px 25px;
    color: var(--search-dropdown-text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--search-dropdown-border);
    font-size: 15px;
    transition: background 0.2s;
}

.home-busca-item:hover {
    background: var(--search-bg-color);
    color: var(--search-dropdown-hover-color);
}

.home-busca-item i {
    margin-right: 12px;
    color: var(--page-icons-color, var(--home-busca-icone-color));
}

/* Categorias Douradas Inline */
.gold-categories-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gold-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--page-icons-color, var(--home-busca-icone-color));
    transition: 0.3s;
    padding: 10px;
}

.gold-cat:hover {
    color: var(--home-busca-icone-color-hover);
    transform: translateY(-3px);
}

.gold-cat i {
    font-size: 32px;
    margin-bottom: 10px;
}

.gold-cat span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gold-separator {
    width: 1px;
    height: 40px;
    background-color: var(--home-separator-color);
}

/*=================================
  DIVISOR E ESPAÇADOR
=================================*/
.torn-paper-divider-spacer {
    flex: 1;
}

.torn-paper-divider {
    width: 100%;
    height: 40px;
    background-color: var(--section-card-bg-color, #f6eedf);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon fill='%23000' points='0,100 100,100 100,50 95,60 90,40 85,70 80,45 75,65 70,30 65,55 60,40 55,75 50,45 45,65 40,30 35,50 30,40 25,60 20,45 15,65 10,40 5,60 0,50'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon fill='%23000' points='0,100 100,100 100,50 95,60 90,40 85,70 80,45 75,65 70,30 65,55 60,40 55,75 50,45 45,65 40,30 35,50 30,40 25,60 20,45 15,65 10,40 5,60 0,50'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    margin-top: -38px;
    position: relative;
    z-index: 10;
}

/*=================================
  SEÇÃO CLARA INFERIOR (BEGE)
=================================*/
.beige-section {
    background-color: var(--section-card-bg-color, #f6eedf) !important;
    padding: 20px 0 50px 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    color: var(--section-card-text-color, #332721) !important;
    margin-bottom: 0 !important;
}

.beige-section .beige-main-title,
.beige-section .beige-subtitle {
    color: var(--section-card-text-color, #332721) !important;
}

.beige-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.sketch-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sketch-img {
    max-width: 70%;
    height: auto;
    opacity: 0.8;
}

.beige-center-text {
    flex: 2;
    text-align: center;
}

.beige-small-title {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    color: var(--beige-small-title-color, #8c2a2a);
    margin: 0;
}

.beige-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--section-card-text-color, #332721);
    margin: -5px 0 5px 0;
    letter-spacing: -1px;
}

.beige-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.red-line {
    width: 50px;
    height: 1px;
    background-color: var(--beige-line-color, #8c2a2a);
}

.beige-subtitle {
    font-size: 18px;
    color: var(--beige-subtitle-color, #8c2a2a);
    margin: 0;
    font-weight: 600;
}

.beige-desc {
    font-size: 14px;
    line-height: 1.4;
    color: var(--beige-desc-color, #555555);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/*=================================
  RESPONSIVO
=================================*/
@media (max-width: 1050px) {
    .wood-section .hero-split .hero-text-col {
        display: none !important;
    }
    .hero-split .hero-img-col img {
        padding-top: 15px;
    }
}

@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-gold-title {
        font-size: 90px;
    }

    .beige-content-wrapper {
        position: relative;
        flex-direction: column;
        text-align: center;
        padding: 40px 10px 60px 10px;
    }

    .sketch-col:first-child {
        position: absolute;
        top: 0;
        left: 0;
        width: 90px;
    }

    .sketch-col:last-child {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 90px;
    }

    .sketch-col .sketch-img {
        max-width: 100%;
    }
}

@media (max-width: 820px) {
    .gold-cat {
        font-size: 10px;
    }

    .search-title h3 {
        font-size: 25px;
    }

    .gold-separator {
        height: 20px;
    }
}

@media (max-width: 768px) {
    .hero-gold-title {
        font-size: 70px;
    }

    .hero-cursive {
        font-size: 45px;
    }

    .gold-separator {
        display: none;
    }

    .gold-categories-inline {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .beige-main-title {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    #header-mobile .sh-header-mobile-navigation .container {
        transform: translatex(0px) translatey(0px);
    }
    .wood-section .hero-split {
        padding-top: 24px;
    }
    .wood-section .search-categories-section {
        padding-bottom: 37px;
    }
}

@media (min-width: 1250px) {
    #page-container #wrapper .sh-page-layout-default .entry-content {
        width: 100vw !important;
    }
}

/*=================================
  PORTAL GENÉRICO
=================================*/
.portal-generic-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    background: transparent !important;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex: 1 0 auto;
}

.portal-main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.portal-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

@media (max-width: 990px) {
    .portal-container {
        padding: 0 16px !important;
    }
}

@media (max-width: 640px) {
    .portal-container {
        padding: 0 8px !important;
    }
}