:root {
    --bg-navbar: rgba(214, 208, 156, 0.92);
    --bg-offcanvas: #e3ddb0;
    --text-main: #4b4032;
    --text-dark: #3f3428;
    --text-light: #f7f1e7;
    --btn-green: #7f9460;
    --btn-green-hover: #6f8352;
    --btn-light: #f6eee1;
    --btn-light-hover: #ede2d1;
    --border-soft: rgba(75, 64, 50, 0.18);
    --overlay-dark: rgba(0, 0, 0, 0.42);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: #fff;
}

/* NAVBAR */
.g-nav {
    min-height: 68px;
    padding: 0 12px;
    background-color: #ede2d1cb !important;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
    flex-wrap: nowrap;
}

.logo-navbar {
    width: 95px;
    height: auto;
    display: block;
}

.nav-list {
    gap: 0.15rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.55rem 0.85rem !important;
    border-radius: 10px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
    background-color: rgba(127, 148, 96, 0.14);
    color: var(--text-dark) !important;
}

.offcanvas-custom {
    background-color: var(--bg-offcanvas);
}

.offcanvas-title {
    color: var(--text-dark);
    font-weight: 600;
}

.offcanvas-body .nav-link {
    color: var(--text-dark) !important;
    display: block;
}

.offcanvas-body{
    overflow-y: unset !important;
    background-color: #ede2d1 !important;
}

.offcanvas-header{
    background-color: #ede2d1;
}

.custom-toggler {
    border: 1px solid rgba(75, 64, 50, 0.18);
    padding: 0.42rem 0.62rem;
    border-radius: 12px;
    box-shadow: none !important;
    background-color: transparent;
}

.custom-toggler:focus {
    box-shadow: none !important;
}

.g-but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-green);
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.g-but:hover,
.g-but:focus {
    background-color: var(--btn-green-hover);
    color: #fff !important;
}

.nav-prenota-mobile {
    padding: 0.68rem 0.95rem;
    font-size: 0.95rem;
    line-height: 1;
}

.nav-prenota-desktop {
    padding: 0.72rem 1rem;
    font-size: 0.96rem;
    line-height: 1;
}

/* HERO */
.hero-section {
    margin-top: 68px;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: calc(100vh - 68px);
    min-height: 600px;
}

.hero-carousel .carousel-item {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-dark);
    z-index: 1;
}

.hero-caption {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: min(90%, 860px);
    text-align: center;
    color: var(--text-light) !important;
}

.hero-caption h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ede2d1 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-caption p {
    margin-bottom: 2rem;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    color: #ede2d1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

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

.hero-btn {
    min-width: 220px;
    padding: 0.95rem 1.35rem;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
    transition: all 0.25s ease;
}

.hero-btn-primary {
    background-color: var(--btn-green);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    background-color: #6f8352 !important;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background-color: #6f83525f !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.hero-btn-secondary {
    background-color: var(--btn-light);
    color: var(--text-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background-color: #ede2d1 !important;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    background-color: #ede2d166 !important;
    color: white !important;
    transform: translateY(-1px);
}

/* TABLET / MOBILE */
@media (max-width: 991.98px) {
    .g-nav {
        min-height: 64px;
        padding: 0 10px;
    }

    .logo-navbar {
        width: 88px;
    }

    .nav-actions {
        gap: 0.55rem !important;
    }

    .hero-section {
        margin-top: 64px;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: calc(100vh - 64px);
        min-height: 560px;
    }

    .hero-caption {
        width: min(90%, 650px);
    }

    .hero-caption h1 {
        font-size: clamp(2.1rem, 7vw, 3rem);
        margin-bottom: 0.8rem;
    }

    .hero-caption p {
        font-size: 1.12rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        min-width: 190px;
        font-size: 1rem;
        padding: 0.85rem 1rem;
    }

    .offcanvas-body .nav-link {
        padding: 0.85rem 0.2rem !important;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-dark) !important;
        background-color: #ede2d100 !important
    }
}

@media (max-width: 575.98px) {
    .g-nav {
        min-height: 62px;
    }

    .logo-navbar {
        width: 82px;
    }

    .hero-section {
        margin-top: 62px;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: calc(100vh - 62px);
        min-height: 520px;
    }

    .hero-caption {
        width: 88%;
    }

    .hero-caption h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-caption p {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 1.35rem;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-btn {
        min-width: unset;
        width: calc(50% - 5px);
        padding: 0.82rem 0.7rem;
        font-size: 0.95rem;
    }

    .nav-prenota-mobile {
        padding: 0.64rem 0.82rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 390px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* CHI SIAMO HOME */

.prenota-cta {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .chi-siamo-img {
        height: 250px;
        object-fit: cover;
    }

    .mobile-chi-siamo{
        padding-top: 1.5rem;
    }

    .mobile-text{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 991.98px) {
    .mobile-chi-siamo {
        border-radius: 16px 16px 0 0;
        margin-top: -20px;
        background-color: #fff;
    }
}

.bg-color{
    background-color: #ede2d1c5;
}

.title-color{
    color: #3f3428 !important;
}

.sub-color{
    color: #6f8352;
}

/* SEZIONE MENU HOME */

.menu-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.menu-card-img {
    height: 24rem;
    object-fit: cover;
}

.menu-row{
    padding: 2rem;
}

/* FOOTER */

.footer-logo {
    width: 200px;
    height: auto;
    
}

.footer{
    background-color: #4b4032;
    padding: 2rem;

}

.footer a {
    color: #ede2d1;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-text{
    color: #ede2d1;
}

.footer-title{
    color: #6f8352;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    
}

/* CONTATTI */

/* CONTATTI */
.contatti-section {
    background-color: #faf6ef;
}

.contatti-info p {
    color: #6b5f52;
    line-height: 1.75;
}

.contatti-info a {
    color: var(--btn-green);
    text-decoration: none;
}

.contatti-info a:hover {
    text-decoration: underline;
}

.contatti-info-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contatti-form .form-control {
    border: 1px solid rgba(75, 64, 50, 0.2);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #fff;
}

.contatti-form .form-control:focus {
    border-color: var(--btn-green);
    box-shadow: 0 0 0 3px rgba(127, 148, 96, 0.15);
}

.contatti-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}