body {
    background-color: #f5f5f7;
    color: #1d1d1f;
}

::selection {
    background-color: #C5A059;
    color: #fff;
}

.hero-overlay {
    background: radial-gradient(ellipse at center top, transparent 0%, rgba(29, 29, 31, 0.75) 80%);
}

#navbar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    position: relative;
    color: #1d1d1f;
    transition: color 0.5s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #C5A059;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-link:hover {
    color: #C5A059;
}
.nav-link:hover::after {
    transform: scaleX(1);
}

.logo-fallback {
    display: flex !important;
}
.logo-fallback.hidden {
    display: none !important;
}

.img-frantoio {
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.map-light {
    filter: grayscale(100%) contrast(100%);
}

#booking-modal.is-open { display: flex; }
#booking-modal.is-open #booking-backdrop { opacity: 1; }
#booking-modal.is-open #booking-panel { opacity: 1; transform: scale(1); }

#mobile-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
}

.meal-btn {
    border-color: rgba(0,0,0,0.08);
    background-color: #ffffff;
}
.meal-btn .meal-icon-wrap {
    background-color: #f5f5f7;
    color: #1d1d1f;
}
.meal-btn:hover {
    border-color: rgba(197, 160, 89, 0.4);
}
.meal-btn.active {
    border-color: #C5A059;
    background-color: rgba(197, 160, 89, 0.06);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.12);
}
.meal-btn.active .meal-icon-wrap {
    background-color: #C5A059;
    color: #ffffff;
}

body.modal-open { overflow: hidden; }

#booking-date::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
}

.meal-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.06);
    padding: 18px 24px;
    z-index: 9999;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}
#cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-text {
    font-size: 0.85rem;
    color: #6b6b6b;
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
}
.cookie-text strong {
    color: #1d1d1f;
}
.cookie-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-links a {
    font-size: 0.8rem;
    color: #C5A059;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.cookie-links a:hover {
    color: #b8913a;
    text-decoration: underline;
}
.btn-cookie-accept {
    background: #C5A059;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.btn-cookie-accept:hover {
    background: #b8913a;
}

@media (max-width: 640px) {
    #cookie-banner {
        padding: 10px 16px;
    }
    .cookie-inner {
        flex-direction: row;
        gap: 8px;
    }
    .cookie-text {
        font-size: 0.75rem;
        min-width: auto;
        flex: 1 1 auto;
        line-height: 1.4;
    }
    .cookie-links {
        gap: 8px;
    }
    .btn-cookie-accept {
        padding: 7px 16px;
        font-size: 0.7rem;
    }
    .cookie-links a {
        font-size: 0.7rem;
    }
}

.hero-bg {
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-text-delay-1 { animation-delay: 0.3s; }
.hero-text-delay-2 { animation-delay: 0.6s; }
.hero-text-delay-3 { animation-delay: 0.9s; }
.hero-text-delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-glass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-tap-highlight-color: transparent;
}
.btn-glass:active {
    transform: scale(0.97);
}
.btn-glass-white {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
}
.btn-glass-white:hover {
    background: rgba(255,255,255,0.18);
}
.btn-glass-gold {
    background: rgba(197, 160, 89, 0.25);
    color: #fff;
    border: 1px solid rgba(197, 160, 89, 0.3);
}
.btn-glass-gold:hover {
    background: rgba(197, 160, 89, 0.35);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.section-subtitle {
    color: #C5A059;
    letter-spacing: 0.25em;
}
.section-title {
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.section-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gold-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C5A059, transparent);
    margin: 12px auto;
}
