/* ===== Life Pages Specific Styles ===== */

/* Back Button */
.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--gradient-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateX(-5px);
}

/* Life Hero Section */
.life-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(123, 47, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-life {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.life-icon-large {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 245, 255, 0.4);
}

.life-icon-large i {
    font-size: 5rem;
    color: var(--bg-primary);
}

.hero-content-life h1 {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-content-life p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-primary);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* Life Content Section */
.life-content {
    padding: 6rem 3rem;
    background: var(--bg-primary);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    margin-bottom: 5rem;
}

.intro-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.3);
}

.gallery-overlay h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Stories Section */
.stories-section {
    margin: 5rem 0;
}

.stories-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.story-card {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 245, 255, 0.2);
}

.story-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.story-content h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.story-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Stats Section (for gym page) */
.stats-section {
    margin: 5rem 0;
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

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

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.3);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--bg-primary);
}

.stat-card h3 {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Gratitude Section (for family page) */
.gratitude-section {
    margin: 5rem 0;
}

.gratitude-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.gratitude-card {
    padding: 4rem;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(123, 47, 247, 0.05) 100%);
    border: 2px solid var(--accent-primary);
    border-radius: 30px;
    text-align: center;
}

.gratitude-card p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.gratitude-card p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin-top: 5rem;
}

.cta-section h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.6);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Footer */
.life-footer {
    background: var(--bg-secondary);
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.life-footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content-life h1 {
        font-size: 2.5rem;
    }

    .hero-content-life p {
        font-size: 1.2rem;
    }

    .life-icon-large {
        width: 100px;
        height: 100px;
    }

    .life-icon-large i {
        font-size: 3rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gratitude-card {
        padding: 2rem;
    }

    .cta-section {
        padding: 2rem;
    }
}
