/* Cormack Interactive Map - Frontend Styles */

.cim-map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cim-map {
    width: 100%;
    height: 100%;
}

/* Overlay Bar - Frosted Glass Effect */
.cim-map-overlay-bar {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    z-index: 10;
    border-radius: 16px;
    overflow: hidden;
}

.cim-overlay-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: rgba(208, 204, 204, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cim-overlay-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.cim-overlay-type {
    font-family: "Supreme LL", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3E2321;
    padding: 20px 30px;
    margin-left: 20px;
    position: relative;
}

.cim-overlay-type::before,
.cim-overlay-type::after {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #3E2321;
}

.cim-overlay-type::before {
    left: 0;
}

.cim-overlay-type::after {
    right: 0;
}

.cim-overlay-label {
    font-family: "Supreme LL", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #3E2321;
    padding: 20px 30px;
}

.cim-overlay-right {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin-right: 20px;
    position: relative;
}

.cim-overlay-right::before,
.cim-overlay-right::after {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #3E2321;
}

.cim-overlay-right::before {
    left: 0;
}

.cim-overlay-right::after {
    right: 0;
}

.cim-overlay-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Supreme LL", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3E2321;
    text-decoration: none;
    padding: 12px 24px;
    background: #fff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cim-overlay-link:hover {
    background: #f5f5f5;
    color: #3E2321;
}

.cim-overlay-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cim-overlay-link:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .cim-map-overlay-bar {
        bottom: 20px;
        width: calc(100% - 40px);
    }

    .cim-overlay-content {
        flex-direction: column;
        gap: 0;
    }

    .cim-overlay-left {
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(62, 35, 33, 0.2);
    }

    .cim-overlay-type {
        font-size: 0.875rem;
        padding: 15px 20px;
    }

    .cim-overlay-label {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .cim-overlay-right {
        width: 100%;
        border-left: none;
    }

    .cim-overlay-link {
        width: 100%;
        justify-content: center;
        font-size: 0.875rem;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .cim-overlay-type {
        padding: 12px 15px;
    }

    .cim-overlay-label {
        padding: 12px 15px;
    }

    .cim-overlay-link {
        padding: 12px 15px;
    }
}
