
.modal-backdrop, .lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; z-index: 10000; padding: 16px; }
.modal-content-contact { width: min(500px, 90vw); background: #fff; padding: 40px; box-shadow: 0 25px 60px rgba(0,0,0,0.5); position: relative; }
.modal-content-flights { width: min(1200px, 96vw); height: min(86vh, 860px); background: #fff; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.modal-close-btn { position: absolute; top: 15px; right: 15px; background: transparent; border: 0; font-size: 24px; cursor: pointer; color: #000; }
.promo-modal-overlay, .promo-modal-wrapper { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 999999; padding: 20px; }
.promo-modal-content { background: white; width: min(850px, 90vw); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; animation: slideUpFade 0.5s ease; }
@keyframes slideUpFade { from { opacity:0; transform:translateY(50px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.promo-close-btn { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.8); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.promo-badge { position: absolute; bottom: 20px; left: 20px; background: rgba(255,255,255,0.95); padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.promo-pulse-dot { width: 10px; height: 10px; background: #ef4444; border-radius: 50%; display: block; animation: pulseRed 1.5s infinite; }

.lightbox-overlay { z-index: 999999; }
.lightbox-btn { position: absolute; background: rgba(255,255,255,0.1); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 1000002; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 20px; right: 20px; font-size: 2rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
.lightbox-img { max-width: 90%; max-height: 90vh; border-radius: 4px; box-shadow: 0 0 30px rgba(0,0,0,0.8); z-index: 1000001; }

.guide-map-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(5px); display: none; flex-direction: column; animation: fadeIn 0.3s ease; }
.guide-map-header { background: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; }
.guide-map-container { flex: 1; position: relative; width: 100%; height: 100%; }

#infoModal, #info-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 100000; display: none; align-items: center; justify-content: center; padding: 20px; }
#infoModal.active, #info-modal.active { display: flex; }
.info-modal-content { background: white; width: min(600px, 100%); border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); position: relative; max-height: 90vh; display: flex; flex-direction: column; }

.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 15vh 20px 20px;
    animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }

.search-modal-content {
    width: 100%;
    max-width: 700px;
    position: relative;
    animation: slideDownModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideDownModal { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.search-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.search-modal-close:hover {
    color: white;
}

.search-modal-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-modal-form input {
    flex: 1;
    padding: 18px 24px;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: 12px;
    outline: none;
}
.search-modal-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-modal-form .btn {
    padding: 18px 30px;
    font-size: 1.1rem;
}

.search-modal-results {
    max-height: 50vh;
    overflow-y: auto;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}
.search-modal-results .search-result-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.search-modal-results .search-result-item:last-child {
    border-bottom: none;
}
.search-modal-results .search-result-item:hover {
    background: rgba(255,255,255,0.1);
}
.search-modal-results .search-result-title {
    color: white;
}
.search-modal-results .search-result-meta {
    color: #94a3b8;
}


.search-modal-content .btn {display:none}


.glossary-link {
    color: #3b82f6; 
    text-decoration: none;
    border-bottom: 1px dashed #3b82f6;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}
.glossary-link:hover {
    color: #1d4ed8; 
    border-bottom-color: #1d4ed8;
    background: rgba(59, 130, 246, 0.1);
}
#gvGlossaryModal {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center; z-index: 100000; padding: 20px;
    opacity: 0; transition: opacity 0.3s ease;
}
#gvGlossaryModal.active {
    display: flex; opacity: 1;
}
.glossary-modal-content {
    background: white; width: min(600px, 100%); border-radius: 20px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); position: relative;
    transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh; display: flex; flex-direction: column;
}
#gvGlossaryModal.active .glossary-modal-content {
    transform: translateY(0);
}
.glossary-modal-close {
    position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.9); border: none;
    width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;
}
.glossary-modal-img {
    width: 100%; height: 200px; object-fit: cover; display: none;
}
.glossary-modal-body {
    padding: 30px; overflow-y: auto;
}
.glossary-modal-title {
    margin: 0 0 15px 0; color: var(--primary); font-size: 1.8rem; font-family: 'Playfair Display', serif;
}
.glossary-modal-text {
    color: var(--text-main); line-height: 1.6; font-size: 1.05rem;
}