Style.CSS



/* Augšējais zīmola virsraksts ar taviem fontiem un krāsām */
.brand-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    text-align: center;
}

.brand-top-text {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: #D4AF37; /* Zelta krāsa */
    text-transform: uppercase;
}

.brand-bottom-text {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fffff0; /* Tavs ziloņkaula baltais */
    text-transform: uppercase;
}

/* Kategoriju konteineris */
#categoryContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Kategoriju pogas */
.category-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
    background: transparent;
    border: none;
    border-left: 2px solid transparent; /* Sākotnējais stils */
    cursor: pointer;
    text-align: left;
    
    /* Tavs dizains */
    color: #A39F99;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* Hover un Active stāvokļi */
.category-btn:hover, .category-btn.active {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.03);
    border-left-color: #D4AF37;
    padding-left: 16px; /* Šeit mēs saglabājam tavu efektu */
}

.score-btn.active {
    border-color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.04) !important;
    color: #fff !important;
}

/* Apaļš marķieris uz kartes */
.premium-dot-marker {
    width: 14px;
    height: 14px;
    background: #D4AF37;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.premium-dot-marker:hover {
    transform: scale(1.3);
    background: #ffffff;
    border-color: #D4AF37;
}

/* Klasteri */
.custom-cluster {
    background: #0F1115;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    border-radius: 50%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.15);
}

/* Kartītes stils ar zelta rāmīti */
.leaflet-popup-content-wrapper {
    background: rgba(15, 17, 21, 0.98) !important;
    backdrop-filter: blur(10px);
    color: #E5E2DC !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 0px !important;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: min(320px, 78vw) !important;
}

.leaflet-popup-tip {
    background: #0F1115 !important;
    border: 1px solid #D4AF37;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #ffffff !important;
    padding: 10px !important;
}

.luxury-popup-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.popup-img-container {
    height: 150px;
    width: 100%;
    background: #161920;
}

.popup-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-content-body {
    padding: 20px;
}

.popup-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 12px;
    color: #C4C1BC;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 300;
}

.popup-details-grid {
    border-top: 1px solid #2A303C;
    padding-top: 12px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.detail-lbl {
    color: #E8E3D9;
}

.detail-val {
    color: #ffffff;
}

.stars-row {
    font-size: 10px;
}

/* Oficiālās mājaslapas poga */
.popup-action-btn {
    display: block;
    text-align: center;
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 11px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 12px;
}

.popup-action-btn:hover {
    background: #D4AF37;
    color: #0F1115;
}

.popup-footer-id {
    font-size: 9px;
    color: #62605C;
    text-align: center;
    border-top: 1px solid #2A303C;
    padding-top: 8px;
    letter-spacing: 0.05em;
}

.popup-footer-id strong {
    color: #A39F99;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2A303C;
}


/* MOBILE FIX */


@media (max-width:767px){

    /* ===== HEADER HEIGHT CONTROL ===== */
    aside {
        flex: 0 0 auto;
        height: 130px;     /* lieto height, nevis max-height */
        overflow: hidden;  /* svarīgi */
    }

    /* paslēp logo/text tikai mobile */
    aside .p-6 {
        display: none;
    }

    body{
        display:flex;
        flex-direction:column;
        height:100vh;
        overflow:hidden;
    }

    #map-wrap{
        flex:1;
        min-height:0;
    }

    /* ===== FILTER PANEL (OK, šis tev ir pareizi) ===== */
    #filtersPanel{
        position:fixed;
        left:0;
        right:0;
        bottom:0;

        height:75vh;
        pointer-events:none;
        background:#0F1115;
        z-index:9999;

        border-top-left-radius:18px;
        border-top-right-radius:18px;

        transform:translateY(100%);
        transition:transform 0.25s ease;

        overflow-y:auto;
        -webkit-overflow-scrolling: touch;

        padding:18px;
        box-shadow:0 -20px 60px rgba(0,0,0,0.6);
    }
}
    /* OPEN STATE */
    #filtersPanel.open{
        transform:translateY(0);
        pointer-events:auto;
    }

    /* HANDLE BAR (vizuāls indikators) */
    #filtersPanel::before{
        content:"";
        display:block;
        width:42px;
        height:4px;
        background:#2A303C;
        border-radius:99px;
        margin:8px auto 14px auto;
    }

    /* POPUP FIX */
    .leaflet-popup-content{
        width:92vw !important;
        max-width:92vw !important;
    }
}

span[class^="status-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 4px 10px !important;
    border-radius: 999px !important;

    font-weight: 700 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* ACTIVE */
span.status-active {
    background: #facc15 !important;
    color: #0F1115 !important;
}

/* PENDING */
span.status-pending {
    background: #6b7280 !important;
    color: #ffffff !important;
}

/* INACTIVE */
span.status-inactive {
    background: #ef4444 !important;
    color: #ffffff !important;
}
