/* ——— CSS personalizzato pizzeria ——— */

/* Palette */
:root {
    --accent: #FF4D2D;
    /* rosso pomodoro */
    --accent-2: #FFC857;
    /* giallo forno */
    --ink: #1b1c1d;
    --bg: #0e0f10;
    --card: #ffffff;
}

body {
    color: var(--ink);
}

.text-accent {
    color: var(--accent);
}

/* Navbar */
.navbar {
    backdrop-filter: blur(6px);
    z-index: 1050;
}

.navbar .nav-link {
    opacity: .9;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--accent-2) !important;
}

/* Hero */
.hero {
    background: linear-gradient(0deg, rgba(14, 15, 16, .6), rgba(14, 15, 16, .6)),
        url('../../img/hero.jpg') center/cover no-repeat;
    min-height: 100vh;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 20% 20%, rgba(255, 77, 45, .25), transparent 60%);
}

.hero h1 {
    letter-spacing: .2px;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.6rem;
    opacity: .8;
}

.scroll-down:hover {
    opacity: 1;
}

/* Cards menu */
.menu-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12) !important;
}

.menu-thumb {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 12px;
}

/* Feature badges */
.feature {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
}

.feature i {
    color: var(--accent);
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .08);
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .12);
}

/* Reviews */
.review .bi-star-fill,
.review .bi-star-half {
    margin-left: 2px;
}

/* Section titles */
.section-title {
    font-weight: 800;
    letter-spacing: .2px;
}

section {
    scroll-margin-top: 120px;
}


/* Buttons */
.btn-primary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: #e53e1f;
    --bs-btn-hover-border-color: #e53e1f;
    --bs-btn-active-bg: #c93419;
    --bs-btn-active-border-color: #c93419;
}

.btn-outline-primary {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
}

/* List badges bg-lightish */
.bg-primary-subtle {
    background: rgba(255, 77, 45, .1) !important;
}

.text-primary {
    color: var(--accent) !important;
}

/* WhatsApp Floating Action Button */
.wa-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 .75rem 1.25rem rgba(0, 0, 0, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, .28);
}

/* Utilities */
.bg-body {
    background: #f7f7f8 !important;
}

img {
    max-width: 100%;
    height: auto;
}

/* Offcanvas tweaks */
.offcanvas .nav-link {
    padding: .5rem .75rem;
}

/* Small improvements */
.card {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.navbar .nav-item+.nav-item {
    margin-top: .5rem;
}