/* <!-- public/assets/css/main.css --> */
body { 
    font-family: 'Kanit', sans-serif; 
}

.gradient-bg { 
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%); 
}

.service-card:hover { 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
}

.hero-text { 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); 
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

/* Hero Section Background Styles */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08; /* ความจางมาก */
    filter: brightness(0.4) contrast(1.2);
    z-index: 1;
}

/* Alternative: ใช้ pseudo-element */
.hero-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    filter: brightness(0.3);
    z-index: 1;
}

/* ทำให้ content อยู่เหนือ background */
.hero-content {
    position: relative;
    z-index: 10;
}

/* สำหรับ responsive - ปรับภาพให้เหมาะสมกับหน้าจอเล็ก */
@media (max-width: 768px) {
    .hero-bg {
        opacity: 0.05;
        background-position: center top;
    }
}

/* เพิ่มเงาให้ข้อความอ่านง่ายขึ้น */
.hero-text-shadow {
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(0,0,0,0.5),
        0 0 20px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
    }
}