
.contact-hero {
    /* fallback background ก่อนโหลดรูปจริง */
    background: #333;
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.contact-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-hero h2 {
    font-size: 1.4rem;
    font-weight: 300;
}

/* ───── Hero Animation ───── */
.fade-hero {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: opacity 1.2s ease, transform 1.2s ease;
    will-change: opacity, transform;
}

.fade-hero.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Main Content */
.contact-info {
    background-color: #fff;
    padding: 3rem 1rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.contact-image {
    flex: 1 1 40%;
}

.contact-image img {
    width: 100%;
    border-radius: 12px;
}

.contact-details {
    flex: 1 1 55%;
}

.contact-details-facebook {
    flex: 1 1 55%;
    color: #101d8f;
}

.contact-details h2 {
    color: #ff3c00;
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.6rem;
}


/* Map Section */
.contact-map {
    padding: 0;
    margin-top: 0;
}

/* Animation */
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.fade-in-up {
    transform: translateY(40px);
}

.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */