/* ============================================================
   hotel-detail.css
   Hotelspecifieke stijlen voor de detailpagina
   Bouwt voort op public-routes.css
   ============================================================ */

/* ── Sterren classificatie (hero) ── */
.hotel-sterren-groot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    color: #f59e0b;
    font-size: 1.3rem;
}

.hotel-sterren-groot span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Sterren badge op gerelateerde kaarten ── */
.hotel-sterren-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}

.hotel-sterren-sm {
    font-size: 10px;
    padding: 3px 8px;
}

/* ── Adresblok ── */
.hotel-adres {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotel-adres div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #374151;
}

.hotel-adres i {
    color: #7B2CBF;
    width: 16px;
    text-align: center;
}

/* ── Extra ruimte boven het Adresgegevens-blok (na de kaart) ── */
.detail-section--adres {
    margin-top: 2rem;
}

/* ── Contact items in de sidebar ── */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 10px;
}

.contact-item i {
    color: #7B2CBF;
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: #7B2CBF;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ── Popup styling (Leaflet) ── */
.custom-popup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-width: 200px;
}

.custom-popup h4 {
    margin: 0 0 10px 0;
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.custom-popup p {
    margin: 6px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.custom-popup .hotel-stars {
    color: #f59e0b;
    margin-top: 8px;
    font-size: 15px;
}

/* ── Leaflet popup verbeteringen ── */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-content {
    margin: 18px !important;
}

.leaflet-popup-tip {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* ── Custom marker ── */
.custom-div-icon {
    background: transparent !important;
    border: none !important;
}

.custom-div-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ── Tooltip styling ── */
.custom-tooltip {
    background: rgba(0, 0, 0, 0.85) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
}

.tooltip-hotel {
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%) !important;
}

.tooltip-hotel::before {
    border-top-color: #7B2CBF !important;
}

/* ── Animatie voor tooltips ── */
.leaflet-tooltip {
    animation: tooltipFadeIn 0.3s ease-in;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Terug naar overzicht ── */
.back-to-overview {
    padding: 32px 0 16px;
    text-align: center;
}

/* ── btn-block helper ── */
.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
}

/* ── Actieknoppen hero (website / telefoon / e-mail) ── */
.btn-aanmelden {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #7B2CBF, #9d4edd);
    color: #fff;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(123, 44, 191, 0.35);
    margin-bottom: 10px;
}

.btn-aanmelden:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 44, 191, 0.45);
    color: #fff;
}

.btn-aanmelden--login {
    background: linear-gradient(135deg, #4a4a6a, #6a6a9a);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ── Responsive aanpassingen ── */
@media (max-width: 768px) {
    .custom-tooltip {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }

    .custom-popup {
        min-width: 170px;
    }

    .custom-popup h4 {
        font-size: 15px;
    }

    .custom-div-icon i {
        font-size: 24px !important;
    }

    .hotel-sterren-groot {
        font-size: 1.1rem;
    }
}
