@font-face {
    font-family: 'Romancio';
    src: url('../fonts/Romancio/Romancio.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Zalando Sans';
    src: url('../fonts/Zalando_Sans_Expanded/ZalandoSansExpanded-VariableFont_wght.ttf') format('truetype-variations'),
        url('../fonts/Zalando_Sans_Expanded/ZalandoSansExpanded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: normal;
}

@font-face {
    font-family: 'Zalando Sans';
    src: url('../fonts/Zalando_Sans_Expanded/ZalandoSansExpanded-Italic-VariableFont_wght.ttf') format('truetype-variations'),
        url('../fonts/Zalando_Sans_Expanded/ZalandoSansExpanded-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-style: italic;
}

body {
    margin: 0;
    font-family: "Zalando Sans";
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ป้องกันคำยาว/ภาษาไทยล้นและตัดคำสวยขึ้นบนหลาย device */
h1, h2, h3, h4, h5, h6, p, .caption, .heading, .menu-list li, .location-route p, .footer .copyright {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

main section {
    padding: 0 234px;
    overflow: hidden;
    min-width: 0;
}

a {
    text-decoration: none;
    color: unset;
}

.link {
    color: unset;
    text-decoration: underline;
    transition: color 0.3s ease-in-out;
}

.link:hover {
    color: #E61C04;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
ul,
div,
span {
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 42px;
    position: absolute;
    z-index: 1100;
    width: 100%;
}

nav img {
    width: 128px;
    margin: 0 auto;
}

.sec-1 {
    background-image: url('/assets/img/sec-1.jpg');
    background-size: cover;
    height: 980px;
    background-position: center;
}

.sec-1 .heading {
    padding: 25% 0 0 0;
    color: #FFEACF;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.sec-1 h1 {
    font-family: Romancio;
    font-weight: 400;
    font-size: 170px;
}

.sec-1 .caption {
    font-family: "Zalando Sans";
}

.sec-1 .caption p {
    font-size: 20px;
    font-weight: 700;
}

.sec-1 .caption a {
    font-size: 36px;
    font-weight: 700;
}

.sec-2 {
    background-image: url('/assets/img/sec-2.jpg');
    background-size: cover;
    height: 1023px;
    padding: 126px 0;
    background-position: center;
}

.sec-2 .img {
    position: relative;
    z-index: 10;
}

.sec-2 .prop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sec-2 .prop-image img:first-child {
    width: 35%;
    top: -4%;
    left: -14%;
    position: absolute;
    z-index: 11;
}

.sec-2 .prop-image img:nth-child(2) {
    width: 45%;
    position: absolute;
    top: 61%;
    left: -54%;
    z-index: 11;
}

.sec-2 .prop-image img:nth-child(3) {
    width: 48%;
    position: absolute;
    top: 21%;
    left: 102%;
    z-index: 11;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.sec-2 .img-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 43px;
    margin: auto 0;
    height: 100%;
}

.sec-2 .img-flex .img {
    width: 18%;
}

.sec-2 .img-flex img {
    width: 100%;
}

.sec-2 .heading {
    color: #FFEACF;
    width: 50%;
    text-align: center;
    min-width: 0;
}

.sec-2 .heading h2 {
    font-family: Romancio;
    font-weight: 400;
    font-size: 64px;
    margin-bottom: 24px;
}

.sec-2 .caption {
    font-family: "Zalando Sans";
    font-size: 18px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-3 {
    background-image: url('/assets/img/sec-3.jpg');
    background-size: cover;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

.sec-3 .heading {
    color: #FFEACF;
    width: 50%;
    text-align: center;
    min-width: 0;
}

.sec-3 .heading h2 {
    font-family: Romancio;
    font-weight: 400;
    font-size: 64px;
    margin-bottom: 24px;
}

.sec-3 .caption {
    font-family: "Zalando Sans";
    font-size: 18px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-4 {
    background-image: url('/assets/img/sec-4.jpg');
    background-size: cover;
    height: 1023px;
    background-position: center;
}

.sec-4 .menu-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 43px;
    margin: auto;
    height: 100%;
    max-width: 1023px;
    justify-content: flex-end;
}



.sec-4 .menu-img-wrapper {
    position: relative;
    width: 74%;
    display: flex;
    justify-content: center;
}

.show-mobile {
    display: none;
}

.show-desktop {
    display: block;
}

.sec-4 .menu-image {
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.sec-4 .prop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sec-4 .prop-image img:nth-child(1) {
    width: 15%;
    top: -46%;
    left: -10%;
    position: absolute;
    z-index: 11;
}

.sec-4 .prop-image img:nth-child(2) {
    width: 17%;
    top: -48%;
    left: 91%;
    position: absolute;
    z-index: 11;
}

.sec-4 .prop-image img:nth-child(3) {
    width: 34%;
    bottom: 27%;
    left: -41%;
    position: absolute;
    z-index: 11;
}

.sec-4 .prop-image img:nth-child(4) {
    width: 32%;
    bottom: 40%;
    right: -45%;
    position: absolute;
    z-index: 11;
}

.sec-4 .heading {
    color: #294023;
    text-align: center;
}

.sec-4 .heading h2 {
    font-family: Romancio;
    font-weight: 400;
    font-size: 64px;
    margin-bottom: 11px;
}

.sec-4 .caption {
    font-family: "Zalando Sans";
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-4 .menu-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    min-width: 0;
}

.sec-4 .menu-list li {
    color: #294023;
    font-family: "Zalando Sans";
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

.sec-4 .menu-list li:hover {
    color: #E61C04;
}

.sec-4 .menu-list li:hover::after {
    border-bottom-color: #E61C04;
}

.sec-4 .menu-list li::after {
    content: "";
    display: block;
    border-bottom: 2px solid #294023;
    transition: border-bottom-color 0.3s ease-in-out;
}

.sec-5 {
    background: #FFE3BF;
}

.sec-5 .container {
    padding: 100px 0 72px 0;
}

.sec-5 .heading {
    color: #294023;
    text-align: center;
}

.sec-5 .heading h2 {
    font-family: Romancio;
    font-weight: 400;
    font-size: 64px;
    margin-bottom: 24px;
}

.sec-5 .caption {
    font-family: "Zalando Sans";
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-5 .location-route {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 43px;
    margin-top: 102px;
    margin-bottom: 40px;
}

.sec-5 .location-route .location-list {
    display: flex;
    flex-direction: row;
    gap: 70px;
    justify-content: center;
}

.sec-5 .location-route .location-list .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    color: #294023;
}

.sec-5 .location-route .location-list p:first-child {
    font-family: "Zalando Sans";
    font-size: 20px;
    font-weight: 700;
}

.sec-5 .location-route .location-list p {
    font-family: "Zalando Sans";
    font-size: 14px;
    font-weight: 400;
    text-align: center;
}


.sec-5 .location-route .location-list a {
    font-family: "Zalando Sans";
    font-size: 13px;
    font-weight: 700;
}

.sec-5 .map img {
    width: 100%;
}


.footer .social-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    margin-top: 38px;
    padding: 0;
}

.footer .social-list li {
    list-style-type: none;
    background-color: #2F4D33;
    border-radius: 999px;
    padding: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.footer .social-list li::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #E61C04;
    border-radius: 999px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
}

.footer .social-list li:hover::before {
    transform: scale(1);
}

.footer .social-list li > * {
    position: relative;
    z-index: 1;
}

.footer .copyright {
    text-align: center;
    font-family: "Zalando Sans";
    font-size: 11px;
    font-weight: 400;
}


@media screen and (min-width: 1300px) {
    .sec-5 .map {
        padding: 0 6%;
    }
}

/* จอขนาดกลางลงไป (~1367px) — ลด padding, ปรับขนาดตัวอักษรแบบ dynamic, รองรับการตัดคำ */
@media screen and (max-width: 1367px) {
    main section {
        padding: 0 clamp(24px, 8vw, 120px);
    }

    .sec-1 h1 {
        font-size: clamp(72px, 14vw, 170px);
        line-height: 1.1;
    }

    .sec-1 .caption p {
        font-size: clamp(16px, 1.5vw, 20px);
    }

    .sec-1 .caption a {
        font-size: clamp(24px, 2.8vw, 36px);
    }

    .sec-2 .heading,
    .sec-3 .heading {
        width: 100%;
        max-width: 90%;
    }

    .sec-2 .heading h2,
    .sec-3 .heading h2,
    .sec-4 .heading h2,
    .sec-5 .heading h2 {
        font-size: clamp(40px, 5.5vw, 64px);
    }

    .sec-2 .caption,
    .sec-3 .caption {
        font-size: clamp(15px, 1.4vw, 18px);
    }

    .sec-4 .heading {
        max-width: 90%;
    }

    .sec-4 .caption {
        font-size: clamp(14px, 1.2vw, 16px);
    }

    .sec-4 .menu-list li {
        font-size: clamp(14px, 1.5vw, 20px);
    }

    .sec-5 .caption {
        font-size: clamp(14px, 1.2vw, 16px);
    }

    .sec-5 .location-route .location-list p:first-child {
        font-size: clamp(16px, 1.5vw, 20px);
    }

    .sec-5 .location-route .location-list p,
    .sec-5 .location-route .location-list a {
        font-size: clamp(12px, 1.1vw, 14px);
    }
}

@media screen and (max-width: 1023px) {
    .show-desktop {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    main section {
        padding: 0 60px;
    }

    nav {
        margin-top: 28px;
    }

    nav img {
        width: 112px;
    }

    .sec-1 {
        height: auto;
        min-height: 720px;
        padding-bottom: 72px;
    }

    .sec-1 .heading {
        padding: 31% 0 0 0;
        gap: 28px;
    }

    .sec-1 h1 {
        font-size: clamp(72px, 12vw, 110px);
        line-height: 1.1;
    }

    .sec-1 .caption p {
        font-size: 18px;
    }

    .sec-1 .caption a {
        font-size: 28px;
    }

    .sec-2 {
        height: auto;
        padding: 72px 60px;
    }

    .sec-2 .heading,
    .sec-3 .heading {
        width: 100%;
    }

    .sec-2 .heading h2,
    .sec-3 .heading h2,
    .sec-4 .heading h2,
    .sec-5 .heading h2 {
        font-size: clamp(44px, 6vw, 54px);
    }

    .sec-2 .caption,
    .sec-3 .caption {
        font-size: 17px;
    }

    .sec-2 .img-flex {
        gap: 36px;
    }

    .sec-2 .img-flex .img {
        width: 28%;
    }

    .sec-2 .prop-image img:first-child {
        width: 32%;
        left: -10%;
        top: -4%;
    }

    .sec-2 .prop-image img:nth-child(2) {
        width: 40%;
        left: -42%;
        top: 62%;
    }

    .sec-2 .prop-image img:nth-child(3) {
        width: 42%;
        left: 98%;
        top: 22%;
    }

    .sec-3 {
        height: auto;
        min-height: 560px;
        padding: 72px 60px;
    }

    .sec-4 {
        height: auto;
        padding: 72px 0 0 0;
        background-size: cover;
        background-position: center;
    }

    .sec-4 .menu-content {
        gap: 32px;
        justify-content: center;
        margin-top: 0;
        height: auto;
        max-width: 90%;
        padding: 0 24px;
    }

    .sec-4 .heading {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .sec-4 .menu-img-wrapper {
        width: 62%;
        min-width: 280px;
        max-width: 420px;
        margin-top: 28px;
    }

    .sec-4 .menu-image {
        width: 100%;
    }

    .sec-4 .heading h2 {
        margin-bottom: 14px;
    }

    .sec-4 .caption {
        font-size: 15px;
        gap: 12px;
    }

    .sec-4 .menu {
        width: 100%;
        max-width: 520px;
    }

    .sec-4 .menu-list {
        gap: 20px 28px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sec-4 .menu-list li {
        font-size: clamp(15px, 2.2vw, 18px);
    }

    .sec-4 .prop-image img:nth-child(1) {
        width: 18%;
        top: -42%;
        left: -30%;
    }

    .sec-4 .prop-image img:nth-child(2) {
        width: 20%;
        top: -44%;
        left: auto;
        right: -33%;
    }

    .sec-4 .prop-image img:nth-child(3) {
        width: 32%;
        bottom: 28%;
        left: -28%;
    }

    .sec-4 .prop-image img:nth-child(4) {
        width: 30%;
        bottom: 38%;
        right: -32%;
    }

    .sec-5 .container {
        padding: 72px 60px 56px;
    }

    .sec-5 .heading h2 {
        margin-bottom: 20px;
    }

    .sec-5 .caption {
        font-size: 15px;
    }

    .sec-5 .location-route {
        margin-top: 56px;
        margin-bottom: 32px;
        gap: 28px;
    }

    .sec-5 .location-route .location-list {
        gap: 48px;
    }

    .sec-5 .location-route .location-list p:first-child {
        font-size: 19px;
    }

    .sec-5 .map {
        padding: 0 4%;
    }

    .footer .social-list {
        margin-top: 32px;
        margin-bottom: 14px;
    }

    .footer .copyright {
        font-size: 11px;
    }
}

@media screen and (max-width: 767px) {
    main section {
        padding: 0 20px;
    }

    nav {
        margin-top: 20px;
    }

    nav img {
        width: 100px;
    }

    .sec-1 {
        height: auto;
        min-height: 52vh;
        padding-bottom: 60px;
    }

    .sec-1 .heading {
        padding: 213px 0 0 0;
        gap: 20px;
    }

    .sec-1 h1 {
        font-size: 56px;
        line-height: 1.1;
    }

    .sec-1 .caption p {
        font-size: 14px;
    }

    .sec-1 .caption a {
        font-size: 24px;
    }

    .sec-2 {
        height: auto;
        padding: 60px 36px;
    }

    .sec-2 .heading,
    .sec-3 .heading {
        width: 100%;
    }

    .sec-2 .heading h2,
    .sec-3 .heading h2,
    .sec-4 .heading h2,
    .sec-5 .heading h2 {
        font-size: 40px;
    }

    .sec-2 .caption {
        font-size: 16px;
        gap: 12px;
    }

    .sec-2 .img-flex {
        gap: 30px;
    }

    .sec-2 .img-flex .img {
        width: 60%;
    }

    .sec-2 .img img {
        width: 100%;
        height: auto;
    }

    .sec-2 .prop-image img:first-child {
        width: 35%;
        left: -15%;
        top: -5%;
    }

    .sec-2 .prop-image img:nth-child(2) {
        width: 45%;
        left: -35%;
        top: 65%;
    }

    .sec-2 .prop-image img:nth-child(3) {
        width: 48%;
        left: 89%;
        top: 22%;
    }

    .sec-3 {
        height: auto;
        min-height: 500px;
        padding: 60px 36px;
    }

    .sec-3 .caption {
        font-size: 16px;
    }

    .sec-4 {
        background-image: url('/assets/img/sec-4-mb.jpg');
        padding: 0;
        height: fit-content;
    }

    .sec-4 .caption {
        font-size: 12px;
    }

    .sec-4 .menu-content {
        gap: 30px;
        justify-content: center;
        margin-top: 36%;
    }

    .sec-4 .menu {
        width: 66%;
    }

    .sec-4 .menu-list {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sec-4 .menu-list li {
        font-size: 16px;
    }


    .sec-4 .menu-image {
        width: 68%;
    }

    .sec-4 .menu-img-wrapper {
        width: 100%;
        margin-top: 40px;
    }

    .sec-4 .prop-image img:nth-child(1) {
        width: 19%;
        left: 8%;
        top: -97%;
    }

    .sec-4 .prop-image img:nth-child(2) {
        width: 20%;
        right: 4%;
        left: auto;
        top: -93%;
    }

    .sec-4 .prop-image img:nth-child(3) {
        width: 32%;
        left: 0%;
        bottom: 33%;
        top: auto;
    }

    .sec-4 .prop-image img:nth-child(4) {
        width: 30%;
        right: 2%;
        bottom: 50%;
    }

    .sec-5 {
        padding: 0;
    }

    .sec-5 .container {
        padding: 60px 0;
    }

    .sec-5 .heading {
        padding: 0px 70px;
    }

    .sec-5 .caption {
        font-size: 12px;
    }

    .sec-5 .location-route {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }

    .sec-5 .location-route .location-list {
        gap: 20px;
    }

    .sec-5 .location-route .location-list p:first-child {
        font-size: 18px;
    }

    .sec-5 .location-route .location-list p {
        font-size: 14px;
    }

    .sec-5 .location-route .location-list a {
        font-size: 13px;
    }

    .sec-5 .map {
        transform: scale(1.2);
    }

    .sec-5 .location-route>img {
        transform: rotate(90deg);
        width: 12px;
        margin: 0 auto;
    }

    .footer .social-list {
        margin-top: 48px;
    }

    .footer .copyright {
        padding: 0 68px;
    }
}

@media screen and (max-width: 430px) {
    .sec-4 .menu-content {
        margin-top: 40%;
    }

    .sec-4 .menu {
        width: 85%;
    }

    .sec-4 .menu-list li {
        font-size: 16px;
    }

    .sec-4 .prop-image img:nth-child(1) {
        width: 18%;
        left: 4%;
        top: -99%;
    }

    .sec-4 .prop-image img:nth-child(2) {
        width: 20%;
        right: 2%;
        top: -102%;
    }

    .sec-4 .prop-image img:nth-child(3) {
        width: 30%;
        left: -5%;
        bottom: 30%;
    }

    .sec-4 .prop-image img:nth-child(4) {
        width: 28%;
        right: -5%;
        bottom: 55%;
    }
}

@media screen and (max-width: 420px) {
    .sec-4 .menu-content {
        margin-top: 40%;
    }

    .sec-4 .menu {
        width: 85%;
    }

    .sec-4 .menu-list li {
        font-size: 16px;
    }

    .sec-4 .prop-image img:nth-child(1) {
        width: 18%;
        left: 5%;
        top: -105%;
    }

    .sec-4 .prop-image img:nth-child(2) {
        width: 20%;
        right: 2%;
        top: -104%;
    }

    .sec-4 .prop-image img:nth-child(3) {
        width: 30%;
        left: -5%;
        bottom: 30%;
    }

    .sec-4 .prop-image img:nth-child(4) {
        width: 28%;
        right: -9%;
        bottom: 55%;
    }
}