/*==================================================
PINNA'S RESTAURANTE E PIZZARIA
style.css
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/*==================================================
ANIMAÇÕES
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:.8s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*=========================
PÁGINA CARDÁPIO
=========================*/

.page-title{

    padding:80px 0 30px;

    text-align:center;

}


.page-title h1{

    font-size:42px;

    margin-bottom:12px;

}


.page-title p{

    font-size:18px;

    opacity:.85;

    margin-bottom:0px;

}


.page-title .btn-primary{

    display:inline-block;

}

/* Espaço botão cardápio completo */

.center-button{

    margin-top:40px;

    text-align:center;

}

/*==================================================
STATUS RESTAURANTE
==================================================*/

.status-restaurante{

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

}

.status-restaurante::before{

    content:"";

    width:12px;

    height:12px;

    border-radius:50%;

    background:#999;

    display:inline-block;

    margin-right:8px;

}


/* aberto */

.status-restaurante.aberto::before{

    background:#2ecc71;

}


/* fechado */

.status-restaurante.fechado::before{

    background:#e74c3c;

}


/*==================================================
UTILIDADES
==================================================*/

.text-center{

    text-align:center;

}

.hidden{

    display:none!important;

}

.no-scroll{

    overflow:hidden;

}


/*==================================================
DESTAQUES
==================================================*/

.highlight{

    color:#d9a441;

}


/*==================================================
RESPONSIVIDADE EXTRA
==================================================*/

@media(max-width:900px){

    .hero h1{

        font-size:40px;

    }


    .info-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .about-grid{

        grid-template-columns:1fr;

    }


    .contact-grid{

        grid-template-columns:repeat(2,1fr);

    }


    .footer-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:600px){

    .section{

        padding:60px 0;

    }


    .section-title h2{

        font-size:32px;

    }


    .hero h1{

        font-size:32px;

    }


    .hero p{

        font-size:18px;

    }


    .info-grid{

        grid-template-columns:1fr;

    }


    .contact-grid{

        grid-template-columns:1fr;

    }


    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }


    .modal-buttons{

        flex-direction:column;

    }


    .floating-whatsapp{

        width:55px;

        height:55px;

        right:15px;

        bottom:15px;

    }

}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#111;
    color:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

.section{
    padding:90px 0;
}

.dark{
    background:#181818;
}

/*=========================
HEADER
=========================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.3s;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(10px);

}

header.scrolled{

    background:#111;

    box-shadow:0 10px 30px rgba(0,0,0,.4);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:82px;

}

.logo img{

    height:65px;
    width:auto;

}

#menuPrincipal{

    display:flex;

    gap:28px;

}

#menuPrincipal a{

    color:#fff;

    font-weight:600;

    transition:.3s;

}

#menuPrincipal a:hover{

    color:#d9a441;

}

.header-right{

    display:flex;

    align-items:center;

    gap:20px;

}

.menu-mobile{

    display:none;

    border:none;

    background:none;

    color:#fff;

    font-size:30px;

    cursor:pointer;

}

/*=========================
HERO
=========================*/

.hero{
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    z-index:1;

}

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;

    transform:translateY(80px);

}

.hero-logo{

    width:180px;

    margin:auto;

    margin-bottom:20px;

}

.hero-mini{

    color:#d9a441;

    letter-spacing:4px;

    font-size:14px;

    display:block;

    margin-bottom:15px;

}

.hero h1{

    font-size:48px;

    margin:18px 0;

}

.hero p{

    font-size:22px;

    opacity:.9;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:35px;

    flex-wrap:wrap;

}

.btn-primary{

    background:#d9a441;

    color:#111;

    padding:15px 35px;

    border-radius:8px;

    font-weight:700;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    border:2px solid #d9a441;

    color:#fff;

    padding:15px 35px;

    border-radius:8px;

    transition:.3s;

}

.btn-secondary:hover{

    background:#d9a441;

    color:#111;

}

/*==================================================
INFO BAR
==================================================*/

.info-bar{

    background:#d9a441;

    color:#111;

    padding:35px 0;

}

.info-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.info-card{

    text-align:center;

    font-weight:600;

}

.info-card h3{

    font-size:22px;

}


.info-card p{

    font-size:16px;

}

/*==================================================
TÍTULOS
==================================================*/

.section-title{

    text-align:center;

    margin-bottom:50px;

}

.section-mini{

    color:#d9a441;

    letter-spacing:3px;

    font-size:14px;

}

.section-title h2{

    font-size:42px;

    margin-bottom:15px;

}

.section-title p{

    opacity:.8;

}

/*==================================================
PESQUISA
==================================================*/

