/* =========================================
   BANNER CONTENT + ENQUIRY FORM
========================================= */

/* ==========================================
   BANNER
========================================== */

.banner-section {
    position: relative;
}

.banner_content_wrapper {
    position: absolute !important;

    top: 50%;
    left: 0 !important;
    right: 0 !important;

    transform: translateY(-50%) !important;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto !important;

    z-index: 50;

    pointer-events: none;
}


/* ==========================================
   LEFT PROJECT CONTENT
========================================== */

.content-over-banner {
    width: 55%;
    pointer-events: auto;
    background: #00000082;
}


/* ==========================================
   RIGHT ENQUIRY FORM
========================================== */

.banner-enquiry-form {
    position: absolute !important;

    top: 50%;
    right: 15px !important;
    left: auto !important;

    transform: translateY(-50%) !important;

    width: 350px !important;
    max-width: 350px;

    padding: 25px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.97);

    border-radius: 10px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);

    z-index: 100;

    pointer-events: auto;
}


/* FORM HEADING */

.banner-enquiry-form h3 {
    margin: 0 0 5px;

    text-align: center;

    font-size: 24px;
    font-weight: 700;

    color: #0b1c2d;
}

.banner-enquiry-form>p {
    margin: 0 0 18px;

    text-align: center;

    font-size: 13px;

    color: #666;
}


/* ==========================================
   FORM FIELDS
========================================== */

.banner-enquiry-form .form-field {
    margin-bottom: 12px;
}

.banner-enquiry-form input,
.banner-enquiry-form textarea {
    display: block;

    width: 100% !important;

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #ddd;

    border-radius: 5px;

    background: #fff;

    color: #333;

    outline: none;

    font-size: 14px;

    font-family: inherit;
}

.banner-enquiry-form input {
    height: 43px;
}

.banner-enquiry-form textarea {
    height: 75px;

    resize: none;
}

.banner-enquiry-form input:focus,
.banner-enquiry-form textarea:focus {
    border-color: #467a32
}


/* ==========================================
   BUTTON
========================================== */

.banner-submit-btn {
    display: block;

    width: 100% !important;
    height: 44px;

    border: 0;

    border-radius: 5px;

    background: #0b1c2d;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.banner-submit-btn:hover {
    background: #215454;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    .banner-enquiry-form {
        right: 20px !important;
        width: 310px !important;
        max-width: 310px;
        padding: 20px;
    }

    .content-over-banner {
        width: 40%;
    }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {

    .banner_content_wrapper {
        position: relative !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        transform: none !important;

        width: 100%;

        max-width: 100%;

        margin: 0 !important;

        padding: 30px 15px;

        background: #fff;

        box-sizing: border-box;
    }

    .content-over-banner {
        width: 100%;
        color: #fff;
        text-align: center;
    }

    .banner-enquiry-form {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        left: auto !important;

        transform: none !important;

        width: 100% !important;
        max-width: 420px;

        margin: 25px auto 0;

        padding: 22px 18px;
    }
}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 575px) {

    .banner_content_wrapper {
        padding: 25px 12px;
    }

    .banner-enquiry-form {
        max-width: 100%;

        padding: 20px 15px;
    }

    .banner-enquiry-form h3 {
        font-size: 21px;
    }
}

/* ====== AMENITIES MULTI LEVEL========= */

.amenities-list {
    width: 100%;
    max-width: 1250px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 22px;
}

/* Individual Amenity */
.amenity-item {
    min-height: 72px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 13px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    transition: all 0.3s ease;
}

/* Small Image Icon */
.amenity-item img {
    width: 38px;
    height: 38px;
    min-width: 38px;
    object-fit: contain;
    display: block;
}

/* Text */
.amenity-item span {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #333;
}

/* Hover */
.amenity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
    border-color: #b59b5b;
}

.amenity-item:hover img {
    transform: scale(1.08);
    transition: 0.3s ease;
}


/* ======= TABLET ========== */

