@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;600;700&display=swap');

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #1a1a1a;
    color: white;
    margin: 0;
    padding: 0;
}

.attractions-container {
    width: 100%;
    height: 100vh;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1)), url('../../assets/backgrounds/background-home-blur.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Sidebar Background */
.attractions-sidebar-bg {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 313px;
    height: 100vh;
    background: rgb(0, 0, 0);
    z-index: 9;
}

.attractions-container .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
}

/* Sidebar Menu */
.attractions-sidebar {
    position: absolute;
    left: 42px;
    top: 130px;
    min-width: 143px;
    width: auto;
    max-width: 271px;
    z-index: 10;
    display: block;
}

.category-btn {
    box-sizing: border-box;
    display: block;
    width: auto;
    min-width: 120px;
    padding: 10px 20px;
    margin-bottom: 18px;
    background: transparent;
    opacity: 0.7;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 90px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    /* Permitir quebra de linha - sem truncamento */
    white-space: normal;
    word-wrap: break-word;
    /* Sem limite de altura - permite expandir conforme necessário */
}

.category-btn:hover {
    opacity: 1;
}

.category-btn.active {
    background: rgba(193, 28, 54, 0.65);
    border: 1px solid rgba(193, 28, 54, 0.7);
    opacity: 1;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content Area */
.attractions-content {
    position: absolute;
    top: 0px;
    left: 313px;
    right: 0;
    width: calc(100% - 313px);
    height: auto;
    padding: 145px 50px 35px 50px;
    background: rgba(0, 0, 0, 0.4);
    overflow: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE e Edge */
}

.attractions-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Content Frame em duas colunas (compatível com ES5 / IE9+) */
.content-frame {
    width: 100%;
    height: auto;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    /* segura os floats */
}

.content-column {
    display: block;
    box-sizing: border-box;
}

.text-column {
    float: left;
    width: 315px;
    max-width: 315px;
    padding-right: 24px;
}

.image-column {
    float: right;
    width: 513px;
    height: 385px;
    position: relative;
}

/* mantém */
.attraction-title {
    display: block;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 12px 0;
    padding: 0;
    word-wrap: break-word;
}

.attraction-description {
    display: block;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.35;
    color: #6F6F6F;
    margin: 12px 0 0 0;
    padding: 0;
    word-wrap: break-word;
}

.attraction-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    display: block;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 385px;
}

.attraction-image-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    border: none;
    image-rendering: auto;
}




/* ===========================================
   MEDIA QUERIES PARA DIFERENTES TAMANHOS DE TELA
   Compatível com IE9+ e ES5 (sem flex/grid/backdrop)
   =========================================== */

/* Responsive: Monitores médios (1366px - 1919px) */
@media screen and (min-width: 1366px) and (max-width: 1919px) {
    .attractions-sidebar-bg {
        width: 350px;
    }

    .attractions-sidebar {
        left: 50px;
        top: 140px;
        min-width: 180px;
        width: auto;
        max-width: 300px;
    }

    .category-btn {
        padding: 12px 24px;
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .attractions-content {
        left: 350px;
        /* acompanha sidebar maior */
        width: 1570px;
        height: 800px;
        padding: 170px 40px 40px 130px;
    }

    .content-frame {
        width: 1050px;
        height: 500px;
        gap: 40px;
    }

    .text-column {
        max-width: 500px;
        height: auto;
        margin-right: 50px;
    }

    .attraction-title {
        font-size: 36px;
        line-height: 43px;
        width: 600px;
    }

    .attraction-description {
        font-size: 18px;
        line-height: 22px;
        width: 520px;
    }

    .image-column {
        -ms-flex: 0 0 600px;
        flex: 0 0 600px;
        height: 360px;
    }

    .image-column {
        -ms-flex: 0 0 600px;
        flex: 0 0 600px;
        height: 360px;
    }

    .attraction-image {
        width: 600px;
        height: 400px;
        top: -40px;
    }
}

/* Responsive: TVs e monitores grandes (1920px+) */
@media screen and (min-width: 1920px) {
    .attractions-sidebar-bg {
        width: 400px;
    }

    .attractions-sidebar {
        left: 60px;
        top: 160px;
        min-width: 220px;
        width: auto;
        max-width: 340px;
    }

    .category-btn {
        padding: 15px 30px;
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .attractions-content {
        left: 400px;
        width: 1500px;
        height: 900px;
        padding: 180px 60px 50px 80px;
    }

    .content-frame {
        width: 1500px;
        height: 600px;
        padding-top: 10px;
        gap: 48px;
    }

    .text-column {
        max-width: 500px;
        height: auto;
        margin-right: 50px;
        margin-left: 90px;
    }

    .attraction-title {
        font-size: 42px;
        line-height: 50px;
        width: 550px;
    }

    .attraction-description {
        font-size: 22px;
        line-height: 28px;
        width: 500px;
    }

    .image-column {
        -ms-flex: 0 0 900px;
        flex: 0 0 900px;
        height: 650px;
    }

    .image-column {
        -ms-flex: 0 0 900px;
        flex: 0 0 900px;
        height: 650px;
    }

    .attraction-image {
        width: 900px;
        height: 650px;
        top: 0px;
    }
}

/* TVs maiores (QHD / 4K) */
@media screen and (min-width: 2560px) {
    .attractions-sidebar-bg {
        width: 560px;
    }

    .attractions-sidebar {
        left: 80px;
        top: 180px;
        min-width: 300px;
        max-width: 400px;
    }

    .attractions-content {
        left: 560px;
        width: calc(100% - 560px);
        padding: 220px 80px 60px 120px;
    }

    .content-frame {
        width: 1800px;
        height: 720px;
        gap: 56px;
    }

    .image-column {
        -ms-flex: 0 0 1100px;
        flex: 0 0 1100px;
        height: 780px;
    }

    .image-column {
        -ms-flex: 0 0 1100px;
        flex: 0 0 1100px;
        height: 780px;
    }

    .attraction-image {
        width: 1100px;
        height: 780px;
        top: 0px;
    }
}

@media screen and (min-width: 3840px) {
    .attractions-sidebar-bg {
        width: 760px;
    }

    .attractions-sidebar {
        left: 100px;
        top: 220px;
        min-width: 360px;
        max-width: 480px;
    }

    .attractions-content {
        left: 760px;
        width: calc(100% - 760px);
        padding: 260px 100px 80px 140px;
    }

    .content-frame {
        width: 2300px;
        height: 900px;
        gap: 64px;
    }

    .image-column {
        -ms-flex: 0 0 1400px;
        flex: 0 0 1400px;
        height: 980px;
    }

    .image-column {
        -ms-flex: 0 0 1400px;
        flex: 0 0 1400px;
        height: 980px;
    }

    .attraction-image {
        width: 1400px;
        height: 980px;
        top: 0px;
    }
}