/* --- Slider Container Styling --- */
.menu-swiper {
    width: 100%;
    max-width: 100vw;
    padding: 20px 0 50px 0;
    overflow: hidden;
    position: relative; /* Added to keep navigation absolute to container */
}

.swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    transition-timing-function: linear; /* Ensures smooth auto-slide */
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    flex-shrink: 0; /* Prevents cards from collapsing on mobile */
    width: 280px;  /* Base width for mobile */
}

/* --- Card Styling --- */
.menu-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.card-img-wrapper {
    position: relative;
    cursor: grab; /* Shows users they can drag/slide */
    height: 250px;
    overflow: hidden;
    display: block;
}

.card-img-wrapper:active {
    cursor: grabbing; /* Shows grab state during interaction */
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-img-wrapper:hover .view-overlay {
    opacity: 1;
}

.card-info {
    padding: 20px;
}

.card-tag {
    color: #e67e22;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.card-info h3 {
    margin: 10px 0;
    font-size: 1.2rem;
}

/* --- Navigation --- */
.swiper-button-next, .swiper-button-prev {
    color: #2d5a27 !important;
}

/* --- Lightbox Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    margin-top: 50px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    cursor: pointer;
}

/* --- Download Button --- */
.download-container {
    text-align: center;
    margin-top: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #2d5a27;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.download-btn:hover {
    background-color: #1e3d1a;
}