/* =========================================
   God At Home - About Page Specific Styles
   ========================================= */

/* Background Pattern */
.temple-pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: radial-gradient(circle at 50% 50%, var(--color-primary-start) 2px, transparent 2px),
                      radial-gradient(circle at 50% 50%, var(--color-primary-end) 2px, transparent 2px);
    background-size: 100px 100px;
    background-position: 0 0, 50px 50px;
}

/* About Hero */
.about-hero {
    min-height: 60vh;
}

.about-hero h1 {
    font-size: 4rem;
}

/* Mission & Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-vision-grid .glass-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Spiritual Philosophy */
.philosophy-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.philosophy-text {
    flex: 2;
    z-index: 2;
}

.philosophy-text p {
    margin-bottom: 15px;
}

.philosophy-text em {
    color: var(--color-primary-end);
    font-style: normal;
    font-weight: bold;
}

.philosophy-mandala {
    flex: 1;
    z-index: 1;
    margin: 0 !important;
}

/* Founder Story */
.founder-story-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.founder-image-placeholder {
    flex: 1;
    min-height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #2a0845, #1a0b2e);
    position: relative;
    border: 1px solid var(--color-primary-start);
    overflow: hidden;
}

.founder-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--color-primary-start);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.founder-text {
    flex: 1.5;
}

.founder-text .subtitle {
    color: var(--color-primary-end);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.founder-text p {
    margin-bottom: 15px;
}

/* Timeline Animation */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 0; /* Animated via JS */
    background: linear-gradient(to bottom, var(--color-primary-start), var(--color-primary-end));
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 1;
}

/* Base line background */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 0;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg-dark);
    border: 4px solid var(--color-primary-end);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
    box-shadow: 0 0 10px var(--color-accent-glow);
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Responsive for About Page */
@media (max-width: 992px) {
    .philosophy-content,
    .founder-story-container {
        flex-direction: column;
    }
    
    .founder-image-placeholder {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .timeline::before,
    .timeline-line {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 21px;
    }
}