/* assets/css/styles.css */
:root {
    --orange: #FFBF65;
    --teal: #8DD7BF;
    --red: #FF5768;
    --blue: #00A5E3;
    --pink: #FF96C5;
}

.order-btn {
    transition: all 0.2s;
}
.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

#hero-order-btns .btn {
    min-width: 148px;
}

.menu-item .order-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.audio-btn {
    background: #fff;
    border: 2px solid #FF6B35;
    color: #FF6B35;
}

.audio-btn.playing {
    background: #FF6B35;
    color: white;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.parallax blockquote {
    font-family: Georgia, serif;
}

.gallery-overlay h5 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.review-card p {
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.5;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.4rem; }
    .parallax { height: 320px; background-attachment: scroll; }
}


#gallery {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#gallery .container-fluid {
    max-width: 100%;
}

#gallery-grid .col-6 {
    padding-left: 2px;
    padding-right: 2px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    margin-bottom: 4px;          /* small vertical spacing */
    border-radius: 0;            /* sharp corners for modern grid look */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: scale(1.025);
    box-shadow: 0 12px 32px rgba(255,107,53,0.22);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.25rem 1.25rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

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

.gallery-overlay h5 {
    font-size: 1.3rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.gallery-overlay p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.35;
}

/* Mobile – ensure images feel full-bleed but not distorted */
@media (max-width: 576px) {
    .gallery-item {
        margin-bottom: 2px;
    }
    .gallery-overlay h5 {
        font-size: 1.1rem;
    }
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}


/* Slow close animation */
#galleryModal.fade .modal-dialog {
    transition: all 0.6s ease-out;
}

#galleryModal.show .modal-dialog {
    transform: scale(1);
}

#galleryModal.fade:not(.show) .modal-dialog {
    transform: scale(0.92);
    opacity: 0;
}

.modal-dialog.closing {
    transform: scale(0.92) !important;
    opacity: 0 !important;
}


/* Better mobile stacking */
@media (max-width: 576px) {
    #modal-img {
        max-height: 45vh !important;
    }
    .modal-footer {
        padding: 1.5rem !important;
    }
    .description-box {
        font-size: 1rem !important;
    }
    .order-btn {
        flex: 1 1 48%;
        margin: 4px 2px !important;
    }
}