/* Container สำหรับการ์ดโปรโมชั่น */
.promotion-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* การ์ดโปรโมชั่นแต่ละใบ */
.promotion-card, .promotion-card-2, .promotion-card-3, .promotion-card-4, .promotion-card-5 {
    
    width: 370px;
    border-radius: 15px; /* มุมการ์ดโค้งมนมากขึ้น */
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* ปรับเงาของการ์ด */
    background: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* ปรับตำแหน่งของการ์ด */
.promotion-card {
    margin-top: 40px;
}

/* สร้างความแตกต่างให้กับการ์ด */
.promotion-card-2, .promotion-card-3, .promotion-card-4, .promotion-card-5 {
    margin-top: 15px;
}

/* hover effect สำหรับการ์ด */
.promotion-card:hover {
    transform: scale(1.05); /* ขยายการ์ดเมื่อเมาส์ชี้ */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* เพิ่มเงาให้การ์ดเมื่อเมาส์ชี้ */
}


/* ปรับการจัดการภาพเมื่อ hover */
.promotion-card:hover .promotion-image img {
    transform: scale(1.1); /* ขยายภาพเมื่อ hover */
}

/* รายละเอียดในการ์ด */
.promotion-details {
    padding: 20px;
    text-align: center;
    background-color: #fafafa;
    font-size: 16px;
    color: #333;
    position: relative;
}

/* เพิ่มแถบสวยๆ ที่ด้านล่างของการ์ด */
.promotion-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #008cff;
    border-radius: 2px;
}

/* ไอคอนลูกศร */
.arrow-icon {
    display: inline-block;
    margin-top: 10px;
    font-size: 20px;
    color: #008cff;
    transition: transform 0.3s ease;
}

.arrow-icon:hover {
    transform: translateX(5px); /* ทำให้ลูกศรเคลื่อนไหว */
}





/* รายละเอียดของการ์ด */
.promotion-details, .promotion-details-2, .promotion-details-3, .promotion-details-4, .promotion-details-5 {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    text-align: left;
    background-color: #fafafa;
    font-size: 16px;
    color: #333;
    position: relative;
}

.promotion-card-5 {
    padding-bottom: 80px;
}

.promotion-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #008cff;
    border-radius: 2px;
}

/* ไอคอนลูกศร */
.arrow-icon {
    display: inline-block;
    font-size: 20px;
    color: #008cff;
    transition: transform 0.3s ease;
}

.arrow-icon:hover {
    transform: translateX(5px); /* ทำให้ลูกศรเคลื่อนไหว */
}


/* การจัดการภาพในการ์ด */
.image-container {
    width: 100%;
    height: 100px; /* ปรับความสูงของภาพให้เล็กลง */
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100px;
    object-fit: cover; /* ให้ภาพเต็มขนาดของการ์ด */
    transition: transform 0.5s ease;
}
