/* ==========================================================================
   AASHRAYAM HOTELS & RESORTS — DINING PAGE STYLES (.dp-*)
   File: css/dining.css
   Scoped to prevent global CSS leaks & ensure 100% compatibility with styles.css
   ========================================================================== */

/* Resets & Body Protection against styles.css color inheritance */
body.dp-dining-page {
    margin: 0;
    padding: 0;
    color: #333333;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Sections & Containers
   -------------------------------------------------------------------------- */
.dp-section-light {
    padding: 80px 0;
    background: #ffffff;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.dp-section-pastel {
    padding: 80px 0;
    background-color: #eef3f7;
    background-image:
        radial-gradient(circle at top left, #f9fafc, transparent 70%),
        radial-gradient(circle at bottom right, #f9fafc, transparent 70%);
    background-blend-mode: lighten;
    border-top: 1px solid rgba(71, 139, 104, 0.12);
    border-bottom: 1px solid rgba(71, 139, 104, 0.12);
    color: #333333;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* --------------------------------------------------------------------------
   Typography & Decorative Accents
   -------------------------------------------------------------------------- */
.dp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #478b68;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dp-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: #478b68;
}

.dp-eyebrow--center::after {
    content: "";
    width: 26px;
    height: 2px;
    background: #478b68;
}

.dp-heading {
    color: #18372d;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.dp-line {
    width: 55px;
    height: 2.5px;
    background: linear-gradient(90deg, #478b68, #b89b2c);
    border-radius: 2px;
    margin-bottom: 22px;
}

.dp-line--center {
    margin-left: auto;
    margin-right: auto;
}

.dp-text {
    color: #555e58;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    line-height: 1.85;
    margin: 0 0 18px;
}

/* --------------------------------------------------------------------------
   Section 1: Intro Story & Ambiance
   -------------------------------------------------------------------------- */
.dp-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 4.5vw, 60px);
    align-items: center;
}

.dp-highlights-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.dp-stat-card {
    background: #f8faf8;
    border: 1px solid #e3ebe5;
    border-top: 3px solid #478b68;
    border-radius: 6px;
    padding: 16px 12px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(24, 55, 45, 0.08);
}

.dp-stat-num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    color: #2e7d32;
    line-height: 1.2;
}

.dp-stat-lbl {
    display: block;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dp-intro-visual {
    position: relative;
}

.dp-main-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(24, 55, 45, 0.12);
    border: 5px solid #ffffff;
    display: block;
    background-color: #e2ede5;
}

.dp-floating-note {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 3.5px solid #478b68;
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.dp-floating-note strong {
    display: block;
    color: #18372d;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.dp-floating-note span {
    color: #66726c;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   Section 2: Three Culinary Pillars
   -------------------------------------------------------------------------- */
.dp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 38px;
}

.dp-pillar-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e4ece7;
    box-shadow: 0 12px 30px rgba(24, 55, 45, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dp-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(24, 55, 45, 0.12);
}

.dp-pillar-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e9eee8;
}

.dp-pillar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.dp-pillar-card:hover .dp-pillar-img-wrap img {
    transform: scale(1.06);
}

.dp-pillar-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.94);
    color: #18372d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dp-pillar-body {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dp-pillar-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    color: #18372d;
    margin: 0 0 10px;
    line-height: 1.3;
}

.dp-pillar-body p {
    color: #5c6660;
    font-size: 13.5px;
    line-height: 1.75;
    margin: 0 0 18px;
    flex: 1;
}

.dp-pillar-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dp-pillar-chips span {
    font-size: 10.5px;
    font-weight: 500;
    color: #478b68;
    background: #f3f8f5;
    border: 1px solid #dfeae3;
    padding: 4px 10px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Section 3: Interactive Curated Menu Board
   -------------------------------------------------------------------------- */
.dp-menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 32px 0 38px;
}

