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

a {
    color: inherit;
    text-decoration: inherit;
}

a:visited {
    color: inherit;
    text-decoration: inherit;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #181818;
}

video {
    position: fixed;
    top: 0;
    left: 0;

    object-fit: cover;

    width: 100%;
    height: 100vh;

    z-index: -1;

    filter: grayscale(1) brightness(25%);
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: "Quintessential";
    font-variant: small-caps;
    letter-spacing: 10px;
    text-align: center;
}

header p span:nth-child(1) {
    color: goldenrod;
    font-weight: bold;
}

header p span:nth-child(2) {
    color: darkcyan;
    font-weight: bold;
}

hr {
    width: 50vw;
    opacity: 30%;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
}

/* BOTÕES */
.btnMenu, .btnReturn {
    width: 20vw;
    height: 5vh;

    border: none;
    border-bottom: solid 1px #ffb70080;
    border-radius: 5px;

    background: transparent;

    font-family: "Quicksand";
    font-variant: small-caps;
    letter-spacing: 5px;
    text-align: center;
    font-size: 15px;
    color: #fff;

    transition: all 1s;
}

.btnReturn {
    color: goldenrod;
}

.btnMenu:hover, .btnReturn:hover {
    letter-spacing: 7px;
    color: goldenrod;
}

/* MODAL */
.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Quando o modal está ativo */
.modal.show {
    opacity: 1;
    visibility: visible;
}

/* Animação de entrada */
.modal-content {
    background-color: #181818;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.4s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5vh;
}

/* Quando o modal está ativo, ele se move suavemente para o centro */
.modal.show .modal-content {
    transform: translateY(0);
}

/* Botão de fechar */
.close {
    font-size: 32px;
    cursor: pointer;
    color: goldenrod;
    transition: all 1s;
}

.close:hover {
    transform: scale(1.5);
}

/* IN MODAL */
.inputInModal {
    border: none;
    border-bottom: solid 1px goldenrod;
    border-radius: 5px;
    background: none;

    width: 10vw;
    height: 3vh;

    color: #fff;
    font-family: "Quicksand";
    font-size: large;
    text-align: center;
}

.inputInModal:focus{
    background-color: #ffb70080;
}

.inputInModal::placeholder{
    color: rgba(255, 255, 255, 0.5);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btnInModal {
    border: none;
    border: solid 1px goldenrod;
    border-radius: 5px;
    background: none;

    width: 10vw;
    height: 3vh;

    background-color: #ffb70080;

    color: #181818;
    font-family: "Quicksand";
    font-size: large;
    text-align: center;
    font-weight: bolder;
    letter-spacing: 3px;
    text-transform: uppercase;

    cursor: pointer;
}

.txtInModal {
    color: #fff;
    font-family: "Quicksand";
    font-size: large;
    text-align: center;
    font-weight: bolder;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.pyCode {
    color: darkcyan;
    font-family: "Quicksand";
    font-size: small;
    text-align: center;
    font-weight: bolder;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: underline;
}

/* ========== RESPONSIVIDADE GERAL ========== */
@media (max-width: 1200px) {
    .modal-content {
        width: 70%;
    }
}

@media (max-width: 768px) {
    /* Header */
    header h1 {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    header p {
        font-size: 0.9rem;
    }

    /* Botões do Menu */
    .btnMenu, .btnReturn {
        width: 60vw;
        height: 6vh;
        font-size: 14px;
    }

    /* Modais */
    .modal-content {
        width: 90%;
        padding: 15px;
        gap: 3vh;
    }

    .inputInModal, .btnInModal {
        width: 80%;
        height: 4vh;
    }

    /* Carrossel (Modal06) */
    #testimonial-container {
        width: 95%;
    }

    .options {
        grid-template-columns: 1fr; /* 1 coluna em mobile */
    }

    #testimonial-prev-btn, #testimonial-next-btn {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    header h1 {
        font-size: 1.2rem;
    }

    .btnMenu, .btnReturn {
        width: 80vw;
    }

    .question p {
        padding: 10px;
        font-size: 14px;
    }
}