/* ========== In Room Dining - Welcome Page ========== */
.ird-page {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('https://visionizemedia.nyc3.digitaloceanspaces.com/covers/1740052492403_Untitled%20design%20%289%29_11zon.jpg');
    background-size: cover;
    background-position: center;
    font-family: 'Inter', 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.ird-logo {
    margin-bottom: 40px;
    text-align: center;
}

.ird-logo img {
    max-width: 200px;
    height: auto;
}

.langs-card {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.lang-item {
    background: rgba(255, 255, 255, 0.91);
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-block;
}

.lang-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.lang-item p {
    margin: 0;
    color: #000;
}

/* ========== Popup Dialog ========== */
.ird-dialog {
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ird-dialog-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ird-dialog-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a2c3e;
}

.ird-dialog-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
}

.ird-dialog-close:hover {
    color: #333;
}

.ird-dialog-content {
    padding: 20px;
    text-align: center;
}

.ird-dialog-content img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ird-dialog-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

.ird-dialog-footer button {
    background: #d966c6;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 200px;
}

.ird-dialog-footer button:hover {
    background: #70025e;
}

/* ========== RTL Adjustments ========== */
html[dir="rtl"] .ird-dialog-header h3 {
    text-align: right;
}

/* ========== Menus Page (index) ========== */
.ird-menus {
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('https://visionizemedia.nyc3.digitaloceanspaces.com/covers/1740052492403_Untitled%20design%20%289%29_11zon.jpg');
    background-size: cover;
}

.menus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.menu-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #333;
}

.menu-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ========== Categories Page ========== */
.ird-categories {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('https://visionizemedia.nyc3.digitaloceanspaces.com/covers/1740052492403_Untitled%20design%20%289%29_11zon.jpg') !important;
    background-size: cover !important;
}

.category-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.category-card p {
    margin: 10px 0 0;
    color: #d966c6;
    font-weight: 600;
}

.back-to-menus {
    text-align: center;
    padding-bottom: 30px;
}

.back-to-menus a {
    display: inline-block;
    background-color: #ffffff;
    color: #333333;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 40px;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.back-to-menus a:hover {
    background-color: #f9f9f9;
    border-color: #d966c6;
    color: #d966c6;
    box-shadow: 0 8px 18px rgba(196, 154, 43, 0.15);
    transform: translateY(-3px);
}

html[dir="rtl"] .back-to-menus a {
    letter-spacing: 0;
}

/* ========== Items Page ========== */
.ird-category {
    padding: 20px;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
                url('https://visionizemedia.nyc3.digitaloceanspaces.com/covers/1740052492403_Untitled%20design%20%289%29_11zon.jpg') !important;
    background-size: cover !important;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.item-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.item-card:hover {
    transform: scale(1.02);
}

.item-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.item-info {
    padding: 15px;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.item-price {
    color: #d966c6;
    font-weight: 700;
}

/* ========== Modal Styles ========== */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

html[dir="rtl"] .modal-header .btn-close{
    margin: 0;
}

.modal-body img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modifier-group {
    margin-bottom: 15px;
}

.modifier-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.modifier-option {
    display: block;
    margin: 5px 0;
}

.condiment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.condiment-item input {
    width: 60px;
    text-align: center;
}

.total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d966c6;
    text-align: right;
    margin-top: 15px;
}

.btn-add {
    background: #d966c6;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    width: 100%;
}

.view-menu-wrapper {
    margin-top: 30px;
    text-align: center;
}

.view-menu-text {
    display: inline-block;
    background-color: #d966c6;
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.view-menu-text:hover {
    background-color: #70025e;
}


.empty-message {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 40px 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-message p {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.empty-message::before {
    content: "🍽️";
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}
