/* style.css - สไตล์หลักของเว็บไซต์ */

/* รีเซ็ตค่าเริ่มต้น */

/* กำหนดฟอนต์แบบกำหนดเอง */



@font-face {
    font-family: 'Prompt-Thin';
    src: url('./assets/Prompt/Prompt-Thin.ttf') format('truetype');
    font-style: normal;
}


@font-face {
    font-family: 'Prompt-ExtraLight';
    src: url('./assets/Prompt/Prompt-ExtraLight.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Prompt-Light';
    src: url('./assets/Prompt/Prompt-Light.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('./assets/Prompt/Prompt-SemiBold.ttf') format('truetype');
    font-style: normal;
}


.text-Thin {
    font-family: 'Prompt-Thin', sans-serif !important;
}

.text-ExtraLight {
    font-family: 'Prompt-ExtraLight', sans-serif !important;
}

.text-Light {
    font-family: 'Prompt-Light', sans-serif !important;
}
.text-Prompt {
    font-family: 'Prompt', sans-serif !important;
}
/* ใช้ฟอนต์ในเว็บไซต์ */
body,a {
    font-family: 'Prompt', 'Segoe UI', 'Kanit', sans-serif;
}

/* ใช้กับคลาสเฉพาะ */
.prompt-font {
    font-family: 'Prompt', sans-serif;
    font-weight: 300;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Segoe UI', 'Kanit', sans-serif; */
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
     max-width: unset !important;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 0 20px; */
}

/* สไตล์สำหรับส่วนต่างๆ ที่จะถูกโหลดเข้ามา */
#header-container, 
#nav-container, 
#banner-container, 
#footer-container {
    width: 100%;
}


/* เพิ่มสไตล์ใน style.css */

/* สไตล์สำหรับเนื้อหาหลัก */
.content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* สไตล์สำหรับการ์ดคุณสมบัติ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #dee2e6;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* สไตล์สำหรับข้อความแสดงข้อผิดพลาด */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    text-align: center;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 25px;
        margin-top: 20px;
    }
    
    .content h1 {
        font-size: 1.8rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px;
    }
    
    .content h1 {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 20px;
    }
}