/*
 * ETERNITUM - Modern Theme
 * Clean, minimal dark blue design
 */

/* ========== CSS VARIABLES ========== */
.theme-modern {
    --theme-primary: #4a69bd;
    --theme-secondary: #6a89cc;
    --theme-text: #34495e;
    --theme-heading: #1a1a2e;
    --theme-bg: #f8f9fa;
    --theme-border: #dee2e6;
}

/* ========== HERO ========== */
.theme-modern .memorial-hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}

/* Animated pulse effect */
.theme-modern .memorial-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 105, 189, 0.1) 0%, transparent 50%);
    animation: modernPulse 10s ease-in-out infinite;
}

@keyframes modernPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* ========== PHOTO FRAME ========== */
.theme-modern .memorial-photo-frame {
    border-radius: 12px;
}

.theme-modern .memorial-photo-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #4a69bd, #6a89cc, #4a69bd);
    border-radius: 12px;
    animation: borderGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.theme-modern .memorial-photo-frame img {
    border-radius: 8px;
}

/* ========== TYPOGRAPHY ========== */
.theme-modern .memorial-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.theme-modern .memorial-dates {
    color: var(--theme-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.theme-modern .memorial-epitaph {
    color: rgba(255, 255, 255, 0.6);
    border: none;
    text-align: center;
}

/* ========== CARDS ========== */
.theme-modern .memorial-card {
    background: var(--theme-bg);
    border: none;
    border-radius: 16px;
    border-left: 4px solid var(--theme-primary);
}

.theme-modern .memorial-card-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--theme-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-bottom: none;
}

/* ========== BUTTONS ========== */
.theme-modern .memorial-btn-primary {
    background: var(--theme-primary);
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-modern .memorial-btn-secondary {
    border-radius: 20px;
}

/* ========== TRIBUTE OPTIONS ========== */
.theme-modern .tribute-option {
    background: #fff;
    border: 2px solid var(--theme-border);
    border-radius: 20px;
}

.theme-modern .tribute-option:hover {
    border-color: var(--theme-primary);
}

.theme-modern .tribute-option:has(input:checked) {
    background: var(--theme-primary);
    border-color: var(--theme-primary);
    color: #fff;
}

/* ========== GALLERY ========== */
.theme-modern .memorial-gallery img {
    border-radius: 8px;
    border: none;
}

/* ========== BADGE ========== */
.theme-modern .memorial-badge {
    background: var(--theme-primary);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}