/* ========================================
   VERO GUSTO LOCATIONS - STYLES
   ======================================== */

/* Container principal */
.vgl-wrapper {
    width: 100%;
    overflow: hidden;
}

.vgl-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* ========================================
   COLONNES
   ======================================== */

.vgl-col-map {
    flex: 1;
    min-width: 300px;
    background-color: #FFFFFF;
    position: relative;
    display: flex;
}

.vgl-col-list {
    width: 400px;
    min-width: 350px;
    background-color: #1A1A1A;
    display: flex;
    flex-direction: column;
}

/* ========================================
   MAP
   ======================================== */

.vgl-map-container {
    width: 100%;
    flex: 1;
    position: relative;
}

.vgl-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Marker personnalisé */
.vgl-marker {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vgl-marker:hover {
    transform: scale(1.1);
}

.vgl-marker svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Popup */
.maplibregl-popup-content {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.vgl-popup-content h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.vgl-popup-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* ========================================
   LISTE RESTAURANTS
   ======================================== */

.vgl-list-content {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.vgl-header {
    text-align: center;
    margin-bottom: 30px;
}

.vgl-subtitle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.vgl-icon {
    font-size: 16px;
}

.vgl-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    color: #FC791A;
}

.vgl-title {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 58px;
    color: #FFFFFF;
}

.vgl-decoration {
    text-align: center;
}

.vgl-decoration img {
    height: 20px;
    width: auto;
}

/* Liste */
.vgl-restaurants-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

/* Carte Restaurant */
.vgl-restaurant-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.vgl-restaurant-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.vgl-restaurant-card.active {
    background: rgba(232, 169, 60, 0.5);
    border-left-color: #E8A93C;
}

.vgl-restaurant-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vgl-pin-icon {
    font-size: 16px;
}

.vgl-restaurant-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
    padding-left: 0;
    line-height: 1.4;
}

.vgl-restaurant-phone {
    margin: 0 0 8px 0;
    padding-left: 0;
}

.vgl-restaurant-phone a {
    color: #E8A93C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.vgl-restaurant-phone a:hover {
    color: #FFB84D;
}

.vgl-restaurant-hours {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 10px 0;
    padding-left: 0;
}

.vgl-directions-link {
    display: inline-block;
    margin-left: 24px;
    padding: 8px 16px;
    background: #C41E3A;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vgl-directions-link:hover {
    background: #A01830;
    color: #FFFFFF;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .vgl-row {
        flex-direction: column;
    }

    .vgl-col-map {
        width: 100%;
        min-height: 400px;
    }

    .vgl-col-list {
        width: 100%;
        min-width: auto;
    }

    .vgl-map-container {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .vgl-list-content {
        padding: 30px 20px;
    }

    .vgl-title {
        font-size: 26px;
    }

    .vgl-restaurant-card {
        padding: 15px;
    }

    .vgl-restaurant-name {
        font-size: 16px;
    }

    .vgl-restaurant-address,
    .vgl-restaurant-phone a,
    .vgl-restaurant-hours {
        font-size: 13px;
        padding-left: 0;
    }

    .vgl-directions-link {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
}

/* ========================================
   MAPLIBRE OVERRIDES
   ======================================== */

.maplibregl-ctrl-attrib {
    font-size: 10px !important;
    background: rgba(255,255,255,0.7) !important;
}

.maplibregl-ctrl-attrib a {
    color: #333 !important;
}

.maplibregl-popup-close-button {
    font-size: 20px;
    padding: 5px 10px;
}