/* ======================================== */
/* MENU SECTION - MATCHING ROOM SECTION THEME */
/* ======================================== */

.mess-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8dcc8 0%, #f5efe6 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.mess-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mess-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(139, 115, 85, 0.15);
    color: #8B6B4A;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    color: #4A3228;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title span {
    color: #8B6B4A;
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #8B6B4A, #C49A6C);
    border-radius: 10px;
    opacity: 0.3;
}

.section-subtitle {
    color: #5A4A3A;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.badge-accent {
    color: #8B6B4A;
    background: rgba(139, 115, 85, 0.12);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid rgba(139, 115, 85, 0.15);
    transition: all 0.3s ease;
}

.badge-accent:hover {
    background: rgba(139, 115, 85, 0.2);
    transform: translateY(-2px);
}

/* ======================================== */
/* MENU CARDS - UPDATED COLORS */
/* ======================================== */

.menu-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #8B6B4A;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.12);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 115, 85, 0.2);
    border-color: #C49A6C;
}

/* Menu Day Header - Updated to Warm Theme */
.menu-day-header {
    background: linear-gradient(135deg, #4A3228 0%, #6B5544 50%, #8B6B4A 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.menu-day-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ======================================== */
/* ✅ ICONS - REAL/COLORED */
/* ======================================== */

.menu-day-header i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    /* Real colors for each icon */
}

/* Day-specific icon colors */
.menu-card:nth-child(1) .menu-day-header i {
    color: #FF6B35;
    /* Monday - Orange */
}

.menu-card:nth-child(2) .menu-day-header i {
    color: #4ECDC4;
    /* Tuesday - Teal */
}

.menu-card:nth-child(3) .menu-day-header i {
    color: #FFD93D;
    /* Wednesday - Yellow */
}

.menu-card:nth-child(4) .menu-day-header i {
    color: #6C5CE7;
    /* Thursday - Purple */
}

.menu-card:nth-child(5) .menu-day-header i {
    color: #FF6B6B;
    /* Friday - Red */
}

.menu-card:nth-child(6) .menu-day-header i {
    color: #A8E6CF;
    /* Saturday - Mint Green */
}

.menu-card:nth-child(7) .menu-day-header i {
    color: #FF8A5C;
    /* Sunday - Peach */
}

/* Hover effect on icons */
.menu-card:hover .menu-day-header i {
    transform: scale(1.2) rotate(5deg);
    transition: all 0.4s ease;
}

.menu-day-header h4 {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.menu-day-header .day-date {
    font-size: 12px;
    opacity: 0.8;
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Menu Body */
.menu-body {
    padding: 25px;
    background: #ffffff;
}

.meal-item {
    margin-bottom: 18px;
    border-bottom: 1px dashed rgba(139, 115, 85, 0.15);
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

.meal-item:last-child {
    border: none;
    margin-bottom: 0;
}

.meal-item:hover {
    padding-left: 5px;
    border-bottom-color: rgba(139, 115, 85, 0.3);
}

.meal-item label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #8B6B4A;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.meal-item label i {
    margin-right: 5px;
    font-size: 14px;
    color: #C49A6C;
}

.meal-item span {
    font-size: 15px;
    color: #4A3228;
    font-weight: 500;
    display: block;
}

/* Meal Type Indicators */
.meal-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.meal-type.veg {
    background: rgba(139, 115, 85, 0.12);
    color: #8B6B4A;
}

.meal-type.non-veg {
    background: rgba(196, 154, 108, 0.15);
    color: #A8825A;
}

.meal-type.special {
    background: linear-gradient(135deg, #8B6B4A, #C49A6C);
    color: white;
}

/* ======================================== */
/* TREAT CARD - UPDATED */
/* ======================================== */

.treat-card {
    background: linear-gradient(135deg, #4A3228 0%, #6B5544 50%, #8B6B4A 100%);
    border: 2px solid #8B6B4A;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.25);
}

.treat-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.treat-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 154, 108, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.treat-card .menu-day-header {
    background: transparent;
}

.treat-card .menu-body {
    background: transparent;
    color: white;
}

.treat-card .meal-item label {
    color: rgba(255, 255, 255, 0.8);
}

.treat-card .meal-item span {
    color: rgba(255, 255, 255, 0.95);
}

.treat-card .meal-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ======================================== */
/* BUTTONS - MATCHING ROOM SECTION */
/* ======================================== */

.btn-menu-primary {
    background: linear-gradient(135deg, #8B6B4A 0%, #A8825A 100%);
    color: #FFFFFF !important;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #8B6B4A;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
}

.btn-menu-primary:hover {
    background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%);
    color: #FFFFFF !important;
    border: 2px solid #6B5544;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.35);
}

.btn-menu-secondary {
    background: transparent;
    color: #8B6B4A !important;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #8B6B4A;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
}

.btn-menu-secondary:hover {
    background: rgba(139, 115, 85, 0.1);
    color: #6B5544 !important;
    border-color: #6B5544;
    transform: translateY(-3px);
}

.special-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #8B6B4A, #C49A6C);
    color: #ffffff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
    z-index: 2;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Animation for Cards */
.menu-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-card:nth-child(2) {
    animation-delay: 0.2s;
}

.menu-card:nth-child(3) {
    animation-delay: 0.3s;
}

.menu-card:nth-child(4) {
    animation-delay: 0.4s;
}

.menu-card:nth-child(5) {
    animation-delay: 0.5s;
}

.menu-card:nth-child(6) {
    animation-delay: 0.6s;
}

.menu-card:nth-child(7) {
    animation-delay: 0.7s;
}

/* Treat Icon */
.treat-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1;
}

/* Dietary Info Tags */
.dietary-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.dietary-tag {
    background: rgba(139, 115, 85, 0.1);
    color: #8B6B4A;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treat-card .dietary-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media (max-width: 1024px) {
    .mess-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mess-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .menu-card {
        border-radius: 15px;
    }

    .menu-day-header h4 {
        font-size: 1.1rem;
    }

    .menu-body {
        padding: 20px;
    }

    .meal-item span {
        font-size: 14px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }

    .btn-menu-primary {
        padding: 14px 30px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .mess-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 11px;
        padding: 5px 15px;
    }

    .badge-accent {
        font-size: 12px;
        padding: 6px 15px;
    }

    .menu-card {
        border-radius: 12px;
    }

    .menu-day-header {
        padding: 15px;
    }

    .menu-day-header i {
        font-size: 24px;
    }

    .menu-day-header h4 {
        font-size: 1rem;
    }

    .menu-body {
        padding: 15px;
    }

    .meal-item {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .meal-item label {
        font-size: 11px;
    }

    .meal-item span {
        font-size: 13px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .special-badge {
        font-size: 10px;
        padding: 4px 30px;
        top: 10px;
        right: -25px;
    }

    .btn-menu-primary {
        padding: 12px 25px;
        font-size: 11px;
    }

    .btn-menu-secondary {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* ======================================== */
/* HOVER EFFECTS */
/* ======================================== */

.meal-item {
    position: relative;
}

.meal-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #8B6B4A, #C49A6C);
    transition: width 0.3s ease;
}

.meal-item:hover::after {
    width: 100%;
}

/* ======================================== */
/* ROOT VARIABLES - WARM THEME */
/* ======================================== */

:root {
    --mess-primary: #8B6B4A;
    --mess-primary-light: #A8825A;
    --mess-primary-lighter: #C49A6C;
    --mess-primary-dark: #6B5544;
    --mess-primary-darker: #4A3228;
    --mess-bg-start: #e8dcc8;
    --mess-bg-end: #f5efe6;
}