/* G E N E R A L   S E T T I N G ------------------------------------------------------- */
/* #region */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html::-webkit-scrollbar {
    display: none;
    width: 0;
}
html {
    scrollbar-width: none;  
    -ms-overflow-style: none;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
    color: #333;
    
    scrollbar-width: none;  
    -ms-overflow-style: none;

}
body::-webkit-scrollbar {
    display: none; 
    width: 0;      
}

.prohouse-main-title {
    display: flex;
    text-align: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
    color: #4b4b4b	;

}
.prohouse-main-title h1 {
    font-weight: 600;
    font-size: 2.8rem;
}
.prohouse-main-title i {
    font-size: 2rem;
}

/* mobile setting  */
.mobile-prohouse-bottom-nav,
.prohouse-mobile-header,
.mobile-prohouse-mobile-header {
    display: none;
}


/* #endregion */
/* ####################################################################################### */



/* T O P   H E A D E R  ----------------------------------------------------------------------------*/
/* #region */

.prohouse-desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.prohouse-logo img {
    margin-left: 35px;
    width: 120px;
}
.prohouse-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 20px;
}
.prohouse-contact-block {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    gap: 4px;
}
.prohouse-contact-block i {
    font-size: 13px;
    color: #f16a48;
    margin-bottom: 6px;
}
.prohouse-contact-block p {
    margin: 0;
    line-height: 1.2;
    font-size: 13px;
}
.prohouse-request-btn {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
}
.prohouse-contact-info a {
    text-decoration: none;
    color: #1d1d1d;
}
/* #endregion */
/* ####################################################################################### */



/* B A N N E R   S E C T I O N ---------------------------------------------------------------------- */
/* #region */
.prohouse-hero {
    position: relative;
    color: white;
    padding: 100px 40px 100px;
    text-align: left;
    height: 30%;
    overflow: hidden;
}
.prohouse-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.prohouse-hero>.prohouse-hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

/* Banner image slide --------------------------------------------------------------------- */
.prohouse-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.prohouse-banner-slide-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
.prohouse-banner-slide-picture.active {
    opacity: 1;
    z-index: 1;
}
.prohouse-banner-slide-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.prohouse-pagenumber {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 3;
}
.prohouse-banner-slide-picture.active .prohouse-pagenumber {
    font-size: 15px;
    background-color: #1d1d1d;
    padding: 6px 16px;
}

/* Navigation tab -------------------------------------------------------------  */
.prohouse-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.18);
    z-index: 10;
    padding: 16px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.prohouse-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin: 0;
    padding: 0;
}
.prohouse-nav li {
    position: relative;
}
.prohouse-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    transition: color 0.3s, border-bottom 0.3s;
}
.prohouse-nav a.prohouse-active {
    color: #f19448;
    border-bottom: 2px solid #f19448;
    font-weight: 700;
}
.prohouse-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.prohouse-dropdown:hover>.prohouse-dropdown-menu {
    display: block;
    pointer-events: auto;
    opacity: 1;
}
.prohouse-dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}
.prohouse-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #f19448;
}

/* banner detail --------------------------------------------------------------- */
.prohouse-overlay-title {
    position: relative;
    z-index: 3;
    /* max-width: 800px; */
    width: 100%;
    padding: 0 40px;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
}
.prohouse-overlay-title h2 {
    font-size: 2rem;
    font-weight: 400;
}
.prohouse-overlay-title h1 {
    font-size: 2.8rem;
    font-weight: 600;
}
.prohouse-overlay-title p {
    font-size: 1.2rem;
    font-weight: 400;
}
.prohouse-btn {
    background-color: #007bff00;
    color: white;
    width: 200px;
    padding: 12px 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid white;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.prohouse-btn:hover {
    background-color: #f89100;
}
/* #endregion */
/* ####################################################################################### */



/* C O N T A C T  setting -------------------------------------------------------------------------------- */
/* #region */

.contact-container {
    max-width: 1200px;
    margin: 50px auto 50px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    padding: 0 20px;
}

.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: #FF6F00	;
    background: #fff5ed;
    padding: 15px;
    border-radius: 12px;
}

.info-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #042d03;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Kanit', sans-serif;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #d35400;
    outline: none;
}

.btn-submit {
    background: #1B5E20	;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #FF6F00;
    transform: translateY(-3px);
}

