/* ================================= */
/* RESET */
/* ================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================= */
/* BODY */
/* ================================= */

body{

    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    background: #000;

    color: white;

    overflow-x: hidden;

    min-height: 100vh;
}

/* ================================= */
/* HEADER */
/* ================================= */

header img{
    width: 100%;
    height: clamp(180px, 35vh, 450px);
    object-fit: cover;
    display: block;
}

/* ================================= */
/* MAIN */
/* ================================= */

main{

    width: 100%;

    max-width: 1500px;

    margin: 30px auto;

    padding: 0 20px;

    display: flex;

    gap: 25px;

    align-items: flex-start;
}

/* ================================= */
/* RESTAURANTE */
/* ================================= */

.menuNavegacao{

    flex: 1;

    min-width: 0;
}

/* ================================= */
/* TITULO RESTAURANTE */
/* ================================= */

.nomeRestaurante{

    background: linear-gradient(
        135deg,
        #7A5C00,
        #B8860B,
        #D4AF37
    );

    color: black;

    text-align: center;

    padding: 16px;

    border-radius: 14px;

    font-size: clamp(1.5rem, 4vw, 2.8rem);

    margin-bottom: 10px;

    text-shadow: 0 1px 2px rgba(255,255,255,0.2);
}

/* ================================= */
/* TEXTO RESTAURANTE */
/* ================================= */

.restaurante{

    text-align: center;

    font-size: 1.2rem;

    margin-bottom: 25px;

    color: #f0f0f0;
}

/* ================================= */
/* GALERIA */
/* ================================= */

.galeria{

    display: flex;

    flex-direction: column;

    gap: 22px;
}

/* ================================= */
/* CARDS */
/* ================================= */

.card-imagem,
.card-imagem1{

    width: 100%;

    overflow: hidden;

    border-radius: 18px;

    background: #111;

    display: flex;

    justify-content: center;

    align-items: center;
}

/* ================================= */
/* IMAGENS */
/* ================================= */

.card-imagem img{

    width: 100%;

    height: 520px;

    object-fit: cover;

    border-radius: 18px;

    transition: 0.4s;
}

.card-imagem1 img{

    width: 100%;

    height: auto;

    object-fit: contain;

    border-radius: 18px;

    transition: 0.4s;
}

/* ================================= */
/* HOVER */
/* ================================= */

.card-imagem img:hover,
.card-imagem1 img:hover{

    transform: scale(1.02);
}

/* ================================= */
/* MENU LATERAL */
/* ================================= */

.menu{

    width: 320px;

    min-width: 320px;

    background: #111;

    border-radius: 20px;

    padding: 18px;

    overflow: hidden;

    position: sticky;

    top: 110px;
}

/* ================================= */
/* TITULO MENU */
/* ================================= */

.menu h3{

    text-align: center;

    color: #D4AF37;

    font-size: 1.5rem;

    margin-bottom: 18px;
}

/* ================================= */
/* CARROSSEL */
/* ================================= */

.carrossel-patrocinadores{

    width: 100%;

    height: 620px;

    overflow: hidden;

    position: relative;
}

/* ================================= */
/* LISTA */
/* ================================= */

.lista-patrocinadores{

    display: flex;

    flex-direction: column;

    gap: 15px;

    transition: transform 0.8s ease-in-out;

    will-change: transform;
}

/* ================================= */
/* PATROCINADOR */
/* ================================= */

.patrocinador{

    width: 100%;

    min-height: 190px;

    background: #222;

    border-radius: 14px;

    padding: 10px;

    text-align: center;

    transition: 0.3s;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: center;

    gap: 10px;
}

/* ================================= */
/* HOVER */
/* ================================= */

.patrocinador:hover{

    background: #2d2d2d;

    transform: translateY(-3px);
}

/* ================================= */
/* FOTO */
/* ================================= */

.fotosPatrocinador{

    width: 100%;

    height: 140px;

    object-fit: cover;

    border-radius: 10px;
}

/* ================================= */
/* TEXTO */
/* ================================= */

.patrocinador span{

    font-size: 0.85rem;

    line-height: 1.3;
}

/* ================================= */
/* CADASTRO FLUTUANTE */
/* ================================= */

.containerCadastro{

    position: fixed;

    bottom: 20px;

    left: 20px;

    z-index: 9999;
}

/* ================================= */
/* CARD FLUTUANTE */
/* ================================= */