.dp-tab-btn {
    padding: 11px 22px;
    border-radius: 50px;
    border: 1px solid #d5e2da;
    background: #f8faf8;
    color: #36493f;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.dp-tab-btn:hover {
    border-color: #478b68;
    color: #478b68;
    background: #ffffff;
}

.dp-tab-btn.is-active {
    background: #478b68;
    border-color: #478b68;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(71, 139, 104, 0.28);
}

.dp-menu-panel {
    display: none;
    animation: dpFadeIn 0.35s ease;
}

.dp-menu-panel.is-active {
    display: block;
}

@keyframes dpFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dp-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 36px;
    background: #fbfcfa;
    border: 1px solid #e3ece6;
    border-radius: 10px;
    padding: 34px 36px;
    box-shadow: 0 12px 32px rgba(24, 55, 45, 0.04);
}

.dp-dish-item {
    padding-bottom: 14px;
    border-bottom: 1px dashed #e1e9e4;
}

.dp-dish-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

/* Veg / Non-Veg FSSAI-style indicator dot */
.dp-diet-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1.5px solid #2e7d32;
    border-radius: 2px;
    flex-shrink: 0;
    transform: translateY(1px);
}

.dp-diet-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2e7d32;
}

.dp-diet-dot--nonveg {
    border-color: #b71c1c;
}

.dp-diet-dot--nonveg::after {
    background: #b71c1c;
}

.dp-dish-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #18372d;
    line-height: 1.35;
}

.dp-dish-dots {
    flex: 1;
    border-bottom: 1px dotted #c5d2ca;
    min-width: 16px;
}

.dp-dish-price {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #2e7d32;
    white-space: nowrap;
}

.dp-dish-price--seasonal {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(184, 155, 44, 0.14);
    color: #7c6510;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 600;
}

.dp-dish-desc {
    margin: 6px 0 0 24px;
    font-size: 12.5px;
    color: #6a756e;
    line-height: 1.55;
    font-family: 'Poppins', sans-serif;
}

.dp-menu-footnote {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #f4f8f5;
    border-radius: 6px;
    border-left: 3.5px solid #478b68;
    font-size: 12px;
    color: #55605a;
    font-family: 'Poppins', sans-serif;
}

/* --------------------------------------------------------------------------
   Section 4: Group Dining & CTA Banner
   -------------------------------------------------------------------------- */
.dp-cta-card {
    background: #ffffff;
    border: 1px solid #dfeae3;
    border-radius: 12px;
    padding: 42px 46px;
    box-shadow: 0 16px 40px rgba(24, 55, 45, 0.06);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: center;
}

.dp-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.dp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #478b68;
    color: #ffffff !important;
    border: 1.5px solid #478b68;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(71, 139, 104, 0.26);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.dp-btn-primary:hover,
.dp-btn-primary:focus {
    background: #356f52;
    border-color: #356f52;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(71, 139, 104, 0.32);
}

.dp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    background: transparent;
    color: #18372d !important;
    border: 1.5px solid #478b68;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.dp-btn-outline:hover,
.dp-btn-outline:focus {
    background: #f2f7f4;
    color: #18372d !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive Layout & Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .dp-intro-grid,
    .dp-pillars-grid,
    .dp-menu-grid,
    .dp-cta-card {
        grid-template-columns: 1fr;
    }
    .dp-cta-btns {
        justify-content: flex-start;
    }
    .dp-main-img {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .dp-section-light,
    .dp-section-pastel {
        padding: 55px 0;
    }
    .dp-highlights-row {
        grid-template-columns: 1fr;
    }
    .dp-menu-grid {
        padding: 22px 18px;
    }
    .dp-dish-dots {
        display: none;
    }
    .dp-dish-head {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .dp-dish-desc {
        margin-left: 0;
        margin-top: 8px;
    }
    .dp-cta-card {
        padding: 28px 22px;
    }
    .dp-btn-primary,
    .dp-btn-outline {
        width: 100%;
        justify-content: center;
    }
}
