/* 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; }
}

/* Accessibility preferences. The data attribute is set before paint. */
html[data-a11y~="readable"] body,
html[data-a11y~="readable"] button,
html[data-a11y~="readable"] input,
html[data-a11y~="readable"] select {
    font-family: "Atkinson Hyperlegible", system-ui, sans-serif !important;
}

html[data-a11y~="spacing"] body {
    letter-spacing: 0.06em;
    word-spacing: 0.14em;
    line-height: 1.9;
}

html[data-a11y~="contrast"] body,
html[data-a11y~="contrast"] .bg-white,
html[data-a11y~="contrast"] .bg-light,
html[data-a11y~="contrast"] .review-card,
html[data-a11y~="contrast"] .modal-content,
html[data-a11y~="contrast"] .menu-item {
    background: #000 !important;
    color: #fff !important;
}
html[data-a11y~="contrast"] .text-muted,
html[data-a11y~="contrast"] .text-dark,
html[data-a11y~="contrast"] h1,
html[data-a11y~="contrast"] h2,
html[data-a11y~="contrast"] h3,
html[data-a11y~="contrast"] p,
html[data-a11y~="contrast"] li {
    color: #fff !important;
}
html[data-a11y~="contrast"] a {
    color: #ffe14a !important;
}
html[data-a11y~="contrast"] .btn-outline-dark,
html[data-a11y~="contrast"] .btn-outline-secondary {
    color: #fff !important;
    border-color: #fff !important;
}
html[data-a11y~="contrast"] .btn-close {
    filter: invert(1);
}

html[data-a11y~="links"] a {
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
    outline: 2px solid #FFBF65;
    outline-offset: 3px;
}

html[data-a11y~="cursor"],
html[data-a11y~="cursor"] * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23000' stroke='%23fff' stroke-width='2' d='M8 4l28 22H24l8 16-6 3-8-16H8z'/%3E%3C/svg%3E") 4 2, auto !important;
}

html[data-a11y~="motion"] #youtube-bg { display: none !important; }
html[data-a11y~="motion"] #hero { background: #1a120e; }
html[data-a11y~="motion"] .parallax { background-attachment: scroll !important; }
html[data-a11y~="motion"] *,
html[data-a11y~="motion"] *::before,
html[data-a11y~="motion"] *::after {
    animation: none !important;
    transition: none !important;
}

.accessibility-btn:focus-visible,
.a11y-jump:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid #FFBF65;
    outline-offset: 3px;
}

#accModal .btn[aria-pressed="true"] {
    background: #FF6B35;
    border-color: #FF6B35;
    color: #fff;
}


#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;
    }
}
.modal-content {
    background:rgb(205, 255, 124) ;
}


.order-btn {
    border-radius: 5px;
}