/* =====================================================================
   CARD COMPONENTS
   ---------------------------------------------------------------------
   Shared card styling for menu items, reviews, gallery tiles and other
   reusable blocks. Centralising these rules keeps page styles lean.
   ===================================================================== */

.hover-shadow {
    transition: var(--transition);
}

.hover-shadow:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.menu-card,
.menu-card.shadow-sm,
.menu-card.hover-shadow {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hover-shadow:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-card-title {
    font-family: var(--font-serif);
    color: var(--dark-color);
    font-size: 1.5rem;
}

.menu-card-description {
    color: var(--text-light);
    margin-bottom: 0;
}

.menu-card-price {
    font-weight: 600;
    color: var(--primary-color);
}

.menu-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-card-badges,
.dietary-icons {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.menu-card-badges .menu-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.dietary-icons {
    left: auto;
    right: var(--space-md);
    font-size: 1.1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    border-radius: 18px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    border-radius: inherit;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212, 165, 116, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
    z-index: 2;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.review-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.review-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.review-author strong {
    color: var(--primary-color);
}

.contact-info,
.stat-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: var(--transition);
}

.contact-info:hover,
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.stat-item p {
    margin: 0;
    font-weight: 500;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.reservation-info .info-item {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: var(--space-xs) 0;
    margin-bottom: var(--space-xs);
}

.reservation-info .info-item span,
.reservation-info .info-item a {
    color: var(--dark-color) !important;
    font-weight: 400;
}

.reservation-info .info-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .menu-card-content {
        padding: 1.25rem;
    }

    .contact-info {
        padding: 1rem;
    }
}

