/* =========================================
   SINGLE YAGYA DETAIL PAGE STYLES
   ========================================= */

/* 1. HERO SECTION */
.yagya-detail-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 0;
}

.yagya-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(27, 77, 62, 0.7), rgba(15, 61, 46, 0.9));
}

.yagya-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.yagya-breadcrumb {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 15px;
    font-family: var(--font-body, "Outfit", sans-serif);
}

.yagya-title {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.yagya-subtitle {
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    color: var(--gold-accent, #C9A24D);
    font-style: italic;
    letter-spacing: 1px;
}

/* 2. CONTAINER & GRID */
.yagya-detail-container {
    background-color: #fcfcfc;
    /* Texture base */
    padding-bottom: 80px;
}

/* Fix for flex stacking issue */
.yagya-layout-wrapper {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.yagya-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-top: -50px;
    /* Overlap Hero */
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-right: 1px solid #eee;
}

.info-card:last-child {
    border-right: none;
}

.info-card i {
    font-size: 2rem;
    color: var(--gold-accent, #C9A24D);
    width: 50px;
    text-align: center;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-text .value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    font-family: var(--font-heading, "Cinzel", serif);
    line-height: 1.4;
}

.text-green {
    color: var(--primary-green, #1B4D3E) !important;
}

/* 3. MAIN LAYOUT (2 COLUMNS) */
.yagya-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

/* Main Col Content */
.yagya-section {
    margin-bottom: 50px;
}

.section-heading {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.8rem;
    color: var(--primary-green, #1B4D3E);
    margin-bottom: 15px;
}

.section-divider-left {
    height: 3px;
    width: 60px;
    background: var(--gold-accent, #C9A24D);
    margin-bottom: 25px;
}

.yagya-rich-text {
    font-family: var(--font-body, "Outfit", sans-serif);
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.yagya-rich-text p {
    margin-bottom: 20px;
}

.yagya-rich-text h3 {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.4rem;
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Generic List Styling (Matches previous .benefit-list) */
.yagya-rich-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.yagya-rich-text li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.yagya-rich-text li:before {
    content: '\f058';
    /* FontAwesome Check Circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-green, #1B4D3E);
    position: absolute;
    left: 0;
    top: 3px;
}

/* Sidebar Seva Options */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.seva-booking-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(27, 77, 62, 0.1);
}

.box-title {
    font-family: var(--font-heading, "Cinzel", serif);
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--primary-green, #1B4D3E);
}

.seva-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.seva-card:hover {
    border-color: var(--gold-accent, #C9A24D);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.seva-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.seva-title {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.seva-price {
    background: var(--primary-green, #1B4D3E);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.seva-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.seva-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.seva-includes span {
    font-size: 0.75rem;
    background: #eef5f3;
    color: var(--primary-green, #1B4D3E);
    padding: 3px 8px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.seva-btn {
    width: 100%;
    background: var(--gold-accent, #C9A24D);
    color: #fff;
    /* White text on Gold */
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.seva-btn:hover {
    background: var(--primary-green, #1B4D3E);
    /* Green on Hover */
    box-shadow: 0 5px 15px rgba(27, 77, 62, 0.3);
}

.trust-badge {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 4. RELATED YAGYAS */
.related-yagyas-section {
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-content {
    padding: 15px;
}

.related-content h4 {
    font-family: var(--font-heading, "Cinzel", serif);
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-content .date {
    font-size: 0.85rem;
    color: #888;
}

.related-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .yagya-content-layout {
        grid-template-columns: 1fr;
    }

    .yagya-info-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0;
    }

    .info-card {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

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

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .yagya-title {
        font-size: 2rem;
    }

    .yagya-detail-hero {
        min-height: 350px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}