:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --dark-color: #2d3436;
    --light-color: #dfe6e9;
    --memorial-purple: #9b59b6;
    --memorial-blue: #3498db;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.hero-section {
    background: linear-gradient(135deg, var(--memorial-purple) 0%, var(--memorial-blue) 100%);
    color: white;
    padding: 80px 0;
}

.navbar-dark {
    background-color: var(--dark-color) !important;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--memorial-purple);
    border-color: var(--memorial-purple);
}

.btn-primary:hover {
    background-color: #8e44ad;
    border-color: #8e44ad;
}

.memory-card img,
.memory-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--memorial-purple);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--memorial-purple);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 25px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: var(--light-color);
}

.timeline-item:last-child::after {
    display: none;
}

.tribute-card {
    background-color: white;
    border-left: 4px solid var(--memorial-purple);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.memorial-header {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.8) 0%, rgba(52, 152, 219, 0.8) 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
}

.privacy-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
}

.alert-custom {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
}

/* ===== Tribute Card Styling ===== */
.tribute-card {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.tribute-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

.tribute-card .card-body {
    padding: 1.25rem;
}

.tribute-card img.rounded-circle {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tribute-card:hover img.rounded-circle {
    transform: scale(1.05);
}

.tribute-card .badge {
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

.tribute-card strong {
    font-size: 1rem;
    font-weight: 600;
}

.tribute-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive tribute cards */
@media (max-width: 768px) {
    .tribute-card img.rounded-circle {
        width: 40px !important;
        height: 40px !important;
    }
    
    .tribute-card .card-body {
        padding: 1rem;
    }
    
    .tribute-card strong {
        font-size: 0.9rem;
    }
    
    .tribute-card p {
        font-size: 0.85rem;
    }
}