/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background: url('../images/nailbanner.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
}

/* --- Modal Overlay --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4); /* Làm tối nền hơn một chút để nổi bật modal */
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

/* --- Modal Content --- */
.modal-content {
    width: 100%;
    max-width: 1200px;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
    font-size: 28px;
    letter-spacing: 8px;
    margin-bottom: 40px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.salon-list {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

/* --- Style Mặc định cho Desktop --- */
.salon-item {
    position: relative;
    flex: 1;
    height: 500px;
    border-radius: 35px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.salon-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s ease;
}

.glass-info {
    position: relative;
    z-index: 5;
    width: 90%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    text-align: center;
}

.glass-info h4 { color: #fff; font-size: 22px; margin-bottom: 5px; text-transform: uppercase; }
.glass-info p { color: #eee; font-size: 15px; margin-bottom: 10px; }
.glass-info .salon-phone { color: #f5d76e; font-weight: 700; font-size: 18px; }

/* Hiệu ứng Desktop */
@media (min-width: 851px) {
    .salon-item:hover { transform: translateY(-10px); border-color: #fff; }
    .salon-item:hover .salon-bg-img { transform: scale(1.1); }
}

/* --- PHONG CÁCH NÂNG CẤP CHO MOBILE --- */
@media (max-width: 850px) {
    .modal-content {
        padding: 30px 5px;
        background: transparent; /* Bỏ khung ngoài để các card tự nổi bật */
        border: none;
        box-shadow: none;
    }

    .modal-content h3 {
        font-size: 22px;
        letter-spacing: 4px;
        margin-bottom: 30px;
    }

    .salon-list {
        flex-direction: column;
        gap: 20px;
    }

    .salon-item {
        height: 160px; /* Cố định chiều cao vừa vặn */
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding-bottom: 0;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    /* Hình ảnh dạng bo góc nhẹ phía trong card */
    .salon-bg-img {
        position: relative;
        width: 120px; 
        height: 120px;
        margin-left: 8px;
        border-radius: 20px;
        flex-shrink: 0;
        z-index: 2;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    /* Thông tin tràn sang bên phải với hiệu ứng mờ nhẹ */
    .glass-info {
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        text-align: left;
        padding-right: 10px;
        padding-left: 12px;
    }

    .glass-info h4 {
        font-size: 20px;
        letter-spacing: 0.5px;
        margin-bottom: 4px;
        text-shadow: none;
    }

    .glass-info p {
        font-size: 17px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .glass-info .salon-phone {
        font-size: 18px;
        background: rgba(245, 215, 110, 0.15); /* Badge nhẹ cho số điện thoại */
        display: inline-block;
        padding: 4px 12px;
        border-radius: 10px;
        border: 1px solid rgba(245, 215, 110, 0.3);
    }
}