/*
Theme Name: KW Şi-Ka-Go Restaurant
Theme URI: https://www.dijitalqrmenu.com.tr/
Description: KW Şi-Ka-Go Restaurant
Author: KW Şi-Ka-Go Restaurant
Author URI: https://www.dijitalqrmenu.com.tr/
Template: hello-elementor
Version: 1.90.5
*/

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700;900&display=swap');

/* Menu Categories Grid */
.menu-categories-grid,
.menu-categories-grid * {
    font-family: 'Titillium Web', sans-serif !important;
}

.menu-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on desktop */
    gap: 20px;
    padding: 20px;
}

@media (max-width: 767px) {
    .menu-categories-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

/* Category Card Design */
.menu-category-card {
    position: relative;
    border-radius: 30px;
    /* Rounded corners as per image */
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/10;
    /* Typical card ratio */
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}



.menu-category-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.menu-category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}



.menu-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Gradient covers bottom half */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    /* Flex container for alignment */
    align-items: flex-end;
    /* Align items to bottom */
    justify-content: center;
    /* Center horizontally */
    padding-bottom: 20px;
}

.menu-category-title {
    color: #ffffff !important;
    font-size: 24px !important;
    /* Title size */
    font-weight: 700 !important;
    /* Bold text */
    text-transform: uppercase !important;
    margin: 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    /* Use a modern font */
    letter-spacing: 1px !important;
    text-align: center !important;
    width: 100% !important;
}

.menu-product-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.menu-product-card:last-child {
    border-bottom: none;
}

/* Image */
.menu-product-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px !important;
    background-size: cover;
    background-position: center;
    /* background-color: #f0f0f0; */
}

/* Info */
.menu-product-info,
.menu-product-info * {
    font-family: 'Titillium Web', sans-serif !important;
}

.menu-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Header line with Title and Price */
.menu-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.menu-product-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.menu-product-price {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 10px;
    line-height: 1.2;
}

/* Description */
.menu-product-desc {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

/* Custom Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: #fff;
    font-size: 18px;
    margin-top: 15px;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: transparent !important;
    border: none;
    outline: none;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    background: transparent !important;
    color: #fff !important;
}

/* Allergen Info Box Styles */
.allergen-info-box {
    background-color: #FFF3CD;
    padding: 30px 20px;
    text-align: center;
    margin-top: 30px;
    border-radius: 8px;
}

.allergen-info-box h3 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.allergen-info-box p {
    color: #000000;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.allergen-link {
    color: #000000;
    text-decoration: none !important;
    font-weight: 500;
    border: none !important;
    box-shadow: none !important;
}

.allergen-link:hover {
    text-decoration: none !important;
}

/* Product Badges */
.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.badge-new {
    color: #FF0000;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: slow-blink 2s infinite ease-in-out;
}

@keyframes slow-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.badge-popular {
    color: #D4AC0D;
    /* Easy on eyes golden yellow */
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;

    letter-spacing: 0.5px;
}

/* Category Badges */
.category-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.category-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    backdrop-filter: blur(4px);
    display: block;
}

.category-badge-new {
    background-color: #FF0000;
    color: #fff;
    animation: slow-blink 2s infinite ease-in-out;
}

.category-badge-popular {
    background-color: #FFD700;
    color: #000;
}