/* นำเข้าฟอนต์ภาษาไทยจาก Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;600;700&family=Sarabun:wght@300;400;500&display=swap');

/* ตั้งค่าพื้นฐาน */
body {
    font-family: 'Sarabun', sans-serif; /* ฟอนต์เนื้อหาทั่วไป */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Prompt', sans-serif; /* ฟอนต์หัวข้อ */
}

/* --- การจัดการสี (Color Palette) --- */
/* สีน้ำเงินกรมท่า (Navy Blue) - สีหลัก */
.bg-navy {
    background-color: #0f2540 !important;
}
.text-navy {
    color: #0f2540 !important;
}

/* สีทอง (Gold) - สีรอง */
.text-gold {
    color: #c5a059 !important;
}

/* ปุ่มสีทอง */
.btn-gold {
    background-color: #c5a059;
    color: #fff;
    border: 1px solid #c5a059;
    font-family: 'Prompt', sans-serif;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #a8853d;
    border-color: #a8853d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar-brand img {
    height: 40px; /* ปรับขนาดโลโก้ */
    width: auto;
}

.nav-link {
    font-size: 1rem;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* --- Hero Section (ส่วนหัวขนาดใหญ่) --- */
.hero-section {
    /* พื้นหลังแบบไล่เฉดสีทับรูปภาพ และเรียกรูปจากโฟลเดอร์ img */
    background: linear-gradient(rgba(15, 37, 64, 0.85), rgba(15, 37, 64, 0.7)), 
                url('../img/hero1.jpg'); 
    
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* ทำให้ภาพพื้นหลังนิ่งเมื่อเลื่อน */
    height: 100vh; /* เต็มความสูงหน้าจอ */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 70px; /* เผื่อพื้นที่ให้ Navbar */
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- Section: About --- */
#about img {
    border-radius: 8px;
    /* เพิ่มกรอบซ้อนด้านหลังรูป */
    box-shadow: 15px 15px 0px #c5a059; 
}

/* --- Section: Services --- */
.service-card {
    border: none;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px); /* ลอยขึ้นเมื่อเอาเมาส์ชี้ */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    color: #0f2540;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    border: 2px solid #c5a059;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background-color: #c5a059;
    color: #fff;
}

.service-card h4 {
    color: #0f2540;
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    font-size: 0.9rem;
}

footer h5 {
    color: #c5a059; /* หัวข้อใน Footer สีทอง */
    margin-bottom: 20px;
    font-weight: 600;
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #c5a059 !important;
}

/* --- Utility --- */
/* เส้นคั่นเล็กๆ */
hr.bg-secondary {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }
    #about img {
        margin-bottom: 30px;
        box-shadow: 10px 10px 0px #c5a059;
    }
}
/* --- Pricing Section --- */
.pricing-card {
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* ทำให้การ์ดตรงกลางเด่นขึ้น (Border สีทอง) */
.border-gold {
    border: 2px solid #c5a059;
}

/* ขนาดตัวเลขราคา */
.price-tag .amount {
    font-family: 'Prompt', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price-tag .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

/* ป้าย Badge ยอดนิยม */
.badge-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #c5a059;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 0 0 10px 10px;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
}

/* ปรับสีพื้นหลังป้ายยอดนิยม */
.bg-gold {
    background-color: #c5a059 !important;
}

/* ปรับแต่ง List ในการ์ด */
.pricing-card ul li {
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}
