/* ---------------------------------------------------------
   FOODBOARD SECTION
--------------------------------------------------------- */

.fs-foodboard {
    padding: 40px 20px;
}

.fs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.fs-foodboard-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fs-foodboard-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* ---------------------------------------------------------
   GRID
--------------------------------------------------------- */

.fs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 900px) {
    .fs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fs-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   CARD
--------------------------------------------------------- */

.fs-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
}

/* IMAGE WRAPPER */
.fs-card-media {
    overflow: hidden;
    border-radius: 16px 16px 0 0;

}

.fs-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s ease;
    will-change: transform;
}

/* Zoom effect */
.fs-card:hover .fs-card-media img {
    transform: scale(1.08);
}

/* ---------------------------------------------------------
   CARD BODY
--------------------------------------------------------- */

.fs-card-body {
    padding: 16px;
}

/* Title + Button in a row */
.fs-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

/* Title */
.fs-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    color: #111827;
}

/* Button */
.fs-btn {
    padding: 12px 8px;
    border: 1px solid #A7F3D0;
    background: #FFFFFF;
    color: #0a6d4a;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background .2s, border-color .2s;
}

.fs-btn:hover {
    background: #daf7e9;
    border-color: #9bdfc5;
    color: #0a6d4a;
}

/* ---------------------------------------------------------
   POPUP
--------------------------------------------------------- */

.fs-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.fs-modal.open {
    display: block;
    animation: fadeIn .25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fs-modal-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.55);
}

/* Popup container */
.fs-modal-inner {
    position: relative;
    background: #fff;
    width: 92%;
    max-width: 900px;
    margin: 60px auto;
    padding: 25px;
    border-radius: 22px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    animation: slideUp .35s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* Close button */
.fs-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 34px;
    background: #ECFDF5;
    border: none;
    cursor: pointer;
    color: #047857;
    padding: 2px 10px;
    border-radius: 8px;
    transition: background .2s;
}

.fs-modal-close:hover {
    background: #059669;
    color: #FFFFFF;
}

.fs-modal-content img {
    /*display: none;*/
    /*width: 100%;*/
    border-radius: 14px !important;
    margin-bottom: 18px;
}

/* TITLE */
.fs-modal-right h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f1f1f;
}

/* DESCRIPTION */
.fs-modal-content p,
#fs-modal-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

/* Prevent body scroll when popup open */
body.fs-modal-open {
    overflow: hidden;
}

/* --------------------------------------------
   GLASS / FROSTED MINIMAL SCROLLBAR
-------------------------------------------- */

/* Remove arrows/buttons */
.fs-modal-inner::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* Thin scrollbar */
.fs-modal-inner::-webkit-scrollbar {
    width: 6px;
}

/* Hide track completely */
.fs-modal-inner::-webkit-scrollbar-track {
    background: transparent;
}

/* GLASS thumb */
.fs-modal-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);          /* frosted glass */
    backdrop-filter: blur(6px);                     /* real glass effect */
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);     /* subtle glass edge */
    box-shadow: 0 0 6px rgba(0,0,0,0.15);            /* soft glow */
    transition: background 0.2s ease;
}

.fs-modal-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);            /* brighter when hovered */
}

/* Firefox support */
.fs-modal-inner {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.35) transparent;
}




/* ---------------------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------------------- */
@media (max-width: 820px) {

    .fs-modal-content img {
        max-height: 260px;
    }
}
