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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#fffaf5;
    color:#3a2416;
    overflow-x:hidden;
}

/* =========================
   STATUS DA LOJA
========================= */

.store-status{
    text-align:center;
    padding:12px;
    font-weight:600;
    color:#fff;
}

.store-status.open{
    background:#1fa84f;
}

.store-status.closed{
    background: green;
}

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

header{
    background:#2a160d;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    color:#f5d7a1;
    font-size:30px;
    font-weight:700;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover{
    color:#f5d7a1;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
    overflow:hidden;
}

.banner4{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:650px;
    color:#fff;
}

.badge{
    background:#d4a15e;
    padding:10px 20px;
    border-radius:30px;
    display:inline-block;
    margin-bottom:20px;
    font-weight:600;
}

.hero h1{
    font-size:70px;
    color:#f5d7a1;
    margin-bottom:20px;
    line-height:1.1;
}

.hero p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;
}

/* =========================
   BOTÕES
========================= */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 30px;
    border:none;
    border-radius:40px;
    cursor:pointer;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-4px);
}

.btn-primary{
    background:#d4a15e;
    color:#fff;
}

.btn-outline{
    border:2px solid #f5d7a1;
    color:#f5d7a1;
    background:transparent;
}

.btn-open{
    background: green;
    color:#fff;
}

.btn-close{
    background:green;
    color:#fff;
}

/* =========================
   SEÇÕES
========================= */

.section{
    padding:90px 8%;
}

.dark-section{
    background:#2a160d;
    color:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:45px;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    line-height:1.7;
}

/* =========================
   SOBRE
========================= */

.about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:20px;
}

.feature-card{
    background:#fff;
    padding:25px;
    border-radius:20px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.feature-card i{
    font-size:35px;
    color:#d4a15e;
    margin-bottom:15px;
}

.feature-card h3{
    margin-bottom:10px;
}

.feature-card p{
    line-height:1.7;
}

/* =========================
   ENCOMENDAS
========================= */

.order-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:40px;
}

.order-item{
    background:#fff;
    color:#2a160d;
    padding:25px;
    border-radius:15px;
    text-align:center;
    font-weight:600;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.center{
    text-align:center;
}

/* =========================
   PRODUTOS
========================= */

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    position:relative;
    transition:0.3s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.product-card.paused{
    opacity:0.5;
}

.product-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.product-info{
    padding:25px;
}

.product-info h3{
    margin-bottom:10px;
    font-size:22px;
}

.product-info p{
    color:#666;
    line-height:1.6;
}

.pause-btn{
    display:none;
    position:absolute;
    top:15px;
    right:15px;
    background:#c62828;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:30px;
    cursor:pointer;
    font-size:14px;
    z-index:5;
}

/* Só aparece quando o administrador estiver logado */
body.admin-mode .pause-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

/* =========================
   ACESSO ADMINISTRADOR
========================= */

.admin-toggle{
    background:transparent;
    border:1px solid rgba(245,215,161,0.4);
    color:#f5d7a1;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    font-size:16px;
    transition:0.3s;
    display:flex;
    align-items:center;
    justify-content:center;
}

.admin-toggle:hover{
    background:rgba(245,215,161,0.15);
}

body.admin-mode .admin-toggle{
    background:#1fa84f;
    border-color:#1fa84f;
    color:#fff;
}

.admin-banner{
    display:none;
    text-align:center;
    padding:10px;
    font-weight:600;
    color:#fff;
    background:#1fa84f;
}

body.admin-mode .admin-banner{
    display:block;
}

/* =========================
   HORÁRIOS
========================= */

.hours-section{
    padding-top:60px;
    padding-bottom:60px;
}

.hours-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    max-width:900px;
    margin:0 auto;
}

.hours-card{
    background:#fff;
    border-radius:20px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.hours-card i{
    font-size:32px;
    color:#d4a15e;
    margin-bottom:12px;
}

.hours-card h3{
    margin-bottom:10px;
    color:#2a160d;
}

.hours-card p{
    line-height:1.6;
    color:#3a2416;
}

.hours-time{
    font-weight:700;
    font-size:20px;
    color:#1fa84f;
    margin-top:5px;
}

.hours-note{
    font-size:14px;
    color:#888;
    margin-top:5px;
}

.btn-whats{
    background:#25D366;
    color:#fff;
    padding:12px 20px;
    border-radius:30px;
    text-decoration:none;
    display:inline-block;
    margin-top:15px;
    transition:0.3s;
}

.btn-whats:hover{
    background:#1ebe5d;
    transform:scale(1.05);
}

/* =========================
   CONTROLES
========================= */

.store-controls{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

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

footer{
    background:#1b0f09;
    color:#fff;
    text-align:center;
    padding:50px 20px;
}

footer p{
    line-height:1.8;
}

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

.floating-whatsapp{
    position:fixed;
    width:65px;
    height:65px;
    right:25px;
    bottom:25px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    text-decoration:none;
    box-shadow:0 5px 20px rgba(0,0,0,0.25);
    z-index:999;
    transition:0.3s;
}

.floating-whatsapp:hover{
    transform:scale(1.1);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px){

    .hero h1{
        font-size:55px;
    }

}

@media (max-width: 768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    .section{
        padding:70px 5%;
    }

    .section-title h2{
        font-size:34px;
    }

}

@media (max-width: 480px){

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:16px;
    }

    .logo{
        font-size:24px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

}