/* Copyright (c) 2025. Jericho Crosby (Chalwk) */

.checklists-section {
    background-color: #f8fafc;
    padding: 80px 0;
}

.checklists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.checklist-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checklist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.checklist-header {
    background-color: #1a365d;
    color: white;
    padding: 20px;
}

.checklist-header h3 {
    margin-bottom: 5px;
    color: white;
}

.aircraft-type {
    font-size: 0.9rem;
    opacity: 0.9;
}

.aircraft-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.aircraft-icon i {
    font-size: 4rem;
    color: #2d6bc9;
    transition: all 0.3s ease;
}

.checklist-card:hover .aircraft-icon i {
    transform: scale(1.1);
}

.checklist-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.checklist-details p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.checklist-link {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.checklist-link .btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

.icon-helicopter {
    color: #2d6bc9;
}

.icon-plane {
    color: #e53e3e;
}

@media (max-width: 768px) {
    .checklists-section {
        padding: 60px 0;
    }

    .checklists-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checklist-card {
        opacity: 1;
        transform: translateY(0);
    }
}

@media print {
    .checklists-grid {
        grid-template-columns: 1fr;
    }
}