/* ========================================
   MEMORIAL PROFILE PAGE STYLES
   ======================================== */

/* ========================================
   MEMORIAL HERO SECTION
   ======================================== */
.memorial-hero-section {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

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

/* ========================================
   MEMORIAL IMAGE CONTAINER
   ======================================== */
.memorial-image-container {
    flex: 0 0 400px;
    max-width: 400px;
    position: relative;
    margin-top: 2rem;
}

.memorial-profile-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.memorial-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #c5a394 0%, #b8988a 100%);
    border-radius: 50%;
    z-index: 1;
}

/* ========================================
   MEMORIAL INFO CONTAINER
   ======================================== */
.memorial-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-right: 2rem;
}

/* ========================================
   MEMORIAL HEADER & LOGO
   ======================================== */
.memorial-header {
    margin-bottom: 1rem;
}

.memorial-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.angel-wings-icon {
    flex-shrink: 0;
}

.brand-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ========================================
   PROFILE DETAILS
   ======================================== */
.memorial-profile-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.memorial-name {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.name-main {
    font-family: 'Migra', serif;
    font-size: 6rem;
    font-weight: 200;
    font-style: normal;
    color: #c5a394;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.name-type {
    font-family: 'Migra', serif;
    font-size: 2.5rem;
    font-weight: 200;
    color: #c5a394;
    line-height: 1;
}

/* ========================================
   MEMORIAL META INFORMATION
   ======================================== */
.memorial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.aka {
    color: #333;
}

.aka strong {
    color: #c5a394;
    font-weight: 600;
}

.separator {
    color: #c5a394;
    font-size: 0.8rem;
}

.birth-date,
.death-date {
    color: #333;
    font-weight: 500;
}

.age {
    color: #333;
    font-weight: 500;
}

/* ========================================
   MEMORIAL DESCRIPTION
   ======================================== */
.memorial-description {
    max-width: 500px;
    margin-bottom: 1rem;
}

.memorial-description p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.write-note-btn {
    background: #c5a394;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.write-note-btn:hover {
    background: #b8988a;
    transform: translateY(-2px);
}

/* ========================================
   ACTION BUTTONS
   ======================================== */
.memorial-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    right: -20px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #c5a394;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 163, 148, 0.3);
}

.action-btn:hover {
    background: #b8988a;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(197, 163, 148, 0.4);
}

.action-btn:active {
    transform: scale(0.95);
}

/* Specific button colors */
.share-btn:hover {
    background: #4CAF50;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.email-btn:hover {
    background: #2196F3;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.favorite-btn:hover {
    background: #FF9800;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .memorial-hero-container {
        gap: 2rem;
    }
    
    .name-main {
        font-size: 4.5rem;
    }
    
    .memorial-image-container {
        flex: 0 0 350px;
        max-width: 350px;
    }
    
    .memorial-profile-image {
        width: 350px;
        height: 350px;
    }
    
    .memorial-image-container::before {
        top: -8px;
        right: -8px;
        width: 366px;
        height: 366px;
    }
    
    .memorial-actions {
        right: -15px;
    }
    
    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .memorial-hero-section {
        padding: 60px 0 30px;
    }
    
    .memorial-hero-container {
        flex-direction: column-reverse;
        gap: 2rem;
        text-align: left;
    }
    
    .memorial-image-container {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .memorial-profile-image {
        height: 300px;
        width: 300px;
    }
    
    .memorial-info-container {
        flex: none;
        max-width: 100%;
        text-align: left;
    }
    
    .memorial-logo {
        justify-content: flex-start;
    }
    
    .name-main {
        font-size: 3rem;
    }
    
    .memorial-meta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .memorial-description {
        max-width: 100%;
    }
    
    .memorial-actions {
        position: static;
        flex-direction: row;
        gap: 0.5rem;
        margin-top: 2rem;
        justify-content: center;
        transform: none;
        right: auto;
        top: auto;
    }
    
    .action-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .memorial-image-container::before {
        top: -8px;
        right: -8px;
        width: calc(100% + 16px);
        height: calc(100% + 16px);
    }
}

@media (max-width: 480px) {
    .memorial-hero-container {
        padding: 0 1rem;
    }
    
    .memorial-image-container {
        max-width: 250px;
    }
    
    .memorial-profile-image {
        height: 250px;
        width: 250px;
    }
    
    .name-main {
        font-size: 2.5rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
    
    .memorial-meta {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }
    
    .separator {
        display: none;
    }
    
    .memorial-description p {
        font-size: 0.95rem;
    }
    
    .write-note-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .memorial-image-container::before {
        top: -6px;
        right: -6px;
        width: calc(100% + 12px);
        height: calc(100% + 12px);
    }
}
