/* Custom overrides for Catering Antipasti */

:root {
    --color-olive: 108 31 43;
    --color-sangiovese: 108 31 43;
    --color-verona: 245 230 211;
    --color-terracotta: 232 185 68;
    --color-seagray: 122 140 142;
    --color-vineyard: 108 31 43;
    --color-cream: 255 255 255;
}

.nav-logo__img {
    height: 72px;
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

/* Palette driven overrides so Tailwind utility classes stay in sync */
.text-olive {
    color: rgb(var(--color-olive) / 1) !important;
}

.text-olive\/90 {
    color: rgb(var(--color-olive) / 0.9) !important;
}

.text-olive\/80 {
    color: rgb(var(--color-olive) / 0.8) !important;
}

.text-sangiovese,
.hover\:text-sangiovese:hover {
    color: rgb(var(--color-sangiovese) / 1) !important;
}

.text-verona {
    color: rgb(var(--color-verona) / 1) !important;
}

.text-cream {
    color: rgb(var(--color-cream) / 1) !important;
}

.text-cream\/90 {
    color: rgb(var(--color-cream) / 0.9) !important;
}

.text-seagray {
    color: rgb(var(--color-seagray) / 1) !important;
}

.bg-verona {
    background-color: rgb(var(--color-verona) / 1) !important;
}

.bg-verona\/40 {
    background-color: rgb(var(--color-verona) / 0.4) !important;
}

.bg-verona\/60 {
    background-color: rgb(var(--color-verona) / 0.6) !important;
}

.hover\:bg-verona:hover {
    background-color: rgb(var(--color-verona) / 1) !important;
}

.bg-sangiovese {
    background-color: rgb(var(--color-sangiovese) / 1) !important;
}

.hover\:bg-sangiovese\/90:hover {
    background-color: rgb(var(--color-sangiovese) / 0.9) !important;
}

.bg-vineyard {
    background-color: rgb(var(--color-vineyard) / 1) !important;
}

.bg-terracotta {
    background-color: rgb(var(--color-terracotta) / 1) !important;
}

.border-terracotta {
    border-color: rgb(var(--color-terracotta) / 1) !important;
}

.border-olive {
    border-color: rgb(var(--color-olive) / 1) !important;
}

.border-olive\/10 {
    border-color: rgb(var(--color-olive) / 0.1) !important;
}

.border-sangiovese,
.focus\:border-sangiovese:focus {
    border-color: rgb(var(--color-sangiovese) / 1) !important;
}

.border-seagray {
    border-color: rgb(var(--color-seagray) / 1) !important;
}

.menu-type-btn {
    border: 1px solid rgb(var(--color-olive) / 0.25);
}

.menu-type-btn.active {
    border-color: transparent;
}

.prose ul {
    list-style: none;
    padding-left: 0;
}

.prose ul li::before {
    content: "•";
    color: rgb(var(--color-sangiovese) / 1);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.menu-card-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.request-proposal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    background: rgb(var(--color-sangiovese) / 1);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    box-shadow: 0 8px 18px rgb(var(--color-sangiovese) / 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.request-proposal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgb(var(--color-sangiovese) / 0.5), 0 0 20px rgba(232, 185, 68, 0.45);
}

.request-proposal-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.2);
    font-size: 0.95rem;
}

.service-card ul li {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.service-card {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.service-card__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: saturate(0.9);
    transition: transform 0.6s ease;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(92, 74, 60, 0.75));
}

.service-card__content {
    position: relative;
    z-index: 1;
}

.service-card:hover .service-card__background {
    transform: scale(1.12);
}

.reference-gallery-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 35px rgb(var(--color-olive) / 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reference-gallery-card__media {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.reference-gallery-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reference-gallery-card:hover .reference-gallery-card__media img {
    transform: scale(1.08);
}

.reference-gallery-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgb(var(--color-verona) / 1);
    color: rgb(var(--color-olive) / 0.9);
}

.ready-highlight {
    position: relative;
    overflow: hidden;
}

.ready-highlight::before,
.ready-highlight::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 60%);
    animation: readyGlow 12s ease-in-out infinite;
    opacity: 0.4;
}

.ready-highlight::after {
    animation-duration: 10s;
    animation-delay: -3s;
    transform: rotate(45deg);
}

.ready-highlight__content {
    position: relative;
    z-index: 1;
}

.ready-badge {
    animation: badgeFloat 6s ease-in-out infinite;
}

.ready-stat {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 1rem 2rem;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 10px 25px rgb(var(--color-olive) / 0.15);
    color: rgb(var(--color-olive) / 1);
}

.ready-stat span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@keyframes readyGlow {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }
    50% {
        transform: translate(10%, 10%) scale(1.1);
    }
    100% {
        transform: translate(-5%, 5%) scale(1);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    color: rgb(var(--color-olive) / 1);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    width: 100%;
    z-index: 80;
}

.cookie-banner__body {
    padding: 1.5rem;
}

.cookie-banner__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-banner__text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgb(var(--color-olive) / 0.8);
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cookie-btn {
    flex: 1;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.cookie-btn--primary {
    background: rgb(var(--color-sangiovese) / 1);
    color: rgb(var(--color-cream) / 1);
    border: none;
}

.cookie-btn--secondary {
    background: transparent;
    border: 1px solid rgb(var(--color-olive) / 0.4);
    color: rgb(var(--color-olive) / 1);
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .cookie-banner__actions {
        flex-direction: column;
    }
}