#searchFood{

    display:block;

    width:100%;

    max-width:520px;

    margin:25px auto;

    padding:14px 20px;

    border-radius:30px;

    border:1px solid #333;

    background:#1c1c1c;

    color:#fff;

    font-size:15px;

    font-family:inherit;

}

#searchFood::placeholder{

    color:#888;

}

#searchFood:focus{

    outline:none;

    border-color:#d9a441;

}

/*==================================================
CATEGORIAS
==================================================*/

#categoryButtons{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

    margin:15px 0 35px;

}

.categoryButton{

    border:none;

    padding:12px 22px;

    border-radius:30px;

    background:#222;

    color:#fff;

    cursor:pointer;

    transition:.3s;

    font-weight:600;

}

.categoryButton:hover{

    background:#d9a441;

    color:#111;

}

.categoryButton.active{

    background:#d9a441;

    color:#111;

}

/*==================================================
CARDÁPIO
==================================================*/

.menu-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.menu-card{

    background:#1c1c1c;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.menu-card:hover{

    transform:translateY(-8px);

}

.menu-card img{

    width:100%;

    height:220px;

    object-fit:cover;
    

}

.menu-info{

    padding:22px;

}

.food-category{

    color:#d9a441;

    font-size:13px;

    letter-spacing:2px;

    text-transform:uppercase;

}

.menu-info h3{

    margin:12px 0;

    font-size:24px;

}

.menu-info p{

    opacity:.8;

    line-height:1.6;

    margin-bottom:22px;

}

.badge{

    display:inline-block;

    background:#d9a441;

    color:#111;

    padding:6px 12px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

    margin-bottom:12px;

}

.badge.green{

    background:#2ecc71;

    color:#fff;

}

.semResultado{

    text-align:center;

    padding:60px;

    font-size:20px;

    opacity:.8;

}

/*==================================================
PROMOÇÕES
==================================================*/

.promotions-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.promotion-card{

    background:#222;

    border-radius:18px;

    overflow:hidden;

    transition:.3s;

}

.promotion-card:hover{

    transform:translateY(-6px);

}

.promotion-card img{

    width:100%;

    height:230px;

    object-fit:cover;

}

.promotion-info{

    padding:25px;

}

.promotion-info h3{

    color:#d9a441;

    margin-bottom:10px;

    font-size:24px;

}


/*==================================================
GALERIA
==================================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.gallery-item{

    overflow:hidden;

    border-radius:15px;

}

.gallery-item img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.4s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}


/*==================================================
SOBRE
==================================================*/

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    border-radius:20px;

}

.about-content h2{

    font-size:42px;

    margin:20px 0;

}

.about-content p{

    line-height:1.8;

    opacity:.85;

}

.about-list{

    list-style:none;

    margin:25px 0;

}

.about-list li{

    margin-bottom:12px;

}


/*==================================================
CONTATO
==================================================*/

.contact-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.contact-card{

    background:#1c1c1c;

    padding:30px;

    border-radius:15px;

    text-align:center;

}

.contact-card h3{

    color:#d9a441;

    margin-bottom:15px;

}

.contact-card a{

    color:#d9a441;

    font-weight:700;

}

.contact-icon{
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 6px;
}

.info-icon img{
    width: 50px;
    height: 50px;
    margin: 0 auto;

}

.contact-card p{
    color: #d9a441;
}

/*==================================================
MAPA
==================================================*/

.map-box{

    width:100%;

    height:450px;

    overflow:hidden;

    border-radius:20px;

}

.map-box iframe{

    width:100%;

    height:100%;

    border:0;

}

/*==================================================
FOOTER
==================================================*/

footer{

    background:#0d0d0d;

    padding:60px 0 0;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:35px;

}

.footer-logo{

    width:140px;

    margin-bottom:20px;

}

footer h3{

    color:#d9a441;

    margin-bottom:20px;

}

footer p{

    opacity:.8;

    line-height:1.7;

}

footer a{

    display:block;

    margin-bottom:12px;

    transition:.3s;

}

footer a:hover{

    color:#d9a441;

}

.footer-copy{

    margin-top:40px;

    padding:20px;

    text-align:center;

    background:#000;

    opacity:.8;

}


/*==================================================
MODAL
==================================================*/

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:none;

    align-items:center;

    justify-content:center;

    z-index:2000;

    padding:20px;

}

.modal.active{

    display:flex;

}

.modal-box{

    background:#1c1c1c;

    width:min(600px,100%);

    border-radius:20px;

    overflow:hidden;

    position:relative;

    animation:modalShow .3s;

}

