@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');

body {
    font-family: "Mitr", sans-serif !important;
    font-weight: 300;
}

strong {
    font-weight: 400;
}

.text-light-brown {
    color: #C0ADA0 !important;
}

.text-green {
    color: #2FBA38 !important;
}

.text-green-dark {
    color: #006837 !important;
}

.text-blue {
    color: #262F50;
}

.text-brown {
    color: #622E02 !important;
}

.bg-blue {
    background-color: #262F50;
}

.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.navbar-toggler {
    border: none !important
}

.navbar-toggler-icon {
    background-image: url('../img/icon/hamberger.png')
}


.nav-logo {
    width: 200px;
}

.nav-item .nav-link {
    font-size: 18px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    position: relative;
    color: #61311175;
}

.nav-item .nav-link::after {
    font-family: bootstrap-icons !important;
    content: "\f309";
    line-height: 1;
    font-size: 40px;
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(50%, -50%);
    -ms-transform: translate(50%, -50%);
}

.nav-item:last-child .nav-link::after {
    content: "";
}

.offcanvas-header .btn-close {
    background: none;
}

.offcanvas-header .btn-close::after {
    font-family: bootstrap-icons !important;
    content: '\f62a';
    color: beige;
    font-size: 24px;
}

main {
    padding-top: 110px;
}

/* --- ปุ่มหลัก --- */
.contact-button {
    position: fixed;
    bottom: 48px;
    right: 64px;
    z-index: 1000;
}

/* ซ่อน checkbox toggle */
#contact-toggle {
    display: none;
}

.contact-button:hover,
.contact-button:active,
#contact-toggle:checked~label {
    padding-top: 300px;
}

/* --- ปุ่มหมา --- */
.contact-button img.contact-fixed {
    transition: 0.3s ease-in-out;
    transform: rotate(0deg);
    width: 75px;
    cursor: pointer;
}

.contact-button:hover img.contact-fixed,
.contact-button:active img.contact-fixed,
#contact-toggle:checked~label img.contact-fixed {
    transform: rotate(360deg);
    width: 85px;
}

/* --- กลุ่ม social icons --- */
.social-list {
    position: absolute;
    left: 15%;
    bottom: 130px;
    transform: translate(-50%, 0%);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

/* แสดงเมื่อ hover หรือ checkbox ถูกติ๊ก */
.contact-button:hover .social-list a,
.contact-button:active .social-list a,
#contact-toggle:checked~.social-list a {
    opacity: 1;
    transform: translateY(10px);
    pointer-events: all;
}

