/* assets/footer.css */

/* --- Footer Layout & Colors --- */
.kru-footer {
    background-color: #1a1e21;
    color: #aab0b6;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-top: 40px;
    padding-bottom: 20px;
    font-size: 0.9rem;
}

/* หัวข้อคอลัมน์ */
.kru-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Column 1: Brand --- */
.footer-brand-area {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
}

.footer-brand-logo {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.footer-brand-text {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Column 2: Menu Links --- */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu-list li {
    margin-bottom: 8px;
}
.footer-menu-list a {
    color: #aab0b6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-menu-list a:hover {
    color: #D4AF37; 
    transform: translateX(5px);
}

/* --- Column 3: Contact Info --- */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
    line-height: 1.4;
}
.contact-icon {
    color: #D4AF37;
    font-size: 1rem;
    margin-top: 3px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* --- Column 4: Social Icons --- */
.social-buttons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2c3034;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 0.9rem;
}
.social-btn:hover {
    background-color: #D4AF37;
    color: #fff;
    transform: translateY(-3px);
    border-color: #D4AF37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
    background-color: #151719;
    padding: 15px 0;
    margin-top: 30px;
    border-top: 1px solid #2c3034;
    font-size: 0.8rem;
    color: #6c757d;
}

.footer-bottom p {
    margin: 0;
}

/* =========================================
   Responsive (Mobile) - จัดชิดซ้าย
   ========================================= */
@media (max-width: 768px) {
    .kru-footer {
        padding-top: 30px;
        text-align: left;   /* บังคับชิดซ้าย */
        padding-left: 20px; /* เพิ่มขอบซ้ายขวาไม่ให้ติดจอ */
        padding-right: 20px;
    }
    
    .footer-brand-area {
        align-items: flex-start; /* Logo ชิดซ้าย */
    }

    .contact-list li {
        justify-content: flex-start; /* Contact ชิดซ้าย */
    }
    
    .social-buttons {
        justify-content: flex-start; /* Social ชิดซ้าย */
    }

    .kru-footer h5 {
        margin-top: 25px;
        /* เส้นขีดสีทองข้างหน้าหัวข้อ */
        border-left: 3px solid #D4AF37; 
        padding-left: 10px;
        line-height: 1;
    }
    
    .footer-bottom {
        margin-top: 20px;
        text-align: left; /* Copyright ชิดซ้าย */
    }
}