
       

     
       
        

        /* ===== SCROLL UP ===== */
        .scrollup {
            position: fixed; bottom: 26px; right: 26px;
            width: 36px; height: 36px; background: var(--primary); color: #fff;
            display: flex; align-items: center; justify-content: center;
            border-radius: 3px; font-size: 15px;
            opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 999;
            text-decoration: none;
        }
        .scrollup.show { opacity: 1; pointer-events: all; }
        .scrollup:hover { background: var(--primary-dark); color: #fff; }
        

        /* ===== HERO / PAGE TITLE BAR ===== */
        .page-title-bar {
            background:
                linear-gradient(0deg, rgba(23,62,98,0.5), rgba(23,62,98,0.5)),
                url('https://demo2.wpopal.com/rehomes/wp-content/uploads/2019/10/project_2.jpg') center/cover no-repeat;
            min-height: 800px;
            padding-top: 61px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        .page-title-bar h1 {
            font-size: 158px;
            color: #fff;
            font-weight: 400;
            margin-bottom: 8px;
        }
        .ptb-link {
            color: #fff;
            font-size: 13px;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .ptb-link:hover { color: rgba(255,255,255,0.8); }
        @media (max-width: 767px) { .page-title-bar h1 { font-size: 32px; } }

        /* ===== PORTFOLIO STICKY NAV ===== */
        .port-nav-wrap {
            position: sticky;
            top: 61px;
            z-index: 500;
            display: flex;
            justify-content: center;
            margin-top: -40px;
            pointer-events: none;
        }
        .port-nav {
            /*background: #fff;*/
            /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
            border-radius: 4px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 0 20px;
            pointer-events: all;
            overflow-x: auto;
        }
        .port-nav li a {
            display: block;
            padding: 15px 20px;
            font-size: 12px;
            font-weight: 600;
            color:#000000;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .port-nav li a:hover,
        .port-nav li a.active {
            color: #8b0712;
            border-bottom-color: #8b0712;
        }
        @media (max-width: 767px) {
            .port-nav-wrap { top: 53px; margin-top: -20px; }
            .port-nav li a { padding: 12px 10px; font-size: 11px; }
        }

        /* ===== SECTION TITLES ===== */
        .sec-title {
            font-size: 28px;
            color: var(--heading-color);
            text-align: center;
            margin-bottom: 45px;
        }

        /* ===== OVERVIEW ===== */
        #overview { 
            /*padding: 65px 0;*/
            }
        .meta-list li {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 9px 0;
            border-bottom: 1px solid #f0ece5;
            font-size: 13px;
        }
        .meta-list li:last-child { border-bottom: none; }
        .mt { color: var(--text-color); }
        .mv { color: var(--heading-color); text-align: right; max-width: 58%; }

        /* ===== Project highlights ===== */
        #project-high { padding: 20px 0; background: #fcfaf8;
     }
        .project-icon {
            font-size: 50px;
            color: var(--primary);
            margin-bottom: 15px;
            display: block;
        }
        .project-name {
            font-size: 14px;
            color: #000000;
            font-weight: 400;
            line-height: 1.4;
            font-family: "Be Vietnam Pro", sans-serif;
        }
        .project-sub {
            font-size: 15px;
            color: #000000;
            text-align: center;
            line-height: 1.8;
            max-width: 700px;
            margin: -15px auto 50px;
        }

/* ===== AMENITIES SLIDER (6 VISIBLE + EXPANSION) ===== */
#amenities { 
    padding: 80px 0; 
    background-color: #fcfaf8; 
    overflow: hidden; 
}

.amenity-header {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.amenity-header .bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(60px, 10vw, 110px);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    text-transform: uppercase;
    z-index: 1;
    letter-spacing: 12px;
}

.amenity-header .main-title {
    position: relative;
    z-index: 2;
    font-size: 42px;
    color: #4a1111;
    font-family: "DM Serif Display", serif;
}

/* Slider Controls Wrapper */
.amenity-slider-wrapper {
    position: relative;
    padding: 0 50px;
    display: flex;
    align-items: center;
}

/* The actual scrollable area */
.amenity-track {
    display: flex;
    gap: 5px;
    overflow-x: hidden; /* JavaScript will handle the scrolling */
    scroll-behavior: smooth;
    padding: 20px 0;
    width: 100%;
}

.amenity-strip {
    /* (100% / 6 items) - small gap margin */
    flex: 0 0 calc(16.666% - 5px); 
    height: 450px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 4px;
}

/* THE MAIN HOVER EFFECT: Expansion inside the slider */
.amenity-strip:hover {
    flex: 0 0 35%; /* Becomes significantly wider */
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    z-index: 10;
}

.amenity-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.amenity-strip:hover img {
    transform: scale(1.1);
}

.amenity-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 5px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Be Vietnam Pro", sans-serif;
    transition: background 0.3s;
    white-space: nowrap;
}

