@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600&display=swap');

body {
    font-family: 'Kanit', sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 600;
    color: #0d6efd !important;
}

/* ปรับแต่งส่วน Service Card ให้เหมือนภาพตัวอย่าง */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #6c757d;
}

.hero-section {
    position: relative;
    margin-bottom: 40px;
}

/* --- Step Flow Chart Styles --- */
.step-container {
    position: relative;
    padding: 30px 0;
}

.step-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    z-index: 2;
}

.step-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #0d6efd;
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #e9ecef;
    color: #495057;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    border-radius: 5px; /* สี่เหลี่ยมมนเหมือนตัวอย่าง */
    transition: all 0.3s;
}

.step-box:hover .step-number {
    background-color: #0d6efd;
    color: #fff;
}

.step-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

/* เส้นลูกศรเชื่อมต่อ (แสดงเฉพาะจอใหญ่) */
@media (min-width: 992px) {
    .step-arrow {
        position: absolute;
        top: 50%;
        right: -30px; /* ขยับตำแหน่งลูกศร */
        transform: translateY(-50%);
        font-size: 24px;
        color: #adb5bd;
        z-index: 1;
    }
    /* ซ่อนลูกศรตัวสุดท้าย */
    .col-lg-3:last-child .step-arrow {
        display: none;
    }
}

/* ปรับสีตามบริบท */
.step-primary .step-number { background-color: #cfe2ff; color: #084298; }
.step-warning .step-number { background-color: #fff3cd; color: #664d03; }
.step-success .step-number { background-color: #d1e7dd; color: #0f5132; }
.step-danger .step-number { background-color: #f8d7da; color: #842029; }

/* ส่วน Screen จอโรงหนัง (ตกแต่งให้ดูมีมิติ) */
.screen-display {
    background: #e9ecef;
    height: 30px;
    width: 80%;
    margin: 0 auto 30px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 30px;
    font-size: 0.8rem;
    color: #6c757d;
    letter-spacing: 2px;
}

/* ตัวกล่องโต๊ะ */
.seat-box {
    width: 60px;
    height: 60px;
    margin: 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 0.9rem;
    position: relative;
    border: 2px solid transparent;
}

.seat-box:hover {
    transform: scale(1.1);
    z-index: 10;
}

/* สีสถานะโต๊ะ */
.seat-available {
    background-color: #fff;
    border-color: #28a745;
    color: #28a745;
}
.seat-available:hover {
    background-color: #28a745;
    color: #fff;
}

.seat-booked {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
}

.seat-paid {
    background-color: #dc3545; /* สีแดงคือขายแล้ว */
    color: #fff;
    cursor: not-allowed;
}

/* สัญลักษณ์เก้าอี้รอบโต๊ะ (ตกแต่งเพิ่ม) */
.seat-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px dashed rgba(0,0,0,0.1);
    pointer-events: none;
}