/* ========== GLOBAL ========== */
.os-body {
    margin: 0;
    font-family: 'Sarabun', sans-serif;
}

.os-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.os-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.os-slide.os-active {
    opacity: 1;
    z-index: 1;
}

/* Slide backgrounds (default) */
.os-slide-1 {
    background-image: url('./img/new1.png');
}

.os-slide-2 {
    background-image: url('./img/new6.png');
}

/* Banner overlay */
.os-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding-bottom: 120px;
}

.os-slide-1 .os-banner-overlay {
    justify-content: flex-start;
    text-align: left;
}

.os-slide-2 .os-banner-overlay {
    justify-content: flex-end;
    text-align: right;
}

.os-banner-content {
    color: #fff;
    max-width: 700px;
    background-color: rgba(0, 0, 0, 0);
    padding: 30px;
    border-radius: 16px;
    box-shadow: none;
    margin-bottom: 0;
}

.os-banner-content h1 {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 30px;
}

.os-banner-content .os-highlight {
    color: #ffcc00;
    font-weight: bold;
}

.os-content-section {
    margin-bottom: 20px;
}

.os-banner-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.os-banner-content .os-description {
    font-size: 18px;
    font-weight: 500;
}

.os-banner-content .os-description-long {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.95;
}

.os-banner-content a {
    color: #ffffff;
    text-decoration: none;
}

.os-banner-content a:hover {
    color: #ffcc00;
}

/* ========== Slide 2 Button List ========== */
.os-button-list {
    max-width: 420px;
    width: 100%;
}

.os-button-list__heading {
    font-size: 20px;
    font-weight: 600;
    color: #ffcc00;
    margin-bottom: 18px;
    text-align: right;
    letter-spacing: 0.04em;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
}

.os-button-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-button-list li {
    margin-bottom: 12px;
}

.os-button-list a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: rgba(109, 81, 53, 0.5);
    padding: 10px 20px;
    border-radius: 24px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.os-button-list a img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.os-button-list a:hover {
    transform: scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .os-banner-overlay {
        padding: 40px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
        text-align: center !important;
        padding-top: 200px;
        padding-bottom: 40px;
    }

    .os-banner-content {
        max-width: 90%;
        margin-bottom: 0;
    }

    .os-banner-content h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .os-banner-content .os-description {
        font-size: 16px;
    }

    .os-banner-content .os-description-long {
        font-size: 15px;
    }

    .os-button-list a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .os-banner-overlay {
        padding: 25px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start !important;
        text-align: center !important;
        padding-top: 180px;
        padding-bottom: 30px;
    }

    .os-banner-content {
        max-width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .os-banner-content h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 20px;
        font-weight: 600;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .os-content-section {
        margin-bottom: 15px;
    }

    .os-banner-content .os-description {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }

    .os-banner-content .os-description-long {
        font-size: 15px;
        font-weight: 400;
        line-height: 1.6;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }

    .os-button-list a {
        font-size: 15px;
        padding: 12px 18px;
    }

    /* Mobile optimized images */
    .os-slide-1 {
        background-image: url('./img/new4.png') !important;
        background-position: center bottom;
    }

    .os-slide-2 {
        background-image: url('./img/new6.png') !important;
        background-position: center bottom;
    }
}

@media (max-width: 480px) {
    .os-banner-overlay {
        padding: 20px;
        padding-top: 160px;
        padding-bottom: 20px;
        justify-content: flex-start !important;
    }

    .os-banner-content {
        padding: 15px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .os-banner-content h1 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 18px;
        font-weight: 600;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .os-content-section {
        margin-bottom: 12px;
    }

    .os-banner-content .os-description {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .os-banner-content .os-description-long {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.6;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .os-button-list a {
        font-size: 14px;
        padding: 10px 16px;
        border-radius: 20px;
    }

    .os-button-list__heading {
        font-size: 16px;
        text-align: center;
    }

    .os-button-list a img {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .os-slider-button {
        font-size: 24px;
        padding: 8px 12px;
    }

    .os-slider-button.os-prev {
        left: 10px;
    }

    .os-slider-button.os-next {
        right: 10px;
    }

    .os-slide-1 {
        background-image: url('./img/new4.png') !important;
        background-position: center bottom;
        background-size: cover;
    }

    .os-slide-2 {
        background-image: url('./img/new6.png') !important;
        background-position: center bottom;
        background-size: cover;
    }
}

@media (max-width: 360px) {
    .os-banner-overlay {
        padding: 15px;
        padding-top: 150px;
        padding-bottom: 15px;
    }

    .os-banner-content {
        padding: 12px;
        margin-bottom: 0;
    }

    .os-banner-content h1 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 15px;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }

    .os-content-section {
        margin-bottom: 10px;
    }

    .os-banner-content .os-description {
        font-size: 13px;
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    }

    .os-banner-content .os-description-long {
        font-size: 12px;
        line-height: 1.5;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    }

    .os-button-list a {
        font-size: 13px;
        padding: 8px 14px;
    }

    .os-button-list a img {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .os-button-list__heading {
        font-size: 15px;
        text-align: center;
        margin-bottom: 12px;
    }
}
