/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* 1rem = 16px */
}

.container {
    max-width: 68.75rem; /* 1100px */
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

h2.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem; /* 40px */
    position: relative;
    color: #1a237e;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 3.75rem; /* 60px */
    height: 0.25rem; /* 4px */
    background: #ffc107;
    margin: 0.625rem auto; /* 10px */
}

.bg-light { 
    background: #f9f9f9; 
    padding: 3.75rem 0; /* 60px */
}

.bg-dark { 
    background: #1a237e; 
    color: #fff; 
    padding: 3.75rem 0; /* 60px */
}

.white { color: #fff !important; }

/* Header */
header {
    background: #fff;
    box-shadow: 0 0.125rem 0.625rem rgba(0,0,0,0.1); /* 2px 10px */
    padding: 0.9375rem 0; /* 15px */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a237e;
    line-height: 1.2;
}

.logo span { color: #ffc107; }

.btn-call-nav {
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1.25rem; /* 8px 20px */
    border-radius: 1.5625rem; /* 25px */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem; /* 15px */
    transition: 0.3s;
}

.btn-call-nav:hover {
    background: #1a237e;
    color: #fff;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&q=80&w=1500') no-repeat center center/cover;
    height: 80vh;
}

.hero-overlay {
    background: rgba(0, 0, 50, 0.6);
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content { color: #fff; }

.hero-content h1 { 
    font-size: 3rem; 
    margin-bottom: 0.625rem; /* 10px */
    line-height: 1.2;
}

.hero-content p { 
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1.875rem; /* 30px */
    opacity: 0.9; 
}

.highlights {
    display: flex;
    justify-content: center;
    gap: 1.25rem; /* 20px */
    margin-bottom: 2.5rem; /* 40px */
    flex-wrap: wrap;
}

.highlights span {
    background: rgba(255,255,255,0.2);
    padding: 0.625rem 1.25rem; /* 10px 20px */
    border-radius: 3.125rem; /* 50px */
    font-size: 0.9rem;
}

.btn-primary {
    background: #ffc107;
    color: #000;
    padding: 0.9375rem 2.5rem; /* 15px 40px */
    font-size: 1.1rem;
    border-radius: 3.125rem; /* 50px */
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover { 
    background: #fff; 
    transform: scale(1.05);
}
/* Attraction Cards Style */
.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); /* 300px */
    gap: 2rem;
    margin-top: 1.25rem;
}

.attraction-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 0.0625rem solid #eee;
}

.attraction-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    height: 12.5rem; /* 200px */
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.attraction-card:hover .card-image img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #1a237e;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.3125rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a237e;
}

.card-body p {
    font-size: 0.9375rem;
    color: #666;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* จำกัดแค่ 2 บรรทัดให้เท่ากัน */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.card-link:hover {
    color: #1a237e;
    gap: 0.75rem;
}

/* Responsive ปรับให้สวยในมือถือ */
@media (max-width: 48rem) {
    .attraction-grid {
        grid-template-columns: 1fr; /* มือถือให้โชว์ใบเดียวเต็มหน้าจอ */
    }
}
/* Services */
#services, #fleet, #why-us, #attractions { 
    padding: 5rem 1.25rem; /* 80px 20px */
}

.services-grid {
    display: flex;
    flex-wrap: wrap; /* ให้การ์ดขึ้นบรรทัดใหม่ได้ */
    justify-content: center; /* สั่งให้ทุกอย่าง (รวมถึงแถวสุดท้าย) อยู่ตรงกลาง */
    gap: 1.875rem; /* 30px */
}

.service-card {
    text-align: center;
    padding: 1.875rem;
    border-radius: 0.625rem;
    background: #fff;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.05);
    transition: transform 0.3s;
    
    /* กำหนดขนาดการ์ด */
    flex: 1 1 18.75rem; /* 300px: ยืดได้ หดได้ แต่ขนาดฐานคือ 300px */
    max-width: 21.875rem; /* 350px: คุมไม่ให้การ์ดในแถวสุดท้ายที่อยู่ตรงกลางมันกว้างเกินไป */
}

.service-card:hover { 
    transform: translateY(-0.625rem); 
}
.service-card i { 
    font-size: 3rem; 
    color: #ffc107; 
    margin-bottom: 1.25rem; /* 20px */
}

.service-card h3 { 
    margin-bottom: 0.9375rem; /* 15px */
    color: #1a237e; 
}

/* Fleet */
.section-subtitle { 
    text-align: center; 
    margin-bottom: 2.5rem; /* 40px */
    margin-top: -1.875rem; /* -30px */
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.875rem; /* 30px */
}

.fleet-card {
    background: #fff;
    border-radius: 0.9375rem; /* 15px */
    overflow: hidden;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.1);
}

.fleet-card img { 
    width: 100%; 
    height: 15.625rem; /* 250px */
    object-fit: cover; 
}

.fleet-info { 
    padding: 1.25rem; /* 20px */
    text-align: center; 
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* 40px */
    text-align: center;
    margin: 2.5rem 0;
}

.why-item i { 
    font-size: 2.5rem; 
    color: #4caf50; 
    margin-bottom: 0.9375rem; /* 15px */
}

/* Contact */
.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem; /* 40px */
}

.qr-group {
    display: flex;
    gap: 1.875rem; /* 30px */
    flex-wrap: wrap;
    justify-content: center;
}

.qr-item { text-align: center; }
.qr-item img { 
    width: 9.375rem; /* 150px */
    border-radius: 0.625rem; /* 10px */
    border: 0.3125rem solid #fff; /* 5px */
    margin-bottom: 0.625rem; /* 10px */
}

.phone-group {
    display: flex;
    gap: 1.25rem; /* 20px */
    flex-wrap: wrap;
    justify-content: center;
}

.phone-link {
    font-size: 1.5rem;
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 1.25rem; /* 20px */
    background: #151b4d;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 48rem) { /* 768px */
    .hero-content h1 { font-size: 2rem; }
    .hero-content{ padding: 4rem 0; }
    .fleet-grid, .why-grid { grid-template-columns: 1fr; }
    .highlights span { font-size: 0.8rem; }
    .hero { height: auto; }
}
@media (max-width: 30rem) { /* 480px */
    nav a { display: block; text-align: center; position: fixed; bottom: 1rem; right: 1rem;  z-index: 1001; }
    nav a span{display: block; }
}