@charset "utf-8";

/* ฟอนต์หลัก */
* { font-family: 'Bai Jamjuree', sans-serif; }

/* Banner Style */
.header-parallax {
    height: 40vh;
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; justify-content: center; align-items: center; text-align: center;
    position: relative; margin-bottom: 40px;
}
.header-parallax::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
}
.header-con { 
    position: relative; z-index: 1; color: #fff; padding: 30px 50px;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.5); border-radius: 10px; 
}
.header-con h1 { 
    font-size: 2.2rem; font-weight: 700; margin-bottom: 5px; color: #FFD700;
}
.header-con p { font-size: 1.1rem; color: #ddd; margin: 0; letter-spacing: 1px; text-transform: uppercase; }

/* Section & Card Styling */
.oit-section { margin-bottom: 40px; }

.oit-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Header Badge (แถบแดงเลือดหมู) */
.card-header-badge {
    background: linear-gradient(135deg, #5A0000, #3a0000);
    padding: 15px 30px;
    border-bottom: 4px solid #FFD700;
}
.card-header-badge h3 {
    margin: 0; color: #fff; font-size: 1.4rem; font-weight: 700;
}
.card-header-badge i { margin-right: 10px; color: #FFD700; }

/* Content Area */
.card-body-content { padding: 40px; }
.center-content { text-align: center; }

/* Images */
.responsive-img {
    max-width: 100%; height: auto;
    border-radius: 8px;
}
.shadow-img {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); /* เพิ่มเงาให้รูปดูลอย */
    border: 1px solid #eee;
}

/* Grid สำหรับรูปแผนที่คู่กัน */
.map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* แบ่งครึ่งซ้ายขวา */
    gap: 30px;
}
.map-item h5 {
    color: #5A0000; font-weight: bold; font-size: 1.2rem;
    position: relative; padding-bottom: 10px;
}
.map-item h5::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 3px; background: #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
    .header-con h1 { font-size: 1.6rem; }
    .card-body-content { padding: 20px; }
    .map-grid { grid-template-columns: 1fr; } /* มือถือเรียงลงมา */
    .header-parallax { height: 30vh; }
}