:root {
    --footer-bg: #ce0000;
    --footer-accent: #ffde59;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

.footer {
    background-color: var(--footer-bg);
    background-image: linear-gradient(160deg, #8B0000 0%, #4a0000 100%);
    color: var(--text-light);
    font-family: 'Kanit', sans-serif; 
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.footer-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    pointer-events: none;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.brand-divider {
    width: 60px;
    height: 4px;
    background: var(--text-light);
    margin-bottom: 20px;
}

.brand-description {
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--text-light);
}

.column-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.column-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 30px; height: 2px;
    background: var(--text-light);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    opacity: 1;
    padding-left: 8px;
    color: var(--footer-accent);
}

.quick-contact-btns { display: flex; flex-direction: column; gap: 12px; }
.q-btn {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}
.q-btn:hover {
    background: white;
    color: #8B0000;
    transform: translateY(-3px);
}
.q-btn.line { background: #06c755; border: none; }
.q-btn.line:hover { background: #05a346; color: white; }

.contact-item { margin-bottom: 15px; font-size: 0.9rem; }
.contact-item P { color: var(--text-light); }
.contact-item strong { display: block; color: var(--footer-accent); margin-bottom: 4px; }
.social-info p { margin-bottom: 8px; font-size: 0.9rem;  color: var(--text-light); }
.social-info a { color: white; text-decoration: none; }
.working-hours { color: var(--footer-accent); margin-top: 15px; font-weight: 500; }

.map-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.map-box {
    border-radius: 12px;
    overflow: hidden;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.1);
}
.map-box iframe { width: 100%; height: 100%; border: none; }

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p {color: #ffffff;}
.footer-bottom a { color: orangered; text-decoration: none; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .brand-title { font-size: 2rem; }
    .footer { padding-top: 40px; }
}