@media (max-width: 991px) {

    .amenities-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .amenity-item {
        min-height: 68px;
        padding: 10px 12px;
    }

    .amenity-item img {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .amenity-item span {
        font-size: 13px;
    }
}


/* =========MOBILE ============ */

@media (max-width: 767px) {

    .amenities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 30px;
    }

    .amenity-item {
        min-height: 64px;
        padding: 9px 10px;
        gap: 9px;
        border-radius: 6px;
    }

    .amenity-item img {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .amenity-item span {
        font-size: 12px;
        line-height: 1.3;
    }
}


/* =============SMALL MOBILE ================== */

@media (max-width: 480px) {

    .amenities-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .amenity-item {
        min-height: 58px;
        padding: 9px 12px;
    }

    .amenity-item img {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .amenity-item span {
        font-size: 13px;
    }
}


/******form css ***********/

/* =========================================
   ENQUIRY POPUP - FORM DESIGN
   ========================================= */

#popupFormgolfhills .modal-left {
    padding: 20px 35px 30px;
    box-sizing: border-box;
}

#popupFormgolfhills .modal-left>img {
    display: block;
    width: 150px !important;
    max-width: 60%;
    height: auto;
    margin: 0 auto 10px;
}

/* Form */
#popupFormgolfhills form {
    width: 100%;
}

/* Input wrapper */
#popupFormgolfhills .name-email {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

/* All input fields */
#popupFormgolfhills input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    box-sizing: border-box;

    border: 1px solid #d1d1d1;
    border-radius: 9px;
    background: #fff;

    font-family: inherit;
    font-size: 16px !important;
    color: #333;

    outline: none;
    transition: all 0.25s ease;
}

/* Message field */
#popupFormgolfhills #clmessage {
    height: 58px;
}

/* Placeholder */
#popupFormgolfhills input::placeholder {
    color: #777;
    opacity: 1;
}

/* Input focus */
#popupFormgolfhills input:focus {
    border-color: #193651;
    box-shadow: 0 0 0 3px rgba(25, 54, 81, 0.10);
}

/* Submit button area */
#popupFormgolfhills form>div:last-child {
    width: 100%;
    margin-top: 16px;
}

/* Submit button */
#popupFormgolfhills .btn3 {
    display: block;
    width: 100% !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 20px;

    border: none;
    border-radius: 9px !important;

    background: #193651;
    color: #fff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* Submit hover */
#popupFormgolfhills .btn3:hover {
    background: #274b6b;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(25, 54, 81, 0.20);
}

/* =====================================
   MOBILE FORM - REDUCE HEIGHT ONLY
   ===================================== */
@media (max-width: 767px) {

    #popupFormgolfhills .modal-box {
        height: auto !important;
        max-height: 70vh !important;
        min-height: 0 !important;
        padding: 0 !important;
        background-color: #b7926c;
    }

    #popupFormgolfhills .modal-left {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 15px 10px 12px !important;
        margin: 0 !important;
    }

    /* Reduce logo space */
    #popupFormgolfhills .modal-left>img {
        width: 90px !important;
        margin: 0 auto 10px !important;
    }

    /* Reduce gap between fields */
    #popupFormgolfhills .name-email {
        gap: 8px !important;
    }

    /* Smaller input height */
    #popupFormgolfhills input {
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    /* Message */
    #popupFormgolfhills #clmessage {
        height: 42px !important;
    }

    /* Reduce space before button */
    #popupFormgolfhills form>div:last-child {
        margin-top: 9px !important;
    }

    /* Submit button */
    #popupFormgolfhills .btn3 {
        height: 42px !important;
        font-size: 14px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Popup close button */
    #popupFormgolfhills .close {
        top: 10px;
        right: 14px;
    }
}

/* Small mobile screens */
@media (max-width: 400px) {

    #popupFormgolfhills .modal-left {
        padding: 22px 15px 25px !important;
    }

    #popupFormgolfhills .modal-left>img {
        width: 120px !important;
        margin-bottom: 18px;
    }

    #popupFormgolfhills input {
        height: 49px !important;
        font-size: 14px !important;
    }

    #popupFormgolfhills #clmessage {
        height: 52px !important;
    }

    #popupFormgolfhills .btn3 {
        height: 49px !important;
    }
}

/* Call Button */
#popupFormgolfhills .call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    height: 42px;
    margin-top: 8px;

    box-sizing: border-box;
    border-radius: 8px;

    background: #ffffff;
    border: 1px solid #193651;
    color: #193651;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

#popupFormgolfhills .call-btn span {
    font-size: 17px;
}

#popupFormgolfhills .call-btn:hover {
    background: #193651;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 767px) {
    #popupFormgolfhills .call-btn {
        height: 40px;
        margin-top: 7px;
        font-size: 14px;
    }
}