body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #e60023; /* Cor principal do YourLoveCounselor */
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

header .title {
    margin: 0;
    font-size: 2.0em;
    letter-spacing: 1px;
    font-weight: bold;
}

header p {
    margin: 5px 0 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.question-page-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.question-section h1 {
    font-size: 1.7em;
    color: #e60023;
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.text-content h2{
    font-size: 0.9em;
    font-weight: normal;
}

.intro-text {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

.question-block {
    background-color: #fdfdff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.question-text {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #444;
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.radio-group input[type="radio"] {
    display: none; /* Esconde o radio button padrão */
}

.radio-group label {
    background-color: #f0f0f0;
    padding: 12px 25px;
    border-radius: 25px; /* Formato de pílula para os botões de sim/não */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #666;
    border: 2px solid #ccc;
    min-width: 80px;
    text-align: center;
}

.radio-group input[type="radio"]:checked + label {
    background-color: #e60023;
    color: #fff;
    border-color: #e60023;
    box-shadow: 0 4px 8px rgba(230, 0, 35, 0.3);
    transform: translateY(-2px);
}

.radio-group label:hover {
    background-color: #e0e0e0;
    border-color: #a0a0a0;
}

button#calculate-btn {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background-color: #4CAF50; /* Cor para o botão de calcular */
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.2);
}

button#calculate-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

#result-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #e0e0e0;
    text-align: center;
}

#result-section h3 {
    font-size: 2em;
    color: #e60023;
    margin-bottom: 20px;
}

#percentage-result {
    font-weight: bold;
    font-size: 1.5em; /* Aumenta o tamanho da porcentagem */
    color: #4CAF50; /* Cor verde para a porcentagem */
}

.progress-bar-container {
    width: 80%;
    background-color: #eee;
    border-radius: 15px;
    height: 25px;
    margin: 20px auto 30px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #4CAF50; /* Cor da barra de progresso */
    border-radius: 15px;
    text-align: center;
    line-height: 25px;
    color: white;
    transition: width 1s ease-in-out;
}

#advice-text {
    background-color: #eaf7ff;
    border: 1px solid #cceeff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    font-size: 1.1em;
    color: #336699;
    text-align: left;
    line-height: 1.8;
}

#advice-text strong {
    color: #e60023;
}

button#reset-quiz {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

button#reset-quiz:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
}

/* Responsividade básica */
@media (max-width: 768px) {
    .question-page-container {
        margin: 20px auto;
        padding: 20px 25px;
    }
    .question-section h2 {
        font-size: 1.8em;
    }
    .intro-text {
        font-size: 1em;
    }
    .question-block {
        padding: 15px;
    }
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    .radio-group label {
        width: 80%;
        margin: 0 auto;
    }
    button#calculate-btn {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    #result-section h3 {
        font-size: 1.8em;
    }
    #percentage-result {
        font-size: 1.2em;
    }
    .progress-bar-container {
        width: 90%;
    }
    #advice-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    header p {
        font-size: 0.9em;
    }
    .question-page-container {
        margin: 15px;
        padding: 15px;
        border-radius: 8px;
    }
    .question-section h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .question-text {
        font-size: 1em;
    }
    .radio-group label {
        padding: 10px 20px;
        font-size: 0.9em;
        min-width: unset;
    }
    button#calculate-btn {
        padding: 10px 20px;
    }
    #result-section h3 {
        font-size: 1.5em;
    }
}




/* TEXTO PARA SEO */

.text-content {
            line-height: 1.8;
            font-size: 1.1em;
            color: #333;
            max-height: 180px; /* Adjust this to control initial visible height */
            overflow: hidden;
            position: relative;
            transition: max-height 0.5s ease-out; /* Smooth transition for expansion */
        }

        .text-content.expanded {
            max-height: 5000px; /* A large value to show all content */
        }

        .fade-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px; /* Height of the fade effect */
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
            pointer-events: none; /* Allows clicks to pass through to content */
            transition: opacity 0.5s ease-out;
        }

        .text-content.expanded .fade-overlay {
            opacity: 0;
        }

        .read-more-button {
            display: block;
            margin-top: 20px;
            padding: 6px 11px;
            background-color: white;
            color: #e60023;
            border: 2px solid #e60023;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            font-weight: bold;
            text-align: center;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            transition: background-color 0.3s ease;
        }

        .read-more-button:hover {
            color: black;
            border: 2px solid black;
        }