/**
 * Travel Nerve Kashmir - Popup Styles
 */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Box */
.modal-box {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover { color: #333; }

/* Package Modal */
.pkg-modal { max-width: 700px; }
.pkg-modal-img { height: 280px; overflow: hidden; }
.pkg-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg-modal-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffe000; /* Updated to vibrant gold */
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}
.pkg-modal-body { padding: 36px; }
.pkg-modal-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.pkg-modal-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #f9c200; /* Updated to dark gold */
    font-weight: 700;
}
.pkg-modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 12px;
}
.pkg-modal-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.pkg-modal-sections h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #f9c200; /* Updated to dark gold */
    margin-bottom: 12px;
    font-weight: 700;
}
.pkg-modal-sections ul {
    list-style: none;
    padding: 0;
}
.pkg-modal-sections li {
    padding: 6px 0;
    color: #666;
}
.pkg-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Destination Modal */
.dest-modal { max-width: 600px; }
.dest-modal-img { height: 250px; overflow: hidden; }
.dest-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.dest-modal-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffe000; /* Updated to vibrant gold */
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
}
.dest-modal-body { padding: 36px; }
.dest-modal-body h2 { font-family: 'Playfair Display', serif; font-size: 2rem; }
.dest-modal-loc { color: #f9c200; font-size: 0.9rem; margin-bottom: 16px; }
.dest-modal-details {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dest-detail-item strong { display: block; font-size: 0.85rem; color: #f9c200; } /* Updated to dark gold */
.dest-detail-item span { display: block; color: #666; }

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 40px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp:hover { background: #20ba5a; transform: scale(1.1); }
.float-btn.call {
    background: #f9c200; /* Updated to dark gold */
    color: #1a1a1a;
}
.float-btn.call:hover { background: #e0ae00; transform: scale(1.1); }

/* Buttons */
.btn-primary {
    background: #ffe000; /* Updated to vibrant gold */
    color: #1a1a1a;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-primary:hover { background: #f9c200; }
.btn-dark {
    background: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-dark:hover { background: #333; }

/* Responsive */
@media (max-width: 768px) {
    .pkg-modal-sections { grid-template-columns: 1fr; }
    .pkg-modal-body, .dest-modal-body { padding: 24px; }
    .float-btn { width: 48px; height: 48px; }
    .dest-modal-details { flex-direction: column; gap: 16px; }
}