/* ตั้งค่าพื้นฐาน */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #26344a;
}

/* เมนูด้านบน */
header {
    background: #10264a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: white;
}

.logo span {
    color: #e5bd65;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
}

nav a:hover {
    color: #e5bd65;
}

/* หน้าแรก */
.hero {
    min-height: 480px;
    background: linear-gradient(
        120deg,
        #10264a,
        #244879
    );
    display: flex;
    align-items: center;
    padding: 60px 10%;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.subtitle {
    color: #e5bd65;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.4;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: #e5bd65;
    color: #10264a;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* เกี่ยวกับบริษัท */
.about {
    padding: 65px 10%;
    text-align: center;
    line-height: 2;
}

/* บริการ */
.services {
    background: #f4f6fa;
    padding: 65px 7%;
    text-align: center;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.service-card {
    background: white;
    padding: 30px 15px;
    border-radius: 12px;
    box-shadow: 0 3px 15px #00000010;
}

.service-card h3 {
    color: #b18a37;
}

/* ติดต่อ */
.contact {
    padding: 60px 20px;
    text-align: center;
}

/* ท้ายเว็บไซต์ */
footer {
    background: #10264a;
    color: white;
    text-align: center;
    padding: 25px;
}

/* รองรับโทรศัพท์มือถือ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav a {
        margin: 5px;
        display: inline-block;
    }

    .hero h1 {
        font-size: 30px;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.logo span {
    color: #e5bd65;
}

/* รูปภาพบริการ */
.service-card {
    overflow: hidden;
    transition: 0.3s;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.burmese {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.line-btn {
    background: #06c755;
    color: white;
}

.contact-buttons .btn {
    transition: 0.3s;
}

.contact-buttons .btn:hover {
    opacity: 0.8;
}
.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
    border: 2px solid gold;
}
/* Responsive Design - Mobile */

@media screen and (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    .hero p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-buttons .btn {
        width: 100%;
        text-align: center;
    }

}
/* การ์ดบริการ ZENITH57 */
.service-card {
    min-width: 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ขนาดรูปภาพ */
.service-card img {
    width: 100%;
    max-width: 260px;
    height: 190px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    border-radius: 10px;
}

/* หน้าจอมือถือ */
@media (max-width: 600px) {
    .service-card {
        padding: 15px;
    }

    .service-card img {
        max-width: 100%;
        height: 160px;
    }
}

/* จัดเรียงบริการ 4 ช่อง */
.service-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* การ์ดบริการ */
.service-card {
    min-width: 0;
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* รูปภาพบริการ */
.service-card img {
    width: 100%;
    max-width: 260px;
    height: 190px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    border-radius: 10px;
}

/* หน้าจอแท็บเล็ต */
@media (max-width: 900px) {
    .service-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* หน้าจอโทรศัพท์ */
@media (max-width: 550px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}

/* ส่วนติดต่อบริษัท */
.contact-section {
    background: #12284b;
    padding: 60px 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

.contact-section h2 {
    color: #e7bd67;
    font-size: 30px;
}

.contact-section p {
    margin: 20px 0 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-buttons a {
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.contact-phone {
    background: #e7bd67;
    color: #12284b;
}

.contact-line {
    background: #168c52;
    color: white;
}

/* ===== ABOUT ZENITH57 ===== */

.about-section {
    background: #f4f6fa;
    padding: 80px 20px;
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 36px;
    color: #142b50;
    margin-bottom: 20px;
}

.about-section h3 {
    font-size: 23px;
    color: #c69a43;
    margin-bottom: 25px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #34445b;
    margin-bottom: 20px;
}

.company-info {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-top: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #d4aa55;
}

.company-info p {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .about-section {
        padding: 50px 16px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-section h3 {
        font-size: 20px;
    }

    .about-section p {
        font-size: 16px;
    }

    .company-info {
        padding: 22px 16px;
    }
}

/* ===== LOCATION SECTION ===== */

.location-section {
    padding: 70px 20px;
    background: #ffffff;
    text-align: center;
}

.location-section h2 {
    font-size: 32px;
    color: #142b50;
    margin-bottom: 20px;
}

.location-section p {
    font-size: 18px;
    color: #34445b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.map-container iframe {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .location-section {
        padding: 45px 15px;
    }

    .location-section h2 {
        font-size: 26px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* ===== FOOTER ===== */

.footer {
    background: #142b50;
    color: white;
    padding: 55px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.footer h3 {
    color: #e5b95d;
    margin-bottom: 20px;
}

.footer p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-company img {
    width: 110px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #425575;
    margin-top: 35px;
    padding-top: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* เบอร์โทรในส่วนติดต่อบริษัท */

.contact-phone-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-phone-numbers a {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.contact-phone-numbers a:hover {
    color: #e9bd65;
}

.contact-phone-numbers span {
    color: #e9bd65;
}

@media (max-width: 768px) {
    .contact-phone-numbers {
        gap: 10px;
    }

    .contact-phone-numbers a {
        font-size: 15px;
    }
}

/* ===== MOBILE HEADER ===== */

@media (max-width: 600px) {

    header {
        padding: 15px 12px;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    header nav a {
        font-size: 14px;
        text-decoration: none;
    }

    .hero {
        padding: 65px 20px;
    }

    .hero h1 {
        font-size: 27px;
        line-height: 1.5;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.8;
    }

}

/* ===== MOBILE HAMBURGER MENU ===== */

/* ซ่อนปุ่มเมนูบนคอมพิวเตอร์ */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #e9bd65;
    font-size: 32px;
    cursor: pointer;
}

/* แสดงเมนูมือถือ */
@media (max-width: 768px) {

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    header .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    header .logo img {
        width: 55px;
        height: 55px;
        object-fit: contain;
    }

    header .logo span {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 15px;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        display: block;
        padding: 14px 12px;
        text-align: center;
        color: white;
        text-decoration: none;
        border-top: 1px solid #425575;
    }

    header nav a:hover {
        color: #e9bd65;
    }
}
/* ===== FIX MOBILE HEADER LAYOUT ===== */

@media (max-width: 768px) {

    header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        width: 100%;
        padding: 12px 15px;
    }

    header .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: auto;
        flex: 0 1 auto;
        min-width: 0;
        margin: 0;
    }

    header .logo img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

    header .logo span {
        font-size: 22px;
        white-space: nowrap;
    }

    header .menu-toggle {
        display: block;
        flex: 0 0 auto;
        width: 45px;
        margin: 0 0 0 auto;
        padding: 0;
        line-height: 1;
        text-align: center;
    }

    header #main-menu {
        width: 100%;
        flex: 0 0 100%;
        margin-top: 12px;
    }
}
/* จัดหน้าแรกให้ข้อความอยู่ซ้าย รูปอยู่ขวา */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-image {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 18px;
    display: block;
    margin: 0 auto;
}

/* สำหรับหน้าจอมือถือ */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 100%;
    }
}
/* ขยายรูป Hero หน้าแรก */
.hero {
    gap: 20px;
}

.hero-content {
    flex: 0 1 48%;
}

.hero-image {
    flex: 0 1 52%;
    min-width: 0;
}

.hero-image img {
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: 20px;
}

/* ปรับให้เหมาะกับมือถือ */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content,
    .hero-image {
        width: 100%;
        flex: none;
    }

    .hero-image img {
        max-width: 100%;
    }
}
/* ขยายรูป Hero ให้ใหญ่และเด่นขึ้น */
@media (min-width: 769px) {
    .hero {
        gap: 10px;
    }

    .hero-content {
        flex: 0 0 43%;
    }

    .hero-image {
        flex: 0 0 57%;
        min-width: 0;
    }

    .hero-image img {
        width: 115%;
        max-width: none;
        height: auto;
        border-radius: 20px;
    }
}
.map-button {
  display: block;
  width: fit-content;
  max-width: 90%;
  margin: 25px auto;
  padding: 15px 30px;
  background: #102b55;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: 0.3s;
}

.map-button:hover {
  background: #d4af37;
  color: #102b55;
  transform: translateY(-3px);
}

/* ORGANIZATION */

.organization {
  padding: 70px 20px;
  background: #f5f7fb;
  text-align: center;
  scroll-margin-top: 90px;
}

.organization h2 {
  color: #142b55;
  font-size: 34px;
}

.org-subtitle {
  color: #64748b;
  margin-bottom: 35px;
}

.organization h3 {
  color: #142b55;
  margin: 35px 0 25px;
}

.org-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.org-member {
  background: white;
  width: 240px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.org-member img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.org-member h4 {
  color: #142b55;
  margin: 15px 10px 5px;
}

.org-member p {
  color: #64748b;
  margin: 0 10px 20px;
}

@media (max-width: 600px) {
  .org-member {
    width: 85%;
    max-width: 280px;
  }
}
.organization {
  padding: 80px 20px;
  text-align: center;
  background: #f5f7fb;
}

.organization h2 {
  color: #102448;
  font-size: 36px;
}

.manager, .staff {
  background: white;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.manager {
  max-width: 300px;
  margin: 40px auto;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: auto;
}

.manager img, .staff img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.organization h3 {
  color: #102448;
}

@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
}.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.service-link .service-card {
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.3s;
}

.service-link:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.service-detail {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    color: #102b50;
}

.service-detail h1 {
    text-align: center;
    margin-bottom: 30px;
}

.service-detail h2 {
    margin-top: 35px;
    color: #bd8a2c;
}

.service-detail p {
    line-height: 1.9;
}

.back-home {
    display: inline-block;
    margin-bottom: 25px;
    color: #102b50;
    text-decoration: none;
    font-weight: bold;
}

.back-home:hover {
    color: #bd8a2c;
}

@media (max-width: 600px) {
    .service-detail {
        margin: 20px 12px;
        padding: 24px 18px;
    }
}

/* จัดบริการทั้ง 4 ช่องให้เรียงเท่ากัน */
.service-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ลิงก์ครอบการ์ด */
.service-container .service-link {
    display: block;
    width: 100%;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

/* รูปแบบการ์ด */
.service-container .service-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* รูปภาพภายในการ์ด */
.service-container .service-card img {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    margin: 0 auto 20px;
    object-fit: contain;
}

/* เมื่อเอาเมาส์ชี้ */
.service-container .service-link:hover .service-card {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* แท็บเล็ต */
@media (max-width: 1000px) {
    .service-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* โทรศัพท์มือถือ */
@media (max-width: 600px) {
    .service-container {
        grid-template-columns: 1fr;
    }
}

/* จัดหัวเรื่องและรูปอาคารของหน้าแรกให้อยู่กึ่งกลาง */
#home.hero {
    width: 100%;
    min-height: 0;
    padding: clamp(28px, 5vw, 60px) 4.8% 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(24px, 4.5vw, 42px);
    background: linear-gradient(110deg, #12284b, #254b7d);
}

#home .hero-content {
    flex: none;
    width: 100%;
    max-width: 850px;
    text-align: center;
}

#home .hero-content h1 {
    font-size: clamp(26px, 4.2vw, 44px);
    line-height: 1.45;
}

#home .hero-image {
    flex: none;
    width: 100%;
    max-width: 1100px;
}

#home .hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}
