body {
    font-size: 16px;
}
.banner-top {
    position: relative;
    height: 100vh;
}
.banner-top img {
    object-fit: contain;
    height: 100%;
    width: auto;
}
.banner-top-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    font-size: 30px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-direction: column;
}
p.main-title {
    font-size: 50px;
    color: #f15f25;
    font-weight: 600;
}
.content-data {
    height: 700px;
}
.content-top {
    overflow: hidden;
    max-width: 800px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 12px;
}

/* --- Tiêu đề chính --- */
.main-title {
    font-size: 120px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ea936b;
    margin: 0 0 25px;
    opacity: 0;
    transform: translateX(-60px);
    animation: slideInLeftSmooth 1.6s cubic-bezier(.25,.1,.25,1) forwards;
}

/* --- Mô tả --- */
.sub-title {
    font-size: 48px;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0;
    transform: translateX(60px);
    animation: slideInRightSmooth 1.8s cubic-bezier(.25,.1,.25,1) forwards;
    animation-delay: 0.4s;
    max-width: 720px;
    margin: 0 auto;
}

/* --- Keyframes siêu mượt --- */
@keyframes slideInLeftSmooth {
    from {
        transform: translateX(-60px);
        opacity: 0;
        filter: blur(6px);
    }
    to {
        transform: translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes slideInRightSmooth {
    from {
        transform: translateX(60px);
        opacity: 0;
        filter: blur(6px);
    }
    to {
        transform: translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}
#tongQuan {
    background: -webkit-linear-gradient(270deg, #675fc3 0%, hsl(216deg 94.14% 26.36%) 50%, hsl(243.69deg 29.25% 38.38%) 100%);
    color: #ffffff;
}
.tongQuanTitle h2 {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 34px;
    padding: 10px;
}
.tongQuanDesc {
    text-align: center;
    font-size: 16px;
    line-height: 26px;
}
.tongQuanContent {
    padding: 20px 0;
}
.tb_tongquan {
    width: 100%;
}
.tb_tongquan tr {
    border-bottom: 1px solid #0a53be;
}
td.tb_title {
    width: 400px;
    padding: 10px;
    font-weight: 600;
}
td.tb_desc {
    padding: 10px;
    line-height: 26px;
}

.tongQuanContent {
    /*background: linear-gradient(135deg, rgb(250, 250, 255), rgb(240, 240, 245));*/
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);


}



/* Trang trí bảng */
.tb_tongquan {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    color: #ffffff;
}

/*.tb_tongquan td {*/
    /*padding: 10px 15px;*/
    /*vertical-align: top;*/
/*}*/

/*.tb_title {*/
    /*width: 180px;*/
    /*font-weight: 600;*/
    /*color: #222;*/
/*}*/

/*.tb_desc {*/
    /*color: #555;*/
    /*line-height: 1.6;*/
    /*font-weight: 400;*/
    /*font-size: 15px;*/
    /*text-align: justify;*/
/*}*/
.formProjectContact .main-ft-form-control {
    background: #ffffff;
}
#infoUp {
    background-image: url("/images/project-detail/the-prive/bg-2.jpg");
    background-size: cover;
    background-origin: content-box;
    background-position: 50% 0%;
    background-repeat: repeat;
    background-attachment: scroll;

}
.infoUpContent {
    padding: 40px 0;

}
.infoUpContentTitle {
    font-size: 65px;
    line-height: 1.2;
    text-align: right;background: linear-gradient(50deg, rgb(47, 18, 5), rgb(174, 100, 66));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.infoUpContentDesc {
    text-align: justify;
}
.infoUpImg img{
    border-radius: 12px;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
}
#utilities {
    background-image: url("/images/project-detail/the-prive/bg-3.png");
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: repeat;
    background-attachment: fixed;
    color: #ffffff;
}
#utilities img{
    width: 100%;
}
.utilitiesTitle {
    text-align: center;
    font-size: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-transform: uppercase;
    font-weight: 600;
}
.utilitiesDesc {
    padding-bottom: 20px;
    line-height: 35px;
}
.utilitiesSlideInDoor img {
    max-height: 50vh;
    object-fit: contain;
}
.premisesTitle {
    text-align: center;
    font-size: 30px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-transform: uppercase;
    font-weight: 600;
}
.premisesTitle span {
    font-size: 60px;
    color: #ea936b;
}
.premisesDesc {
    padding-bottom: 20px;
    line-height: 35px;
}
.modelHouse {
    background-image: url("/images/project-detail/the-prive/bg-2.jpg");
    background-size: cover;
    background-origin: content-box;
    background-position: 50% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* mỗi cột min 250px */
    grid-auto-rows: 10px; /* chiều cao dòng cơ bản */
    gap: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    grid-row-end: span var(--row-span, 1);
}
#modelHouse {
    padding: 50px 0;
}
.modelHouseTitle {
    text-transform: uppercase;
    font-size: 40px;
    color: rgb(142, 86, 61);
    font-weight: 700;
    padding-bottom: 40px;
}
.modelHouseDesc {
    color: rgb(142, 86, 61);
    line-height: 32px;
}
.formProjectContact .main-ft-form-control {
    color: #000000;
}