@keyframes modalShow{

    from{

        transform:scale(.8);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.modal-box img{

    width:100%;

    height:300px;

    object-fit:cover;

}

.modal-content{

    padding:30px;

}

.modal-content h2{

    font-size:32px;

    margin-bottom:15px;

}

.modal-content p{

    opacity:.8;

    line-height:1.7;

}

.close-modal{

    position:absolute;

    top:15px;

    right:15px;

    width:40px;

    height:40px;

    border-radius:50%;

    border:none;

    background:#111;

    color:#fff;

    font-size:28px;

    cursor:pointer;

    z-index:2;

}

.modal-buttons{

    display:flex;

    gap:15px;

    margin-top:25px;

}


/*==================================================
WHATSAPP FLUTUANTE
==================================================*/

.floating-whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:1000;

    box-shadow:0 5px 15px rgba(0,0,0,.25);

}


.floating-whatsapp img{

    width:42px;

    height:42px;

}

/* HEADER DO CARDÁPIO */

body:has(.page-title) #header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}


body:has(.page-title) #menuPrincipal{

    margin:auto;

}


body:has(.page-title) .header-right{

    display:flex;

    align-items:center;

}

/*==================================================
BOTÃO TOPO
==================================================*/

.back-top{

    position:fixed;

    right:25px;

    bottom:105px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#d9a441;

    color:#111;

    font-size:25px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}


/*==================================================
LOADING
==================================================*/

#loadingScreen{

    position:fixed;

    inset:0;

    background:#111;

    z-index:3000;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.5s;

}

#loadingScreen.hide{

    opacity:0;

    visibility:hidden;

}

.loader{

    text-align:center;

}

.loader img{

    width:120px;

    margin:auto;

    margin-bottom:20px;

}

.loader span{

    color:#d9a441;

}


/* ==========================
   CARDÁPIO EM TABELA
========================== */

.menu-table td{
    padding:18px;
    line-height:1.6;
}


.menu-table th{

    background:#262321;

    color:#d9a441;

    font-size:18px;

    padding:18px;

}


.menu-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}


.menu-table tr:last-child td {
    border-bottom: none;
}


.menu-table td strong {
    font-size: 17px;
}


.menu-table td:nth-last-child(-n+2) {
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
}


.menu-table td:nth-child(2) {
    color: #555;
    font-size: 14px;
}


/* categorias */

.categoryButton {
    border: none;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.menu-table th:nth-child(1),
.menu-table td:nth-child(1) {
    width: 25%;
}

.menu-table th:nth-child(2),
.menu-table td:nth-child(2) {
    width: 50%;
}

.menu-table th:nth-child(3),
.menu-table td:nth-child(3),
.menu-table th:nth-child(4),
.menu-table td:nth-child(4) {
    width: 12.5%;
    text-align: center;
}

.menu-table td,
.menu-table th {
        color: black;
}

.menu-table td:nth-child(1) {
    display: table-cell !important;
    width: 25%;
}

.menu-table td:nth-child(2) {
    width: 50%;
}

.menu-table td:nth-child(3),
.menu-table td:nth-child(4) {
    display: table-cell !important;
    width: 12.5%;
    text-align: center;
}

/* ==========================
   TABELA DO CARDÁPIO PINNA'S
========================== */

.menu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    overflow: hidden;
    border-radius: 15px;
    margin-top: 30px;
}


.menu-table thead th {
    background: #1f1f1f;
    color: #dca73a;
    padding: 18px 15px;
    font-size: 16px;
    text-align: left;
}


.menu-table tbody td {
    padding: 16px 15px;
    border-bottom: 1px solid #e5e5e5;
    color: #333;
    vertical-align: middle;
}


.menu-table tbody tr:hover {
    background: #faf3e5;
}


/* Nome do prato */

.menu-table td:first-child {
    font-weight: 700;
    font-size: 16px;
    width: 25%;
    color: #222;
}


/* Descrição */

.menu-table td:nth-child(2) {
    width: 50%;
    font-size: 14px;
    color: #666;
}


/* Valores */

.menu-table td:nth-last-child(-n+2) {
    width: 12.5%;
    text-align: center;
    font-weight: bold;
    color: #b88622;
    white-space: nowrap;
}


/* Arredondar cantos */

.menu-table thead th:first-child {
    border-radius: 15px 0 0 0;
}

.menu-table thead th:last-child {
    border-radius: 0 15px 0 0;
}


.menu-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 15px;
}


.menu-table tbody tr:last-child td:last-child {
    border-radius: 0 0 15px 0;
}

/* ==========================
 TITULO DAS CATEGORIAS
========================== */

