/*
 * ETERNITUM - Military Theme
 * Dignified, patriotic design for veterans
 */

/* ========== CSS VARIABLES ========== */
.theme-military {
    --theme-primary: #2E4A2E;
    --theme-secondary: #5D7B5D;
    --theme-accent: #C9A227;
    --theme-text: #3a3a3a;
    --theme-heading: #1a2e1a;
    --theme-bg: #f5f5f0;
    --theme-border: #c4c4b8;
}

/* ========== HERO ========== */
.theme-military .memorial-hero {
    background: linear-gradient(135deg, #1a2e1a 0%, #2E4A2E 40%, #4a6a4a 100%);
}

/* Camouflage pattern overlay */
.theme-military .memorial-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 0, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Military stars */
.theme-military .memorial-hero::after {
    content: '★ ★ ★';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--theme-accent);
    font-size: 1.5rem;
    letter-spacing: 15px;
}

/* ========== PHOTO FRAME ========== */
.theme-military .memorial-photo-frame {
    border-radius: 0;
    border: 4px solid var(--theme-accent);
    box-shadow:
        0 0 0 8px var(--theme-primary),
        0 20px 40px rgba(0, 0, 0, 0.5);
}

.theme-military .memorial-photo-frame img {
    border-radius: 0;
}

/* ========== TYPOGRAPHY ========== */
.theme-military .memorial-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.theme-military .memorial-dates {
    color: var(--theme-accent);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
}

.theme-military .memorial-epitaph {
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
}

/* ========== CARDS ========== */
.theme-military .memorial-card {
    background: var(--theme-bg);
    border: 2px solid var(--theme-border);
    border-radius: 0;
    border-top: 4px solid var(--theme-primary);
}

.theme-military .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: 2px solid var(--theme-primary);
}

.theme-military .memorial-card-heading::before {
    content: '⭐ ';
    color: var(--theme-accent);
}

/* ========== BUTTONS ========== */
.theme-military .memorial-btn-primary {
    background: var(--theme-primary);
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--theme-accent);
}

.theme-military .memorial-btn-secondary {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    border: 1px solid var(--theme-accent);
}

/* ========== TRIBUTE OPTIONS ========== */
.theme-military .tribute-option {
    background: #fff;
    border: 2px solid var(--theme-primary);
    border-radius: 0;
}

.theme-military .tribute-option:hover {
    background: rgba(46, 74, 46, 0.1);
}

.theme-military .tribute-option:has(input:checked) {
    background: var(--theme-primary);
    color: #fff;
    border-color: var(--theme-accent);
    box-shadow: inset 0 0 0 2px var(--theme-accent);
}

/* ========== GALLERY ========== */
.theme-military .memorial-gallery img {
    border: 2px solid var(--theme-primary);
    border-radius: 0;
}

/* ========== BADGE ========== */
.theme-military .memorial-badge {
    background: var(--theme-primary);
    border: 1px solid var(--theme-accent);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== RANK DISPLAY ========== */
.theme-military .rank-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--theme-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== MEDALS SECTION ========== */
.theme-military .medals-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.theme-military .medal {
    width: 40px;
    height: 40px;
    background: var(--theme-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========== STATS ========== */
.theme-military .stat-value {
    color: var(--theme-primary);
    font-weight: 800;
}

.theme-military .memorial-qr img {
    border: 2px solid var(--theme-primary);
}