/* 🔥 RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🎨 BODY */
body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: rgb(136, 129, 129);
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

/* 🔝 Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #111;
    border-bottom: 2px solid #ffffff;
}

/* โลโก้ */
.logo {
    font-size: 22px;
    font-weight: bold;
}

/* เมนู */
nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

/* 🔥 Hover เป็นสีแดง */
nav a:hover {
    color: #ff0000;
}

/* ✨ เส้นใต้เท่ๆ */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #ff0000;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

/* 🔴 ตอน hover เส้นวิ่ง */
nav a:hover::after {
    width: 100%;
}

/* 🎨 สีข้อความ */
.red {
    color: #e60023;
}

.blue {
    color: #00aaff;
}

.white {
    color: white;
}

.title-red {
    color: #e60023;
    margin-bottom: 15px;
}

.title-blue {
    color: #00aaff;
    margin-bottom: 15px;
}

/* 🔥 GRADIENT TEXT */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(90deg,#001f3f,#8b0000);
}

.gradient-text {
    background: linear-gradient(90deg, #ff0000, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    color: #ccc;
}

/* 🔘 BUTTON */
.btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #e60023;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #ff1a3c;
}

/* 🏢 ABOUT */
.about {
    padding: 60px 20px;
    text-align: center;
    line-height: 1.8;
}

/* ⚙️ SERVICES */
.services {
    padding: 60px 20px;
    text-align: center;
}

/* กล่องบริการ */
.service-box {
    display: inline-block;
    width: 220px;
    margin: 15px;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
    border: 1px solid #e60023;
}

.service-box h3 {
    margin-bottom: 10px;
}

/* 📞 CONTACT CTA */
.contact-cta {
    text-align: center;
    padding: 60px 20px;
    background: #111;
}

/* 🔻 FOOTER */
footer {
    text-align: center;
    padding: 50px;
    border-top: 2px solid #000000;
}

/* 📱 RESPONSIVE (มือถือ) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        margin-top: 10px;
    }

    .service-box {
        width: 90%;
    }

    .hero h1 {
        font-size: 24px;
    }
}