/* --- ไอคอนแต่ละอัน --- */
.social-list a img {
    width: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-list a img:hover {
    transform: scale(1.3);
}

/* เริ่มต้นซ่อนแต่ละอัน */
.social-list a {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.homeSwiper {
    padding: 0 16px;
}

.home-banner {
    width: 100%;
    border-radius: 50px;
    object-fit: cover;
}

.title-lover {
    margin-top: -70px;
    z-index: 9;
    position: relative;
}

.title-lover img {
    width: 100%;
    max-width: 450px;
}

.detail-lover {
    position: relative;
    /* เพื่อให้ pseudo-element อยู่ในตำแหน่งเดียวกัน */
    min-height: 460px;
    background-image: url('../img/background/Home R3-19.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
    padding-bottom: 200px;
    overflow: hidden;
}


/* ยกเนื้อหาภายในให้ลอยอยู่บน overlay */
.detail-lover>* {
    position: relative;
    z-index: 1;
}

.sub-title-lover {
    font-size: 60px;
}

.sub-title-lover img {
    height: 120px;
}

.catalog {
    background: #FFFBEF;
    background: linear-gradient(0deg, rgba(255, 251, 239, 1) 50%, rgba(48, 185, 57, 0.4) 100%);
    padding: 250px 0 0 0;
    box-shadow: 10px 0 50px rgb(159, 159, 159) inset;
    margin-top: -300px;
}

.catalog-list {
    margin-top: -280px;
    margin-bottom: 100px;
}

.catalogSwiper img {
    width: 100%;
    transform: scale(0.7);
    transition: .3s;
}

.catalogSwiper .swiper-slide-active img {
    transform: scale(1);
}

.catalogSwiper .swiper-wrapper {
    align-items: flex-end;
}

.tony-patrick {
    background-color: white;
    padding-bottom: 100px;
    z-index: 1;
    position: relative;
}

.tony-title {
    font-size: 24px;

}

.tony-detail {
    /* font-size: 22px; */
}

.tony-patrick img.tony {
    max-width: 350px;
    width: 50%;
}

.laundry-bg {
    position: relative;
    background-image:
        /* ✅ ชั้นบน: สีเขียวโปร่งแสง */
        linear-gradient(rgba(195, 235, 200, 0.85),
            /* สีเขียวอ่อนโปร่ง */
            rgba(255, 255, 255, 0.85)),
        /* ✅ ชั้นล่าง: รูปเครื่องซักผ้า */
        url('../img/browny/Home-รูปร้าน.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* เพื่อความชัดเจนบน text */
    color: #2b2b2b;
    margin-top: -120px;
    z-index: 0;

    padding-top: 450px;

}

.bsi-title {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    height: 0;
    margin-top: -200px;
}

.bsiSwiper {
    font-size: 20px;
}

.bsiSwiper img {
    width: 100%;
    transform: scale(0.7);
    transition: .3s;
    margin-bottom: 20px;
}

.bsiSwiper .swiper-slide-active img {
    transform: scale(1);
}

.bsiSwiper strong {
    transition: .3s;
}

.bsiSwiper .swiper-slide-active strong {
    color: #2FBA38 !important;
    font-size: 150%;
    font-weight: 500;
}

.application {
    padding-top: 250px;
    background-color: white;
}


.partner-title {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    height: 0;
    margin-top: -120px;
}

.partner {
    background-color: #FFFBEF;
    margin-top: -10px;
    z-index: 0;
    position: relative;
    padding: 200px 0 0 0;
}

.card-review {
    padding: 100px 0 0 0;
    text-align: center;
    position: relative;
}

.card-review-content {
    padding: 100px 40px 40px 40px;
    text-align: center;
    box-shadow: 0px 3px 40.2px 0px #00000040;
    min-height: 490px
}


.card-review-img {
    --size: 150px;
    --ring-thickness: 6px;
    --gap-deg: 110;
    /* องศาช่องว่างซ้าย-ขวา ยิ่งมากยิ่งเว้นเยอะ */
    --ring-color: #1fa24a;

    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    /* overflow: hidden; */
    position: relative;
    display: inline-block;
    padding: 4px;
    border-radius: 50%;
    border: 1px solid #1fa24a;
    text-align: center;
    margin-bottom: -90px;
}

.card-review-img img {
    width: 99%;
    height: 99%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.card-review-content .title {
    font-size: 24px;
    color: #157F1F;
    font-weight: 400;
}

.card-review-content .title span {
    font-size: 36px;
}

.card-review-content .sub-title {
    font-size: 20px;
    color: #2FBA38;
    margin-bottom: 30px;
}

.card-review-content .detail {
    font-size: 14px;
    color: #57341A;
}

.invest {
    background-color: white;
    padding-top: 150px;
}

.register {
    background-color: #2FBA38;
    border-radius: 10% 10% 0 0;
    margin-top: -40px;
    padding: 80px 40px;
}


.form-control,
.form-select {
    border-radius: 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 8px 20px;
    font-size: 14px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: #e6e6e6;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

label {
    font-weight: 300;
    margin-bottom: 6px;
}

.form-check-label {
    color: #fff;
    font-size: 14px;
}

.btn-submit {
    background: #fff;
    color: #1fa24a;
    font-weight: 400;
    border-radius: 40px;
    width: 50%;
    font-size: 14px;
    padding: 10px;
    transition: all 0.3s;
    font-weight: 300;
}

.btn-submit:hover {
    background: #e6e6e6;
    color: #138b3d;
}

.swiper-pagination-bullet-active {
    background: #2a8f2a !important;
}

.offcanvas .contact-menu {
    display: none;
}

.offcanvas.show .contact-menu {

    display: block;

    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);

    width: 100%;

    padding: 0 16px;

}

.container {
    max-width: 1200px !important;
}

.h2-title-lover {
    font-size: 28px;
}

.detail-title-lover {
    font-size: 24px;
}

.tour-detail {
    font-size: 24px;
    font-weight: 400;
}

.tour-image {
    border-radius: 68px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.register-catalog {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    width: 50%;
    max-width: 600px;
}

@media (max-width:1200px) {
    .nav-logo {
        width: 150px;
    }

    .nav-item .nav-link {
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 16px;
    }

    main {
        padding-top: 90px;
    }
}

@media (max-width:1000px) {
    .nav-item .nav-link::after {
        content: "";
    }

    .sub-title-lover {
        font-size: 40px;
    }

    .sub-title-lover img {
        height: 80px;
    }

    .catalog-list {
        margin-top: -100px;
    }

    .detail-lover {
        padding-bottom: 80px;
    }
}

@media (max-width:480px) {
    .nav-logo {
        width: 100px;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .contact-button {
        position: fixed;
        bottom: 28px;
        right: 32px;
        z-index: 1000;
    }

    .contact-button img.contact-fixed {
        transition: 0.3s ease-in-out;
        transform: rotate(0deg);
        width: 65px;
        cursor: pointer;
    }

    .contact-button:hover img.contact-fixed,
    .contact-button:active img.contact-fixed,
    #contact-toggle:checked~label img.contact-fixed {
        transform: rotate(360deg);
        width: 75px;
    }

    .social-list {
        bottom: 120px;
        right: 10%;
    }

    .social-list a img {
        width: 40px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .homeSwiper {
        padding: 0;
    }

    .home-banner {
        border-radius: 0;
        /* height: 50vh; */
    }

    main {
        padding-top: 68px;
    }

    .title-lover {
        margin-top: -30px;
    }

    .sub-title-lover {
        font-size: 30px;
    }

    .sub-title-lover img {
        height: 40px;
    }

    .detail-lover {
        padding-bottom: 0px;
    }

    .catalog {
        padding: 70px 0 0 0;
        margin-top: -80px;
    }

    /* .catalogSwiper, */
    .bsiSwiper {
        display: none;
    }

    .catalog-list {
        margin-top: -15vh;
        margin-bottom: 50px;
    }

    .laundry-bg {
        background-image: linear-gradient(rgba(195, 235, 200, 0.85),
                /* สีเขียวอ่อนโปร่ง */
                rgba(255, 255, 255, 0.85));
        padding-top: 300px;
    }

    .bsi-title {
        max-width: 300px;
        margin-top: -150px;
    }

    .bsi-title.application-title {
        margin-top: -82px;
    }

    .application {
        padding-top: 150px;
    }

    .application-title,
    .partner-title {
        max-width: 250px;
        margin-top: -50px;
    }

    .title-lover img {
        width: 100%;
        max-width: 300px;
    }

    .partner {
        padding-top: 100px;
    }

    footer {
        font-size: 10px;
    }

    .invest {
        padding-top: 50px;
    }

    .container {
        padding-left: 26px !important;
        padding-right: 26px !important;
    }

    .h2-title-lover {
        font-size: 14px;
    }

    .detail-title-lover {
        font-size: 12px;
    }

    .tour-detail {
        font-size: 12px;
    }

    .tour-image {
        border-radius: 15px;
    }

    .tony-title {
        font-size: 16px;
    }

    .btn-submit {
        width: 100%;
    }

    .register {
        margin-top: -8px;
        padding: 50px 0;
    }

    .card-review-content {
        padding: 100px 10px 10px 10px;
    }

    #goToLeadForm {
        font-size: 12px;
    }
}


.container {
    max-width: 1100px !important;
}



/* ซ้าย: รูปใหญ่ 2 รูปซ้อนกัน */
.rt-16-9 {
    aspect-ratio: 16/9;
}

.rt-1-2 {
    aspect-ratio: 1/2;
}

.rt-1 {
    aspect-ratio: 40/39;
}

.rt-square {
    aspect-ratio: 1;
}

.tour-rounded {
    border-radius: 12px;
}

.img-cover {
    object-fit: cover !important;
}

/* ขวา: รูปเล็ก 3 รูปจัดเป็นกริดย่อย */
.item3 {
    grid-column: 1;
    grid-row: 1;
}

.item4 {
    grid-column: 1;
    grid-row: 2;
}

.item5 {
    grid-column: 1;
    grid-row: 3;
    /* สำหรับกรณีมีภาพที่ 5 */
}

/* รูปภาพทั้งหมด */
.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Responsive สำหรับมือถือ */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

.btn-success {
    background-color: #2FBA38 !important;
    border-color: #2FBA38 !important;
}