/* =============================
   HUB (CHOIX DES VILLES)
   ============================= */
#screen-hub {
    /* background: linear-gradient(135deg, #1a1a2e, #16213e); */
    display: flex;
    flex-direction: column;
    padding: 0;
    justify-content: space-between;
    height: 100dvh;
}

.hub-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-top: 80px; 

}

.city-card {
    width: 85%;
    max-width: 320px;
    flex: 1;
    max-height: 45dvh;
    /* background: #333; */
    /* border-radius: var(--border-radius); */
    /* border: 3px solid var(--primary-color); */
    /* overflow: hidden; */
    position: relative;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.6); */
    margin-bottom: 10px;
}

.city-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.city-image .placeholder-img {
    font-size: 2rem;
    color: rgba(255,255,255,0.2);
    font-weight: bold;
    text-transform: uppercase;
}

.city-name-badge {
    height: 20vh;
    /* background: var(--primary-color);
    color: #000;
    padding: 10px 30px; */
    /* border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
    box -shadow: 0 4px 15px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    min-width: 180px;
    max-width: 220px;
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden; */
}

#hub-city-title-img {
     /* max-width: 180px;
    max-height: 60px; */
    width: 50%;            /* approx. 50% of container width */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;        /* center horizontally */
    border: none;          /* remove any border/outline */
    box-shadow: var(--boxshadow); 
    transition: transform 0.2s;
}

/* ensure the badge itself doesn't add extra borders or padding */
.city-name-badge {
    text-align: center;
}


#hub-city-title-img:active {
    transform: scale(0.97);
}

.hub-main-actions {
    margin-bottom: 15px;
}

.btn-action-primary {
    background-color: white;
    /* color: white; */
    border: none;
    /* use aspect-ratio to keep square shape and center text */
    aspect-ratio: 1 / 1;
    height: 200px;              /* base size, adjust as needed */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;                /* remove default padding since using fixed size */
    border-radius: 120px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--boxlitghdo);
    transition: all 0.2s ease;
}

/* image inside the primary action button should fill available space */
.btn-action-primary-img,
.btn-action-primary img {
    max-width: 101%;
    max-height: 101%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}


.btn-action-primary:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.city-navigation {
    position: absolute;
    top: 35dvh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 10;
}

.btn-nav-side {
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;

}

.btn-nav-side:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.9);
}

.hub-footer-action {
    width: 90%;
    max-width: 400px;
    margin-top: auto;
}

.btn-action-footer {
    width: 100%;
    background: var(--Or-color);
    color: white;
    border: none;
    padding: 18px;
    border-radius: var(--border-radius) var(--border-radius) 0px 0px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-action-footer:active {
    transform: scale(0.98);
}