.map-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}
.contact-text-box {
    text-align: center;
    margin-bottom: 35px;
}
.contact-text-box p {
    font-size: 18px;
    width: 100%;
}


/* Privacy Checkbox */
.privacy-group {
    display: flex;
    align-items: flex-start; 
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 5px;
}

#privacy_accept {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2ecc71; 
    margin-top: 2px; 
}

.privacy-label {
    font-size: 0.9rem;
    color: #4b5563; 
    line-height: 1.5;
    cursor: pointer;
    user-select: none; 
}

.privacy-label a {
    color: #042d03; 
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-label a:hover {
    color: #2ecc71;
    text-decoration: none;
}

#cts-btn:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
@media (max-width: 600px) {
    .privacy-label {
        font-size: 0.85rem;
    }
    #privacy_accept {
        width: 20px;
        height: 20px;
    }
}




@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }
}

/* #endregion */
/* ####################################################################################### */



/* S O C I A L  C O N T A C T */
/* #region */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px; 
}
.fixed-buttons a {
    text-decoration: none;
}
.messenger-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.messenger-btn {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.messenger-btn:hover {
    transform: scale(1.1);
}
.facebook-id-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 60px;
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: visibility 0.3s, opacity 0.3s ease;
    font-size: 14px;
    cursor: pointer;
}
.messenger-btn-wrapper:hover .facebook-id-popup {
    visibility: visible;
    opacity: 1;
}
.line-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.line-btn {
    width: 50px;
    height: 50px;
    background-color: #06c755;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease;
}
.line-btn:hover {
    transform: scale(1.1);
}
.line-id-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 60px; 
    background-color: #06c755;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: visibility 0.3s, opacity 0.3s ease;
    font-size: 14px;
}
.line-id-popup {
    cursor: pointer; 
}
.line-btn-wrapper:hover .line-id-popup {
    visibility: visible;
    opacity: 1;
}
/* #endregion */
/* ####################################################################################### */




/* mobile */
@media screen and (max-width: 480px) {
    
    .prohouse-desktop-header, 
    .prohouse-nav,
    .ab-in-title h1 { 
        display: none; 
    }

    .mobile-prohouse-bottom-nav, 
    .mobile-prohouse-mobile-header { 
        display: block; 
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    p, h5 { font-size: 0.95rem; }

    .prohouse-main-title h1 { 
        font-size: 22px; 
    }

    /* Mobile Header Specifics */
    .mobile-prohouse-mobile-header {
        padding: 12px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        overflow-x: hidden;
    }
    .mobile-prohouse-mobile-header img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .mobile-prohouse-mobile-header h1 {
        font-size: 18px;
        color: #042d03;
        font-family: 'Kanit', sans-serif;
        text-align: center;
        white-space: normal;
    }

    /* 2. Hero & Banner Section */
    .prohouse-hero {
        padding: 40px 40px 100px;
        text-align: center;
        height: auto;
        overflow: hidden;
    }
    .prohouse-overlay-title {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column; 
        align-items: center;
    }
    .prohouse-overlay-title h2 { font-size: 16px; }
    .prohouse-overlay-title h1 { font-size: 26px; }
    .prohouse-overlay-title p { font-size: 18px; }

    /* 3. About Us Section (ab-in) */

    .contact-container {
        display: flex;
        flex-direction: column;
        flex-flow: column-reverse;
    }
    .contact-text-box {
        margin-bottom: 20px;
    }
    .contact-text-box p {
        font-size: 13px;
        width: 100%;
    }

    .fixed-buttons {
        bottom: 80px;
        right: 10px;
        z-index: 999;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    .prohouse-desktop-header {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .prohouse-contact-info {
        flex-direction: row;
        gap: 20px;
        padding: 10px 0;
    }

    .prohouse-nav ul {
        flex-direction: row;
        gap: 12px;
    }

    .prohouse-hero {
        padding: 100px 20px 80px;
        height: auto;
    }

    .prohouse-overlay-title {
        padding: 0 20px;
        max-width: 100%;
    }

    .desktop-prohouse-info-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .desktop-info-card {
        max-width: 100%;
    }

    .desktop-prohouse-highlight-grid {
        grid-template-columns: 1fr 1fr;
    }

    .desktop-prohouse-contact-container h2 {
        font-size: 22px;
    }

    .desktop-prohouse-contact-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .desktop-prohouse-highlight-item {
        padding: 16px;
    }
}