* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* พื้นหลังเป็นรูปภาพ (ปรับ path ให้ตรงไฟล์ของคุณ) */
    background: url('img/new3/new4/bg2.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
  }
  

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    /* เปลี่ยนเป็น rgba: R=10 G=15 B=13, alpha=0.3 */
    background-color: rgba(10, 15, 13, 0.3);
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}



header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 30%;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: wave-effect 1.5s infinite linear;
}

@keyframes wave-effect {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400% 0;
    }
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}



.promotion {
    text-align: center;
    margin-bottom: 20px;
}

.promo-img {
    width: 100%;
    border-radius: 10px;
}

.offers {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offer-img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .logo {
        width: 50%;
    }
}

.image-container {
    width: 100%; /* ปรับขนาดตามต้องการ */
    height: 100%; /* ปรับขนาดตามต้องการ */
    overflow: hidden; /* ป้องกันไม่ให้ภาพที่เบลอหลุดออกมานอกขอบ */
    position: relative;
}

.contact {
    width: 100px;
    margin-top: 50px;
    display: block;
    text-align: start;
    color: #960101;
    text-decoration: none;
}
.contact:hover {
    color: #9f1313;
}

@media (max-width: 1024px) {
    /* Hide on screens 1024px and below (tablets and phones) */
    .contact {
        display: none;
    }
}



