/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=OpenSans:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200..700&display=swap');

:root {
    --primary-color: #FF6A00;
    --secondary-color: #FFA45B;
    --background-color: #FFF5EB;
    --text-color: #333333;
    --accent-color: #28a745;
    --border-radius: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Media query para telas pequenas */
@media (max-width: 992px) {
    body {
        background: url('../images/inicio_mobile.png') no-repeat center center fixed;
        background-attachment: scroll;
        background-size: 100% 100%;
        overflow-x: hidden;
        height: 100vh;
        color: white;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    main {
        display: none;
    }

    h1 {
        font-family: 'Oswald', sans-serif;
        font-weight: 300;
    }

    .action-button {
        position: relative;
        top: 42%;
        background-color: var(--primary-color);
        color: white;
        padding: 12px 20px;
        text-transform: uppercase;
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-family: 'Oswald', sans-serif;
        font-weight: 300;
        font-size: 1.35rem;
        z-index: 1000;
        transition: background-color 0.3s ease;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    }

    .action-button:hover {
        background-color: #FF8C00;
    }

    #faca-seu-pedido-mobile i {
        margin-left: 0.5rem;
    }

    #faca-seu-pedido-mobile span {
        margin-left: 1rem;
    }
    
    .footer {
        display: none;
    }
}

/* Media query para telas grandes */
@media (min-width: 992px) {
    body {
        background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('../images/bgteste3.png') no-repeat center center fixed;
        background-attachment: fixed;
        background-size: cover;
        font-family: 'OpenSans', sans-serif;
        overflow-x: hidden;
        color: white;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin-top: 10rem;
    }

    .alert {
        transform: translateY(-70px);
    }

    main {
        flex: 1 0 auto;
        display: flex;
        align-items: center;
        width: 100%;
        flex-grow: 1;
        border-radius: 1rem;
        padding: 4rem 2rem;
        margin: 2rem 2rem; /* Adiciona espaço igual acima e abaixo */
        margin-top: 7.5rem;
        background-color: rgba(0, 0, 0, 0.6);
        animation: fadeIn 1s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .container {
        max-width: 85rem;
        max-height: 40rem;
    }

    .row-index {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .action-button {
        background-color: var(--primary-color);
        color: white;
        padding: 12px 24px;
        text-transform: uppercase;
        border: none;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-family: 'Oswald', sans-serif;
        font-weight: 300;
        font-size: 1.5rem;
        transition: all 0.3s ease;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.9);
    }

    .action-button:hover {
        background-color: #FF8C00;
        transform: translateY(-3px);
    }

    .action-button i {
        margin-left: 0.8rem;
        font-size: 1.5rem;
    }

    #faca-seu-pedido-mobile {
        display: none;
    }

    .text-wrapper {
        font-family: 'Open Sans', sans-serif;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 2rem 0 3rem; /* Aumentado o padding esquerdo */
        max-width: 50%; /* Limitando a largura do texto */
    }

    .text-wrapper h1 {
        font-family: 'Oswald', sans-serif;
        font-weight: 300;
        font-size: 5.5rem;
        color: white;
        text-align: center;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .info-box {
        background-color: rgba(255, 255, 255, 0.1);
        padding: 1.5rem 2rem; /* Aumentado o padding horizontal */
        border-radius: 5px;
        margin-bottom: 1.5rem;
    }

    .text-wrapper p {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .fas {
        margin-right: 10px;
    }

    .image-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #imageCarousel {
        width: 100%;
        max-width: 600px;
        height: 100%; /* Ajusta a altura do carrossel */
    }

    .carousel-item img {
        width: 100%;
        height: 33rem;
        object-fit: cover;
        border-radius: 20px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
        opacity: 0.8;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        padding: 20px;
    }

    .carousel-indicators {
        bottom: -40px;
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #fff;
        opacity: 0.5;
    }

    .carousel-indicators .active {
        opacity: 1;
    }
}

/* Estilos gerais */
.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-box p {
    display: flex;
    align-items: center;
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    text-align: center;
    margin-top: 3rem;
}
