/**
 * Cards — สไตล์การ์ดที่ใช้ร่วมกันหลายหน้า
 */

/* Service Card (Home) */
.service-card {
    transition: all .3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

/* Hero Overlay (Home) — deep purple */
.hero-overlay {
    background: linear-gradient(135deg, rgba(45,10,70,.85) 0%, rgba(88,28,135,.65) 100%);
}

/* News Card (Home, News) */
.news-card {
    transition: all .3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

/* Team Card (Home) */
.team-card:hover .team-overlay {
    opacity: 1;
}
.team-overlay {
    opacity: 0;
    transition: opacity .3s ease;
}

/* Room Card (Meetingroom, Classroom) */
.room-card {
    transition: all .3s ease;
}
.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}

/* Room Image Carousel (Meetingroom) */
.room-carousel { position: relative; }
.carousel-slide { pointer-events: none; }
.carousel-slide[style*="opacity: 1"], .carousel-slide[style*="opacity:1"] { pointer-events: auto; }

/* Car Card */
.car-card {
    transition: all .3s ease;
}
.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
