/* ===== PACKAGE MODALS ===== */
.package-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.package-modal.active {
    opacity: 1;
    visibility: visible;
}

.package-modal .modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.35s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.package-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #333;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #e63946;
}

.modal-scroll-area {
    padding: 28px 28px 10px;
    overflow-y: auto;
    flex: 1;
}

.modal-scroll-area h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a3c34;
    margin-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    line-height: 1.4;
}

.modal-scroll-area h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d7a5e;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trip-days {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trip-days li {
    padding: 9px 14px;
    margin-bottom: 7px;
    background: #f8fafc;
    border-left: 3px solid #2d7a5e;
    border-radius: 6px;
    color: #444;
    font-size: 0.93rem;
    line-height: 1.5;
}

.trip-days li strong {
    color: #1a3c34;
}

.sightseeing-points {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sightseeing-points li {
    padding: 8px 12px;
    background: #f0faf5;
    border-radius: 8px;
    color: #2d7a5e;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid #c6e8d8;
}

.modal-actions {
    padding: 18px 28px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    background: #f8fafc;
}

.modal-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.modal-actions a:hover {
    transform: scale(1.03);
}

.modal-actions .btn-card {
    background: #1a6b5a;
    color: #fff;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #1a6b5a, #2d9e80);
    color: #fff;
}

.btn-details {
    border: 2px solid #1a6b5a;
    color: #1a6b5a;
    background: transparent;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-details:hover {
    background: #1a6b5a;
    color: #fff;
}