/*
 * custom.css — Stili personalizzati Corso Lupi Grigi 1970-1974
 * Estesi da Bootstrap 5. Caricato dopo bootstrap.min.css.
 */

/* ===== Colori Navy ===== */
.bg-navy {
    background-color: #003366;
}

.text-navy {
    color: #003366;
}

.border-navy {
    border-color: #003366;
}

.btn-navy {
    background-color: #003366;
    border-color: #003366;
    color: white;
}

.btn-navy:hover,
.btn-navy:focus {
    background-color: #002244;
    border-color: #002244;
    color: white;
}

/* ===== Tipografia ===== */
.lupi-grigi-title {
    font-family: 'Brush Script MT', 'Segoe Print', cursive;
    font-size: 4.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* ===== Footer ===== */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 30px;
}

/* ===== Foto corsisti ===== */
.photo-container,
.photo-placeholder {
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-container:hover,
.photo-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Corsisti deceduti */
.card.border-secondary .photo-container,
.card.border-secondary .photo-placeholder {
    opacity: 0.8;
    filter: grayscale(20%);
}

/* Hover card corsisti */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* ===== Responsive foto ===== */
@media (max-width: 768px) {
    .photo-container {
        width: 100px;
        height: 120px;
    }

    .lupi-grigi-title {
        font-size: 2.8rem;
    }
}
