/* public/assets/css/landing.css */

:root {
    --primary-color: #2c3e50; /* สีกรมเข้ม */
    --accent-color: #0d6efd; /* สีฟ้า */
    --bg-light: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: 'Sarabun', sans-serif;
    color: var(--text-color);
    background-color: #fff;
}

/* Navbar */
.navbar {
    background-color: #fff;
    /*background-color: #234981;*/
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.navbar-brand img {
    height: 40px; /* ปรับขนาดโลโก้ */
    margin-right: 10px;
}

/* Hero Section (Banner) */
.hero-section {
    background-color: #fff;
    padding: 60px 0;
    text-align: left; /* จัดชิดซ้ายตามรูป */
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}
.hero-img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Feature/Tools Section */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.tool-card {
    border: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    padding: 20px;
    border-left: 4px solid transparent;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left-color: var(--accent-color);
}
.tool-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* Info Box (Hours & Contact) */
.info-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}
.info-item:last-child {
    border-bottom: none;
}
.info-label { font-weight: 600; }

/* Footer */
.footer {
    background-color: #fff;
    /*background-color: #234981;*/
    border-top: 1px solid #eee;
    padding: 40px 0;
    margin-top: 10px;
    color: #777;
}
.footer h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}
.footer-link {
    color: #777;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer-link:hover { color: var(--accent-color); }
.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #999;
    transition: color 0.2s;
}
.social-icon:hover { color: var(--accent-color); }