.flutuante{

    width: 240px;

    background: rgba(25,25,25,0.88);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    padding: 15px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ================================= */
/* TITULO */
/* ================================= */

.flutuante h2{

    text-align: center;

    margin-bottom: 8px;

    font-size: 1rem;
}

/* ================================= */
/* TEXTO */
/* ================================= */

.flutuante p{

    text-align: center;

    font-size: 0.78rem;

    margin-bottom: 10px;

    line-height: 1.4;
}

/* ================================= */
/* FORM */
/* ================================= */

form{

    display: flex;

    flex-direction: column;

    gap: 8px;
}

/* ================================= */
/* LABEL */
/* ================================= */

form label{

    font-size: 0.75rem;
}

/* ================================= */
/* INPUT */
/* ================================= */

form input{

    width: 100%;

    padding: 9px;

    border: none;

    outline: none;

    border-radius: 8px;

    font-size: 0.8rem;
}

/* ================================= */
/* BOTÃO */
/* ================================= */

button{

    border: none;

    padding: 10px;

    border-radius: 8px;

    background: #D4AF37;

    color: black;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

button:hover{

    transform: scale(1.02);

    background: #e5c24a;
}

/* ================================= */
/* TIMER */
/* ================================= */

.containerTimer{

    margin-top: 12px;

    background: rgba(255,255,255,0.05);

    border-radius: 10px;

    padding: 10px;

    text-align: center;
}

#regressivo{

    font-size: 2rem;

    font-weight: bold;

    margin-top: 5px;
}

/* ================================= */
/* FOOTER */
/* ================================= */

footer{

    text-align: center;

    padding: 20px;

    margin-top: 40px;

    font-size: 0.9rem;
}

/* ================================= */
/* TABLET */
/* ================================= */

@media (max-width: 1024px){

    main{

        gap: 18px;
    }

    .menu{

        width: 260px;

        min-width: 260px;
    }

    .carrossel-patrocinadores{

        height: 560px;
    }

    .patrocinador{

        min-height: 170px;
    }

    .fotosPatrocinador{

        height: 110px;
    }
}

/* ================================= */
/* MOBILE */
/* ================================= */

@media (max-width: 768px){

    body{

        overflow: hidden;

        height: 100vh;
    }

    header h1{
        font-size: 2.8em;
    }

    main{

        width: 100vw;

        height: calc(100vh - 80px);

        margin: 0;

        padding: 8px;

        gap: 8px;

        overflow: hidden;
    }

    /* ================================= */
    /* RESTAURANTE */
    /* ================================= */

    .menuNavegacao{

        width: 70%;

        height: 100%;

        overflow: hidden;
    }

    .nomeRestaurante{

        font-size: 1.8rem;

        padding: 10px;

        margin-bottom: 5px;
    }

    .restaurante{

        font-size: 1.1rem;

        margin-bottom: 8px;
    }

    .galeria{

        height: calc(100% - 70px);

        gap: 8px;

        overflow: hidden;
    }

    .card-imagem,
    .card-imagem1{

        flex: 1;
    }

    .card-imagem img,
    .card-imagem1 img{

        width: 100%;

        height: 100%;

        object-fit: contain;

        background: #111;
    }

    /* ================================= */
    /* MENU */
    /* ================================= */

    .menu{

        width: 35%;

        min-width: 30%;

        height: 100%;

        padding: 8px;

        border-radius: 14px;

        top: 0;
    }

    .menu h3{

        font-size: 1.2rem;

        margin-bottom: 10px;
    }

    /* ================================= */
    /* CARROSSEL */
    /* ================================= */

    .carrossel-patrocinadores{

        height: 500px;
    }

    .lista-patrocinadores{

        gap: 8px;
    }

    .patrocinador{

        min-height: 120px;

        padding: 6px;

        border-radius: 10px;
    }

    .fotosPatrocinador{

        height: 104px;

        border-radius: 8px;
    }

    .patrocinador span{

        font-size: 1.2rem;
    }

    /* ================================= */
    /* FLUTUANTE */
    /* ================================= */

    .containerCadastro{

        left: auto;

        right:10px;

        bottom: 8px;
    }

    .flutuante{

        width: 200px;
        height: 310px;
        padding: 8px;

        border-radius: 12px;
    }

    .flutuante h2{

        font-size: 1rem;

        margin-bottom: 5px;
    }

    .flutuante p{

        font-size: 0.8rem;

        margin-bottom: 5px;
    }

    form{

        gap: 4px;
    }

    form label{

        font-size: 0.7rem;
    }

    form input{

        padding: 4px;

        font-size: 0.6rem;
    }

    button{

        padding: 5px;

        font-size: 0.7rem;
    }

    .containerTimer{

        margin-top: 6px;

        padding: 5px;
    }

    .containerTimer p{

        font-size: 0.8rem;
    }

    #regressivo{

        font-size: 1.2rem;
    }

    footer{

        display: none;
    }
}

/* ================================= */
/* MOBILE PEQUENO */
/* ================================= */

@media (max-width: 480px){

    .nomeRestaurante{

        font-size: 0.85rem;
    }

    .restaurante{

        font-size: 0.65rem;
    }

    .menu h3{

        font-size: 0.7rem;
    }

    .patrocinador{

        min-height: 100px;

        padding: 5px;
    }

    .fotosPatrocinador{

        height: 60px;
    }

    .patrocinador span{

        font-size: 0.42rem;
    }

    .flutuante{

        width: 120px;
    }

    .flutuante h2{

        font-size: 0.55rem;
    }

    .flutuante p{

        font-size: 0.40rem;
    }

    form input{

        font-size: 0.42rem;
    }

    button{

        font-size: 0.42rem;
    }
}