/* ============================
   RESET & GENERAL STYLES
   ============================ */
*.body{
    background-color: #3e3734;
}

.containerheader {
    max-width: 1400px;
    margin: 0 auto;

    padding: 0 20px;
}

/* ============================
   HEADER STYLES
   ============================ */

/* Top Header */
.top-header {
    background-color: #cdc2b8;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    min-height: 80px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    padding:1px 0;
}

.logo img {
    width: 100px;
    height: 110px;
}

.logo-text {
    font-weight: bold;
    color: #333;
    font-size: 19px;
    line-height: 1.2;
}

/* Contact Info */
.contact-info {
    display: flex;
    gap: 60px;
    align-items: left;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
    padding: 10px 0;
}

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    background-color: #ff5722;
}

.contact-details h4 {
    color: #333;
    font-size: 15px;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* ============================
   NAVIGATION STYLES
   ============================ */

/* Main Navigation */
.main-nav {
    background-color: #ff5722;
    padding: 0;
    position: relative;
    z-index: 1000;
    /* height: 60px; */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    padding: 15px 20px;
    display: block;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: rgb(239, 5, 5);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ff5722;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(217, 114, 29, 0.894);
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: #ffffff;
    font-weight: 500;
    padding: 12px 20px;
    border-bottom: 1px solid #faa142;
    transition: all 0.3s;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 5px 5px;
}

.dropdown-menu li a:hover {
    background-color: #ff5722;
    color: white;
    padding-left: 25px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================
   ABOUT SECTION
   ============================ */
/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
    padding: 80px 0;
    background: #3E3734;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: center; /* เพิ่มบรรทัดนี้ */
}

.about-text h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: justify; /* ถ้าต้องการให้ paragraph เรียงพอดี 2 ข้าง */
    text-align-last: center; /* จัดบรรทัดสุดท้ายให้อยู่กลาง */
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* เพิ่มบรรทัดนี้เพื่อจัด features ให้อยู่กลาง */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #ffffff;
}

.feature-item i {
    color: #ff5722;
    font-size: 18px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}                         

/* ============================
   SERVICES SECTION
   ============================ */
.services-section {
    padding: 80px 0;
    background: #d3d3d3;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 20px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: #ff5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }

    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .contact-info {
        gap: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}