/* ==========================================
   Page-Specific Styles
   ========================================== */

/* ==========================================
   Page Header
   ========================================== */
.page-header {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-crimson) 100%),
                url('../images/page-header-bg.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.breadcrumb {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--primary-gold);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* ==========================================
   About Page - Temple Overview
   ========================================== */
.temple-overview {
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.overview-text {
    line-height: 2;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.8;
}

.overview-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.overview-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.highlight-box {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.highlight-box:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.highlight-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.highlight-box p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================
   Temple Story Section
   ========================================== */
.temple-story {
    background: var(--bg-cream);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.story-text h3:first-child {
    margin-top: 0;
}

.story-text p {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ==========================================
   Organization Section
   ========================================== */
.organization-section {
    background: white;
}

.org-content {
    display: grid;
    gap: 50px;
}

.org-info {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-gold);
}

.org-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.org-header i {
    font-size: 3rem;
    color: var(--primary-red);
}

.org-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.org-reg {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.org-motto {
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: 600;
    font-style: italic;
}

.org-details h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.org-details p {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 25px;
}

.org-address {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
}

.org-address h5 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-red);
}

.org-address h5 i {
    color: var(--primary-gold);
    margin-right: 10px;
}

.org-address p {
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

.org-mission {
    margin-top: 40px;
}

.org-mission > h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-card h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    padding: 10px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 30px;
}

.objectives-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-gold);
}

.org-programs {
    margin-top: 50px;
}

.org-programs h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.program-item {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.program-item:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.program-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.program-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.program-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.org-cta {
    text-align: center;
    margin-top: 50px;
    padding: 50px;
    background: var(--gradient-gold);
    border-radius: 15px;
    color: white;
}

.org-cta h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
}

.org-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Associated Temples Section
   ========================================== */
.associated-temples {
    background: var(--bg-cream);
}

.temples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.temple-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--primary-orange);
}

.temple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.temple-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.temple-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.temple-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==========================================
   Why Visit Section
   ========================================== */
.why-visit {
    background: white;
}

.visit-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.reason-card {
    position: relative;
    padding: 35px 30px 35px 90px;
    background: var(--bg-cream);
    border-radius: 15px;
    border-left: 5px solid var(--primary-gold);
    transition: var(--transition-smooth);
}

.reason-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reason-number {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
}

.reason-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.reason-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==========================================
   Dasa Maha Vidya Page
   ========================================== */
.vidya-intro {
    background: white;
    text-align: center;
}

.vidya-intro p {
    max-width: 900px;
    margin: 0 auto 20px;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.9;
}

.goddesses-section {
    background: var(--bg-cream);
}

.goddess-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: var(--transition-smooth);
}

.goddess-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.goddess-header {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    text-align: center;
}

.goddess-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.goddess-subtitle {
    font-size: 1.3rem;
    color: var(--primary-gold);
    font-style: italic;
}

.goddess-content {
    padding: 40px;
}

.goddess-content p {
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

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

.attribute-box {
    background: var(--bg-cream);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.attribute-box i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.attribute-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.attribute-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================
   Responsive Design for Pages
   ========================================== */

@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 250px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .overview-highlights,
    .programs-grid,
    .temples-grid,
    .visit-reasons {
        grid-template-columns: 1fr;
    }
    
    .org-header {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-card {
        padding: 70px 25px 25px;
    }
    
    .reason-number {
        left: 50%;
        top: 25px;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .org-info,
    .goddess-content {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}