﻿﻿.marker {
    background-image: url('../svg/marker.svg');
    background-size: cover;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.mapboxgl-popup {
    max-width: 265px;
}

.geocoder {
    position: absolute;
    z-index: 1;
    width: 50%;
    left: 50%;
    margin-left: -25%;
    top: 10px;
}

.mapboxgl-ctrl-geocoder {
    min-width: 100%;
}

#map {
    margin-top: 75px;
    width: 800px;
    height: 550px;
}

.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}




#menu {
    background: #fff;
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    border-radius: 3px;
    width: 120px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    font-family: 'Open Sans', sans-serif;
}

    #menu a {
        font-size: 13px;
        color: #404040;
        display: block;
        margin: 0;
        padding: 0;
        padding: 10px;
        text-decoration: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
        text-align: center;
    }

        #menu a:last-child {
            border: none;
        }

        #menu a:hover {
            background-color: #f8f8f8;
            color: #404040;
        }

        #menu a.active {
            background-color: #3887be;
            color: #ffffff;
        }

            #menu a.active:hover {
                background: #3074a4;
            }


/* Chart.js */
@keyframes chartjs-render-animation {
    from {
        opacity: .99
    }

    to {
        opacity: 1
    }
}

.chartjs-render-monitor {
    animation: chartjs-render-animation 1ms
}

.chartjs-size-monitor, .chartjs-size-monitor-expand, .chartjs-size-monitor-shrink {
    position: absolute;
    direction: ltr;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1
}

    .chartjs-size-monitor-expand > div {
        position: absolute;
        width: 1000000px;
        height: 1000000px;
        left: 0;
        top: 0
    }

    .chartjs-size-monitor-shrink > div {
        position: absolute;
        width: 200%;
        height: 200%;
        left: 0;
        top: 0
    }

    .event-modal-sponsors-display{
        display:inline-block;
    }

.badge-pro {
    background-color: gold;
    color: white;
    padding: 0.5em 1em;
    border-radius: 0.5em 0 0 0.5em;
    font-weight: bold;
    margin-right: -24px;
}

.membership-details {
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 0.5em;
    background-color: #f9f9f9;
    margin-bottom: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.membership-name {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 0.5em;
}

.client-info {
    font-size: 1.1em;
    color: #555;
    margin-top: 0.5em;
}

.client-label {
    font-weight: bold;
    color: #333;
}

.client-name {
    color: #007bff;
}



.mapcontainer {
    position: relative;
    width: 100%;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
    z-index: 1000; /* Ensure loader is above the map */
}

.dot {
    width: 16px;
    height: 16px;
    margin: 5px;
    background-color: #0080c8; /* Semi-transparent dark dots */
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* Scoped to .trail-popup only */
.mapboxgl-popup.trail-popup .mapboxgl-popup-content {
    background-color: #0080c8;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /*border: 1px solid #444;*/
}

.mapboxgl-popup.trail-popup .mapboxgl-popup-tip {
    border-top-color: #0080c8 !important;
}

.mapboxgl-popup.trail-popup .mapboxgl-popup-content strong {
    color: #ffffff;
    font-size: 16px;
}

.trail-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px;
}

.show-more-btn {
    background-color: #1d64d5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 4px;
    transition: background-color 0.2s;
}

.show-more-btn:hover {
    background-color: #1850a8;
}
.membership-hero-modern {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    margin-bottom: 80px;
}

.membership-hero-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-description p {
    font-size: 20px !important;
}

/* ── Membership Hero Section ── */
.membership-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Left column: text & value proposition */
.membership-hero-text {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.membership-hero-title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
}

.membership-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 32px;
}

.membership-hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.membership-hero-benefits li {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    padding-left: 28px;
    margin-bottom: 14px;
    position: relative;
}

.membership-hero-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #5ade92;
    font-weight: 700;
    font-size: 20px;
}

.membership-hero-cta {
    font-size: 18px;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.membership-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 200, 0.4);
}

/* Right column: QR codes */
.membership-hero-qr {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.membership-hero-qr-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.membership-hero-qr-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 20px 24px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.membership-hero-qr-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    text-decoration: none;
}

.membership-hero-qr-img {
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.membership-hero-qr-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.membership-hero-qr-label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .membership-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 24px;
    }

    .membership-hero-text {
        align-items: center;
    }

    .membership-hero-benefits li {
        text-align: left;
    }

    .membership-hero-qr-grid {
        flex-direction: row;
        gap: 16px;
    }

    .membership-hero-qr-card {
        flex-direction: column;
        padding: 16px;
        text-align: center;
    }

    .membership-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 560px) {
    .membership-hero-qr-grid {
        flex-direction: column;
    }

    .membership-hero-title {
        font-size: 28px;
    }

    .membership-hero-content {
        padding: 0 16px;
    }
}