/* Royal Menu Page Redesign Styles - Vertical List View */

/* Menu Section */
.dakshin-menu-section {
    padding: 120px 0 80px;
    background: #f9f9f9;
    /* Subtle off-white for premium feel */
    min-height: 100vh;
}

/* Navbar for Menu/Inner Pages */
body:has(.dakshin-menu-section) .dakshin-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2) !important;
    /* Gold border */
}

body:has(.dakshin-menu-section) .dakshin-nav-link {
    color: #1B4D3E !important;
    /* Deep Green */
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

body:has(.dakshin-menu-section) .dakshin-nav-link:hover {
    color: #DAA520 !important;
    /* Gold */
}

/* Menu Title */
.dakshin-menu-title {
    text-align: center;
    margin-bottom: 50px;
}

.dakshin-menu-title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1B4D3E;
    /* Deep Green */
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.dakshin-menu-title h2.modern {
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.dakshin-menu-title h2.modern::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #DAA520;
    /* Gold underline */
    margin: 10px auto 0;
}

.dakshin-menu-title p {
    color: #555;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Toggle Wrapper */
.dakshin-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.dakshin-toggle-container {
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    gap: 10px;
    border: 1px solid rgba(218, 165, 32, 0.2);
    /* Subtle Gold Border */
}

.dakshin-toggle-btn {
    padding: 12px 35px;
    border: none;
    background: transparent;
    color: #1B4D3E;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.dakshin-toggle-btn i {
    font-size: 16px;
    color: #DAA520;
    /* Gold Icon */
}

.dakshin-toggle-btn.active {
    background: linear-gradient(145deg, #000000 0%, #1B4D3E 50%, #0e1211 100%);
    /* Deep Green Gradient */
    color: #ffffff;
    /* White Text */
    box-shadow: 0 4px 15px rgba(27, 77, 62, 0.4);
    border: 1px solid #1B4D3E;
}

.dakshin-toggle-btn.active i {
    color: #ffffff;
}

.dakshin-toggle-btn:hover:not(.active) {
    background: rgba(218, 165, 32, 0.1);
    color: #1B4D3E;
}

/* Menu List Container (Grid View - Two in a Row) */
.dakshin-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    /* Two columns */
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    /* Increased width for 2 columns */
    margin: 0 auto;
}

.dakshin-card-col {
    animation: fadeInUp 0.5s ease;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Card - Horizontal Row Style */
.dakshin-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal Layout */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    min-height: 180px;
    align-items: stretch;
    height: 100%;
    /* Ensure full height in grid */
}

.dakshin-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #DAA520;
    /* Gold Border Highlight */
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    width: 240px;
    /* Fixed width for the image part */
    min-width: 240px;
    height: auto;
    overflow: hidden;
    background: #f4f4f4;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image covers the area fully */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dakshin-card:hover .card-img {
    transform: scale(1.05);
}

/* Badge - Royal Style */
.badge-pop {
    position: absolute;
    top: 10px;
    left: 10px;
    /* Moved to left for list view aesthetics */
    right: auto;
    background: #DAA520;
    /* Gold */
    color: #000;
    /* Black Text */
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    font-family: 'Inter', sans-serif;
}

/* Card Content */
.card-content {
    padding: 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    background: #fff;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B4D3E;
    /* Deep Green */
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1.2;
}

.dakshin-card:hover .card-title {
    color: #DAA520;
    /* Gold on Hover */
}

/* Diet Icons */
.diet-icon {
    font-size: 12px;
    margin-left: 15px;
    flex-shrink: 0;
    border: 1px solid;
    padding: 2px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.diet-icon.veg {
    color: #4CAF50;
    border-color: #4CAF50;
}

.diet-icon.veg::before {
    content: '\f111';
    /* Circle */
    font-family: 'FontAwesome';
    font-size: 10px;
}

.diet-icon.non-veg {
    color: #dc3545;
    border-color: #dc3545;
}

.diet-icon.non-veg::before {
    content: '\f111';
    /* Circle */
    font-family: 'FontAwesome';
    font-size: 10px;
}

/* Card Description */
.card-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 0;
    font-family: 'Inter', sans-serif;
    max-width: 90%;
}

/* Spice Level */
.spice-level {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #1B4D3E;
    font-weight: 600;
    margin-top: 15px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.spice-level i {
    color: #DAA520;
    /* Gold Pepper */
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dakshin-grid {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .dakshin-grid {
        grid-template-columns: 1fr;
        /* Switch to single column on tablet/mobile */
        gap: 25px;
        max-width: 800px;
        /* Constrain width for single column readablity */
    }
}

@media (max-width: 768px) {
    .dakshin-menu-title h2 {
        font-size: 2.5rem;
    }

    .dakshin-grid {
        gap: 20px;
    }

    /* Stack content vertically on mobile */
    .dakshin-card {
        flex-direction: column;
        min-height: auto;
    }

    .card-image-wrapper {
        width: 100%;
        height: 200px;
        min-width: 0;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-desc {
        max-width: 100%;
    }

    .dakshin-toggle-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .dakshin-menu-section {
        padding: 100px 0 60px;
    }

    .dakshin-menu-title h2 {
        font-size: 2rem;
    }

    .dakshin-toggle-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .dakshin-toggle-btn {
        width: 100%;
        justify-content: center;
    }
}