/* Footer Styles */
.footer-contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
}

.contact-item a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: white;
}

.contact-name {
    margin-top: 15px;
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-designer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Guestbook Messages */
.guestbook-messages {
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f7 100%);
    border-radius: 15px;
}

.guestbook-header h3 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 10px;
}

#guestbookMessages {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px 0;
}

.message-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #6366F1;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-relationship {
    color: #6B7280;
    font-size: 0.9rem;
}

.message-content {
    color: #374151;
    line-height: 1.6;
    font-style: italic;
    padding-left: 52px;
}

.message-date {
    color: #9CA3AF;
    font-size: 0.85rem;
    margin-top: 10px;
    padding-left: 52px;
}

/* Obituary Buttons */
.obituary-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-view {
    background: #10B981;
}

.btn-view:hover {
    background: #059669;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .message-content,
    .message-date {
        padding-left: 0;
    }
    
    .obituary-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .obituary-buttons .btn {
        width: 100%;
    }
}