.amenity-strip:hover .amenity-caption {
    background: #8b0712;
    font-size: 14px;
}

/* Navigation Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #ddd;
    color: #8b0712;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slide-btn:hover {
    background: #8b0712;
    color: #fff;
}

.slide-prev { left: 5px; }
.slide-next { right: 5px; }

/* Responsive */
@media (max-width: 1024px) {
    .amenity-strip { flex: 0 0 calc(33.33% - 5px); } /* 3 visible */
}
@media (max-width: 600px) {
    .amenity-strip { flex: 0 0 calc(50% - 5px); height: 350px; } /* 2 visible */
    .amenity-slider-wrapper { padding: 0 40px; }
}

        /* ===== PLANS ===== */
        #plans { padding: 65px 0; }
        .plans-tabs .nav-link {
            color: var(--text-color);
            font-size: 12px;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border: none;
            border-bottom: 2px solid transparent;
            border-radius: 0;
            padding: 12px 18px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }
        .plans-tabs .nav-link.active,
        .plans-tabs .nav-link:hover {
            color: #8b0712;
            border-bottom-color: #8b0712;
            background: transparent;
        }
        .plans-tabs { border-bottom: 1px solid #8b0712; }
        .tab-note { font-size: 12px; color: var(--text-color); margin-top: 10px; }

        /* ===== GALLERY ===== */
        #gallery1 { padding: 80px 0; background: #fcfaf8; }
        .gal-title {
            font-size: 36px;
            color: var(--heading-color);
            text-align: center;
            margin-bottom: 20px;
        }
        .gal-filter {
            padding: 5px 0;
            font-size: 15px;
            font-weight: 600;
            color: #000000;
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
        }
        .gal-filter.active { border-bottom-color: #8b0712; }
        .gal-filter:hover { color: #8b0712; }
        .gal-item {
            position: relative;
            overflow: hidden;
            border-radius: 2px;
            background: #eee;
        }
        .gal-item img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        .gal-item:hover img { transform: scale(1.1); }
        .gal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(189,165,136,0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .gal-item:hover .gal-overlay { opacity: 1; }
        .gal-overlay i {
            color: #fff;
            font-size: 24px;
            border: 1px solid #fff;
            padding: 15px;
            border-radius: 50%;
        }

        /* ===== VIDEO ===== */
        #video { padding: 65px 0; }
        .vid-title { font-size: 28px; color: var(--heading-color); text-align: center; margin-bottom: 30px; }
        .vid-thumb {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            max-height: 420px;
            background: var(--secondary);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .vid-bg {
            position: absolute; inset: 0;
            background-size: cover; background-position: center; opacity: 0.45;
        }
        .vid-play {
            position: relative; z-index: 2;
            width: 64px; height: 64px; border-radius: 50%;
            background: rgba(255,255,255,0.14);
            border: 2px solid rgba(255,255,255,0.6);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 20px; cursor: pointer;
            transition: all 0.25s; text-decoration: none;
        }
        .vid-play:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
        .vid-play i { margin-left: 3px; }
        .vid-info h5 { color: var(--heading-color); font-size: 18px; margin-bottom: 4px; }
        .vid-info p { font-size: 13px; color: var(--text-color); }

        /* Bootstrap carousel dots override */
        .carousel-indicators [data-bs-target] {
            width: 8px; height: 8px; border-radius: 50%;
            background: #d5cfc8; border: none; opacity: 1;
        }
        .carousel-indicators .active { background: var(--primary); }
        .carousel-control-prev-icon,
        .carousel-control-next-icon { filter: invert(0); }
        .carousel-control-prev,
        .carousel-control-next {
            width: 34px; height: 34px;
            background: rgba(255,255,255,0.92);
            border: 1px solid #e0dbd3;
            top: 40%; bottom: auto;
            border-radius: 0;
            opacity: 1;
        }
        .carousel-control-prev { left: 12px; }
        .carousel-control-next { right: 12px; }
        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-image: none;
            display: flex; align-items: center; justify-content: center;
            color: var(--heading-color); font-size: 16px;
        }
        .carousel-control-prev:hover,
        .carousel-control-next:hover { background: var(--primary); border-color: var(--primary); }
        .carousel-control-prev:hover .carousel-control-prev-icon,
        .carousel-control-next:hover .carousel-control-next-icon { color: #fff; }

        /* ===== LOCATION ===== */
        #location { padding: 80px 0; background: #f8f5f0;  }
        .loc-title { font-size: 36px; color: var(--heading-color); text-align: center; margin-bottom: 50px; }
        .loc-map { min-height: 450px; }
        .loc-map iframe { width: 100%; height: 100%; min-height: 450px; border: none; display: block; }
        .loc-info {
            background: #fff;
            padding: 50px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            height: 100%;
        }
        .loc-info h5 { font-size: 22px; color: var(--heading-color); margin-bottom: 15px; font-family: "DM Serif Display", serif; }
        .loc-info p { font-size: 14px; color: var(--text-color); line-height: 1.8; }
        .tp-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: var(--text-color);
            padding: 5px 0;
        }
        .tp-list li i {color: #9b0707;; font-size: 16px; width: 20px; text-align: center; }
        .tp-list li span b { color: var(--heading-color); font-weight: 600; }
        @media (max-width: 991px) {
            .loc-info { padding: 30px; margin-top: 20px; }
        }

        /* ===== ENQUIRY ===== */
        #enquiry { padding: 80px 0; background: #fff; }
        .enq-title { font-size: 38px; color: var(--heading-color); margin-bottom: 8px; font-family: "DM Serif Display", serif; }
        .enq-sub { font-size: 15px; color: var(--text-color); margin-bottom: 40px; }
        .enq-form .form-control,
        .enq-form .form-select {
            background: #f3f4f6;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            color: var(--text-color);
            padding: 15px 18px;
            height: auto;
        }
        .enq-form .form-control:focus,
        .enq-form .form-select:focus {
            box-shadow: none;
            background: #ebebed;
        }
        .btn-submit {
            padding: 15px 40px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: background 0.3s;
            width: 100%;
        }
        .btn-submit:hover { background: var(--primary-dark); }
        .btn-outline-custom {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 32px;
            border: 1px dashed var(--primary);
            border-radius: 50px;
            color: var(--heading-color);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
        }
        .btn-outline-custom:hover { background: var(--primary); color: #fff; border-style: solid; }
        .enq-notice { font-size: 14px; color: var(--text-color); line-height: 1.8; }
        .enq-notice .cp { color: var(--primary); text-decoration: none; }

        /* ===== FOOTER ===== */
        .site-footer { background: var(--secondary); }
        .fc h6 {
            font-size: 12px;
            color: #fff;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 16px;
            font-family: "Be Vietnam Pro", sans-serif;
            font-weight: 400;
        }
        .fc p, .fc span { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.55); }
        .fc a { color: rgba(255,255,255,0.55); }
        .fc a:hover { color: var(--primary); }
        .fc ul li { margin-bottom: 7px; }
        .fc ul li a { font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
        .fc ul li a i { font-size: 9px; color: var(--primary); }
        .soc-icon {
            width: 31px; height: 31px; border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.2);
            display: inline-flex; align-items: center; justify-content: center;
            color: rgba(255,255,255,0.55); font-size: 13px; transition: all 0.2s;
        }
        .soc-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
        .nl-form { display: flex; margin-top: 12px; }
        .nl-form input {
            flex: 1; padding: 11px 13px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.06);
            color: #fff; font-size: 13px;
            font-family: inherit; outline: none;
        }
        .nl-form input::placeholder { color: rgba(255,255,255,0.35); }
        .nl-form button {
            padding: 11px 13px; background: var(--primary);
            border: none; color: #fff; cursor: pointer; transition: background 0.2s;
        }
        .nl-form button:hover { background: var(--primary-dark); }
        .ft-bot { border-top: 1px solid rgba(255,255,255,0.1); }
        .ft-bot p { font-size: 12px; color: rgba(255,255,255,0.45); }
        .ft-bot a { color: rgba(255,255,255,0.6); }
        .ft-bot a:hover { color: var(--primary); }
    