/* ========================================
   MEMORIAL SECTIONS STYLES
   ======================================== */

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    min-height: 100vh;
    background: #c5a394;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-family: 'Migra', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: -0.02em;
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Migra', serif;
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 0.8rem;
    text-transform: lowercase;
}

.stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.1em;
    opacity: 0.95;
}

.biography-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}


.biography-title {
    font-family: 'Migra', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #c5a394;
    margin-bottom: 2rem;
    text-transform: lowercase;
    border-bottom: 2px solid #c5a394;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.biography-text p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.8rem;
}

.biography-text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   LIFE HIGHLIGHTS SECTION
   ======================================== */
.life-highlights-section {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.life-highlights-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
}

.highlights-title {
    flex: 0 0 300px;
    padding-right: 2rem;
}

.highlights-title h2 {
    font-family: 'Migra', serif;
    font-size: 4rem;
    font-weight: 200;
    color: #c5a394;
    line-height: 1;
    text-transform: lowercase;
}

.highlights-timeline {
    flex: 1;
    background: #c5a394;
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 2rem;
    bottom: -3rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: white;
    border: 3px solid white;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.featured .timeline-dot {
    border-color: white;
    background: white;
    transform: scale(1.2);
}

.timeline-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.timeline-title.featured-title {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: 700;
}

.timeline-title.featured-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.timeline-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ========================================
   QUICK ACCESS SECTION
   ======================================== */
.quick-access-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.quick-access-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.profile-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: #c5a394;
    border-radius: 50%;
    z-index: 1;
}

.profile-image-wrapper {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

.profile-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quick-access-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 50%;
    margin-left: auto;
}

.quick-access-title {
    font-family: 'Migra', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #c5a394;
    margin-bottom: 2.5rem;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.qr-code-container {
    margin-bottom: 2.5rem;
    position: relative;
}

.qr-code {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(197, 163, 148, 0.15);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 350px;
}

.qr-section {
    flex: 1;
}

.qr-code h3 {
    font-family: 'Migra', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: #c5a394;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.qr-code img {
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1.5rem;
    display: block;
}

.profile-link {
    display: inline-block;
    background: #c5a394;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.profile-link:hover {
    background: #b8988a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 163, 148, 0.3);
}

/* Contact elements integrated into quick access */
.contact-section {
    border-top: 1px solid rgba(197, 163, 148, 0.2);
    padding-top: 2rem;
}

.contact-title {
    font-family: 'Migra', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #c5a394;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    letter-spacing: -0.02em;
}

.social-media-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    background: #c5a394;
}

.social-icon:hover {
    background: #b8988a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 163, 148, 0.3);
}

.share-memories {
    margin: 1.5rem 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #c5a394;
    font-weight: 500;
}

.tribute-section {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.leave-tribute-btn {
    background: #c5a394;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(197, 163, 148, 0.3);
}

.leave-tribute-btn:hover {
    background: #b8988a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 163, 148, 0.4);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
}

.bookmark-btn {
    background: #c5a394;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(197, 163, 148, 0.2);
}

.bookmark-btn:hover {
    background: #b8988a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 163, 148, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .stats-container,
    .life-highlights-container,
    .quick-access-container {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .biography-title,
    .highlights-title h2,
    .quick-access-title {
        font-size: 2.2rem;
    }
    
    .profile-image {
        height: 350px;
    }
    
    .qr-code {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .stats-container {
        gap: 2rem;
    }
    
    .life-highlights-container,
    .quick-access-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .stats-content {
        gap: 1.5rem;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 1.5rem;
    }
    
    .highlights-title {
        flex: none;
        padding-right: 0;
    }
    
    .quick-access-content {
        max-width: 100%;
        margin-left: 0;
    }
    
    .profile-image-container::before {
        top: -30px;
        left: -30px;
        width: 200px;
        height: 200px;
    }
    
    .profile-image {
        height: 300px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .biography-title,
    .highlights-title h2,
    .quick-access-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .biography-content,
    .highlights-timeline {
        padding: 2rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .profile-image {
        height: 250px;
    }
    
    .qr-code {
        min-width: 280px;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .qr-code h3 {
        font-size: 1.5rem;
    }
    
    .qr-code img {
        max-width: 150px;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .leave-tribute-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .bookmark-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

