.tasting-menu {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: #fffaf0;
    border: 2px double #94a7ae; /* Dusty Blue border */
    text-align: center;
}

.menu-item {
    margin-bottom: 40px;
    position: relative;
    cursor: default;
}

.menu-year {
    display: block;
    font-size: 0.8em;
    color: #ffdfc6; /* Peach */
    letter-spacing: 2px;
}

.menu-item h3 {
    font-family: "Georgia", serif;
    color: #7a8d94;
    margin: 5px 0;
    border-bottom: 1px solid #eee;
    display: inline-block;
}

.food-pop {
    position: absolute;
    display: none;
    width: 160px;
    right: -200px;
    top: -30px;
    z-index: 10;
}

.polaroid-mini {
    width: 100%;
    padding: 10px 10px 25px 10px;
    background: white;
    border: 1px solid #eee;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    transform: rotate(-3deg);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.polaroid-mini:hover {
    transform: scale(1.1) rotate(0deg) !important; /* Pop out more when hovered directly */
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.2);
}

.menu-item:hover::after {
    display: block;
}

/* Hover State: Reveal Polaroid */
.menu-item:hover .food-pop {
    display: block;
    animation: slideInRotate 0.4s ease-out forwards;
}

@keyframes slideInRotate {
    from {
        opacity: 0;
        transform: translate(-20px, 10px) rotate(0deg);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(-3deg);
    }
}

.menu-intro-container {
    background-color: #fffaf0; /* Matches your body color */
    padding: 60px 20px 40px;
    display: flex;
    justify-content: center;
}

.menu-placard {
    position: relative;
    max-width: 600px;
    padding: 40px;
    border: 1px solid #ffdfc6; /* Peach */
    outline: 4px double #94a7ae; /* Dusty Blue double-border */
    outline-offset: -15px;
    text-align: center;
}

.menu-main-title {
    font-family: "Georgia", serif;
    font-size: 2.5rem;
    color: #7a8d94; /* Darker Dusty Blue */
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 1px;
}

.menu-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.menu-divider .line {
    height: 1px;
    width: 60px;
    background-color: #ffdfc6;
}

.menu-divider .heart {
    color: #94a7ae;
    font-size: 1.2rem;
}

.menu-subtitle {
    font-family: "Georgia", serif;
    font-style: italic;
    color: #94a7ae;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Elegant corners to make it feel like a physical menu */
.placard-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffdfc6;
}
.placard-decoration.top {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}
.placard-decoration.bottom {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Course Headers */
.menu-course-section {
    margin-bottom: 80px;
}

.course-header {
    text-align: center;
    margin-bottom: 40px;
}

.course-title {
    font-family: "Georgia", serif;
    font-size: 1.8rem;
    color: #94a7ae; /* Dusty Blue */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.course-dates {
    font-family: "Georgia", serif;
    font-style: italic;
    color: #ffdfc6; /* Peach */
    font-size: 1.1rem;
}

/* Specific Menu Item Enhancements */
.menu-item {
    margin-bottom: 50px;
    transition: transform 0.3s ease;
}

.menu-item::after {
    content: "";
    position: absolute;
    top: 0;
    right: -200px; /* Covers the gap between text and photo */
    width: 200px;
    height: 100%;
    display: none;
}

/* The 2020 Proposal Highlight */
.highlight-dish {
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 223, 198, 0.2) 0%,
        rgba(255, 250, 240, 0) 100%
    );
    border-radius: 8px;
    border-left: 3px solid #ffdfc6; /* Peach Accent */
}

.highlight-dish h3 {
    color: #7a8d94; /* Darker Blue */
    font-weight: bold;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 900px) {
    /* Prevent the 'phantom' hover state on mobile */
    .food-pop {
        display: block !important; /* Always show the small Polaroid on mobile */
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        margin: 10px auto;
    }

    .menu-item::after {
        display: none !important;
    }

    html,
    body {
        overflow-x: hidden;
        position: relative;
    }

    .menu-item:hover {
        transform: none !important;
    }
}

.clickable-photo {
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-photo:hover {
    transform: scale(1.05) rotate(0deg) !important; /* Straighten slightly on hover */
}

/* Lightbox Background */
#food-lightbox.gallery-overlay {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 54, 59, 0.98); /* Deeper Dusty Blue from Family Page */
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#lightbox-video,
#lightbox-img {
    max-height: 70dvh;
    max-width: 80vw;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    position: relative;
    align-items: center;
}
#lightbox-video {
    height: auto !important;
    width: auto !important;
    align-self: center;
}

/* Full-size Image */
.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border: 15px solid white; /* Thick Polaroid border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
}