/*popup*/
.popup {
    display: none; /* bật bằng JS */
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.popup.show {
    display: block;
    pointer-events: auto;
    opacity: 1;
}

/* Nền tối phía sau (chỉ dim, không là ảnh) */
.popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* Hộp nội dung: canh giữa tuyệt đối */
.popup-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-10px); /* xuất hiện nhẹ từ trên */
    z-index: 2;
    width: 92%;
    max-width: 520px;
    min-width: 300px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    color: #fff;
    /* Hình nền của chính popup-content */
    background-image: url("/images/project-detail/the-prive/TPV-2.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Khi show, bật chuyển động vào vị trí chính giữa */
.popup.show .popup-content {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
}

/* Lớp phủ màu mờ phía trong popup để chữ dễ đọc */
.popup-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.15));
    z-index: 0;
}

/* Nội dung thực sự (trên cùng) */
.popup-content > * {
    position: relative;
    z-index: 2;
}

/* Nội dung form */
.popup-content {
    padding: 26px 28px;
}

.popup-content h2 {
    margin: 0 0 12px 0;
    font-size: 20px;
    text-align: center;
    color: #fff;
}

.popup-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-content label {
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    margin-top: 4px;
}

.popup-content input,
.popup-content textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.9); /* trắng nhẹ trong suốt để nhập liệu dễ nhìn */
    color: #222;
    font-size: 14px;
    resize: vertical;
}

.popup-content textarea { min-height: 90px; }

.popup-content button[type="submit"] {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: rgba(0,123,255,0.95);
    color: #fff;
    font-weight: 600;
}

.close {
    position: absolute;
    right: 14px;
    top: 10px;
    z-index: 3;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.close:hover { background: rgba(255,255,255,0.2); }

/* Responsive nhỏ */
@media (max-width: 420px) {
    .popup-content { padding: 18px; }
    .close { width:34px; height:34px; right:10px; top:8px; }
}

/*footer bar*/
.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glow 2.5s ease-in-out infinite; /* hiệu ứng luôn chạy */
}

/* màu riêng từng nút */
.fb-item.zalo  { background: #ffffff; color: #0a0a0a; border: 1px solid #264d87 }
.fb-item.phone { background: #ffffff; color: #0a0a0a; border: 1px solid #264d87 }
.fb-item.book  { background: #ffffff; color: #0a0a0a; border: 1px solid #264d87; }

.fb-item img {
    width: 24px;
    height: 24px;
}

.fb-item span {
    font-weight: 500;
    white-space: nowrap;
}

/* Hiệu ứng hover */
.fb-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Keyframes cho hiệu ứng “pulse” nhẹ */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
}
@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}
.fb-item { animation: glow 2.5s ease-in-out infinite; }
@keyframes breathe-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255,255,255,0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(255,255,255,0.6);
    }
}

.fb-item {
    animation: breathe-glow 2.2s ease-in-out infinite;
}
@media (max-width: 480px) {
    .fb-item {
        border-radius: 50%;
        padding: 10px;
        justify-content: center;
        width: 50px;
        height: 50px;
    }
    .fb-item span { display: none; }
}

/*css mobile*/
@media (max-width: 767px) {
    td.tb_title {
        width: 150px;
    }
    #tongQuan {
        padding-left: 15px;
        padding-right: 15px;
    }
    .tongQuanContent {
        padding: 20px 0;
    }
    .formProjectContact {
        padding-bottom: 20px;
    }
    .infoUpContentTitle {
        font-size: 40px;

    }
    #utilities {
        padding-left: 15px;
        padding-right: 15px;
    }
    .modelHouseTitle {
        text-transform: uppercase;
        font-size: 36px;
        color: rgb(142, 86, 61);
        font-weight: 700;
        padding-bottom: 32px;
    }
    #modelHouse {
        padding: 40px 15px;
    }
    .formProjectContact .col-12{
        padding-right: 0;
        padding-left: 0;
    }
}