.titulo-categoria {
    text-align: center;
    color: #dca73a;
    font-size: 28px;
    margin: 20px 0 15px;
    font-weight: 800;
}



/* ==========================
 BOTÕES DE CATEGORIA
========================== */

#categoryButtons {
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin:25px auto;
    max-width:1100px;
}


.categoryButton {

    background:#222;
    color:white;
    border:none;
    padding:12px 22px;
    border-radius:25px;
    cursor:pointer;
    font-weight:700;
    transition:.3s;

}


.categoryButton:hover {

    background:#dca73a;
    color:#111;

}



/* ==========================
 MELHORIA DOS VALORES
========================== */


.menu-table td:nth-last-child(-n+2){

    color:#c8942e;
    font-size:16px;
    font-weight:800;

}



/* ==========================
 MOBILE
========================== */


@media(max-width:700px){


.menu-table{

    width:100%;

    border-collapse:collapse;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}


.menu-table th,
.menu-table td{

    padding:18px;

    border-bottom:1px solid #ececec;

}

.menu-table td:first-child{

    width:260px;
    font-weight:700;

}

.menu-table td:nth-child(2){

    font-size:15px;
    color:#555;
    line-height:1.6;

}

.menu-table tbody tr{

    transition:0.25s;

}

.menu-table tbody tr:hover{

    background:#fff9ef;

}

.menu-table td:last-child,
.menu-table td:nth-last-child(2){

    color:#d99b1d;

    font-weight:700;

    font-size:19px;

}


#categoryButtons{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    padding:10px 0 25px;

}


.categoryButton{

    white-space:nowrap;

}


.titulo-categoria{

    text-align:center;

    font-size:42px;

    color:#d9a441;

    margin-bottom:25px;

}


}

#menuContainer {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}


.titulo-categoria {
    width: 100%;
    text-align: center;
    margin: 35px 0 25px;
}

#menuContainer {
    display: block !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
}


#menuContainer .titulo-categoria {
    text-align: center;
}


#menuContainer .menu-table {
    width: 100% !important;
}

/* Efeito ao passar o mouse nas linhas da tabela */

.menu-table tbody tr{

    transition: .25s;

}

.menu-table tbody tr:hover{

    background: #fff9ef;

}


/* Destaca os preços */

.menu-table td:last-child,
.menu-table td:nth-last-child(2){

    color: #d99b1d;

    font-weight: 700;

    font-size: 19px;

}

.menu-table td:first-child{

    width: 260px;
    font-weight: 700;

}

.menu-table td:nth-child(2){

    color: #555;
    line-height: 1.6;

}

.menu-table td:nth-child(2){
    font-size:13px !important;
    font-weight:400;
}

.menu-table td:first-child{
    font-size:17px;
    font-weight:700;
}

.info-icon{

    font-size:40px;

    margin-bottom:15px;

    display:block;

}

.info-icon{
    display:block;
    font-size:40px;
    line-height:1;
    margin-bottom:15px;
}

.status-restaurante.aberto::before{

    background:#20c76a;

}


.status-restaurante.fechado::before{

    background:#ff5252;

}

.btn-topo{

    position:fixed;

    bottom:25px;

    right:25px;

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#d9a441;

    color:#111;

    font-size:24px;

    font-weight:bold;

    cursor:pointer;

    display:none;

    z-index:999;

}


.btn-topo:hover{

    transform:scale(1.1);

}

.footer-simple{
    text-align:center;
    padding:30px 20px;
}


.footer-simple img{
    width:140px;
    max-width:120px;
    height:auto;
    display:block;
    margin:0 auto 15px;
}


.footer-simple p{

    font-size:16px;

    margin-bottom:10px;

}


.footer-simple span{

    font-size:13px;

    opacity:.7;

}

@media (max-width:992px){

    #menuPrincipal{
        display:none;
    }

    #menuPrincipal.open{
        display:flex;
        flex-direction:column;
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#111;
        padding:30px 0;
        gap:25px;
        z-index:1000;
    }

}
/*==================================================
CARDS SEM FOTO (fallback com ícone) / PREÇO / STATUS
==================================================*/

.menu-card-icon{

    width:100%;
    height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:64px;
    background:linear-gradient(135deg,#2a2a2a,#1c1c1c);

}

.promotion-card-icon{

    width:100%;
    height:230px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:64px;
    background:linear-gradient(135deg,#2a2a2a,#222);

}

.menu-price{

    color:#d9a441;
    font-weight:700;
    font-size:18px;
    margin-top:8px;

}

.badge-indisponivel{

    display:inline-block;
    background:#e74c3c;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
    margin-bottom:12px;

}

tr.linha-indisponivel{

    opacity:.5;

}
