@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap');

body {font-family: 'Prompt', sans-serif; margin: 0; padding: 0;}
a:link {color:#333;}



/* Header */
.main-header {display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);}
.logo-container a {font-size: 1.5rem; font-weight: bold; text-decoration: none; color: #333;}
.header {width:120px;}

.main-nav {display: none; width: 100%;}
.hamburger-menu {width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; position: relative; background: #333; height: 3px; width: 30px; margin: 18.5px 5px; box-shadow: 0 -10px 0 #333, 0 10px 0 #333;}
    
.main-nav.is-open {display: block; position: absolute; top: 60px; left: 0; right: 0; background-color: #fff; z-index: 1000; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.main-nav.is-open ul {flex-direction: column;}
.main-nav ul {list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.main-nav li {padding: 10px 20px; border-bottom: 1px solid #eee;}
.main-nav a {text-decoration: none; color: #555; display: block;}



/* First */
.content-container {display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 15px; padding: 15px; max-width: 100%;}
.item-box {min-height: 150px; padding: 10px; display:flex; justify-content: center; border-radius:25px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    align-items:center; text-align:center; font-size:1rem; font-weight:bold; box-sizing:border-box;}
.item-box-img {width:150px;}    


/* Container สำหรับจัดวางปุ่ม */
.btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* Base Style สำหรับปุ่ม */
.btn-sookjai {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 50px; /* ดีไซน์มนๆ ให้ดูเป็นกันเองและทันสมัย */
    font-family: 'Kanit', sans-serif; /* แนะนำให้ใช้ฟอนต์สไตล์นี้เพื่อให้เข้ากับเว็บ */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

/* ปุ่มหลัก: วางแผนเที่ยว (ใช้สีส้มสดใสตามหัวโบรชัวร์) */
.btn-primary-sookjai {
    background: linear-gradient(135deg, #ff9800, #f44336);
    color: white;
}

.btn-primary-sookjai:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* ปุ่มรอง: ดาวน์โหลด PDF (ใช้สีฟ้าตามโลโก้) */
.btn-outline-sookjai {
    background-color: #ffffff;
    color: #03a9f4;
    border: 2px solid #03a9f4;
}

.btn-outline-sookjai:active {
    background-color: #e1f5fe;
}

/* เพิ่ม Icon เล็กๆ หน้าข้อความ (ถ้าต้องการ) */
.btn-sookjai i {
    margin-right: 8px;
}

/* Idea*/ 
.inspiration-section {padding: 10px 30px; background-color: #f99d20; margin:50px 20px; border-radius:30px; background-size: cover;
    background: url('/NIMG/ba4.webp') repeat-X top; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);}
.section-title {text-align: center; color: #fff; margin-bottom:30px;}
h3 {margin-top: 20px; margin-bottom: 15px; color: #333;}

/* Idea - opportunity */    
.opportunity-container {display: flex; flex-wrap: wrap; gap: 10px;}

.opportunity-pill {padding: 10px 15px; background-color: #fff; border-radius: 30px; text-decoration: none; 
    font-size: 0.9rem; font-weight: 300; white-space: nowrap; transition: background-color 0.2s;}
.opportunity-pill:hover {background-color: #139b8f; color:#fff;}



/* YO! */    
.YO {max-width:250px;}
.gallery-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 20px; max-width: 1200px; margin: 0 auto;}
.grid-item {position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s; cursor: pointer;
    min-height: 200px;}
.grid-item:hover {transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);}
.grid-item img {width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.3s;}
.place-overlay {position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white; font-size: 1.1rem; font-weight: bold; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); text-align: left;}



/*DESKTOP VIEW (Media Query) * เมื่อหน้าจอใหญ่ขึ้น (เช่น 768px ขึ้นไป)*/
@media (min-width:1024px) {
/* Header */    
.main-nav {display: block !important; width: auto;}
.main-nav ul {flex-direction: row; gap: 20px; list-style: none; padding: 0; margin: 0; display: flex; align-items: center;}
.main-nav li {padding: 0; border-bottom: none;}
.main-nav ul li {margin-right: 25px;  margin-top: 0; margin-bottom: 0;}
.cta-button {display: inline-block; vertical-align: middle; padding: 10px 18px; background-color: #ff5405; color: white !important; text-decoration: none; 
    border-radius: 4px; font-weight: 700;}
.main-nav ul li a:not(.cta-button) {display: inline-block; vertical-align: middle;}
.hamburger-menu {display: none;}
.cta-button {background-color: #ff5405; color: white; padding: 8px 15px; border-radius: 4px; transition: background-color 0.3s;}

/* First */
.content-container {grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: auto; gap: 20px; max-width: 1200px; margin: 0 auto;}
}



/*MOBILE VIEW (Media Query)*/
@media (max-width: 768px) {
/* First */
.item-box {min-height: 150px; padding: 10px; display: flex; justify-content: center; border-radius:25px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    align-items: center; text-align: center; font-size: 1rem; font-weight: bold; box-sizing: border-box;}

/* YO! */
.YO {width:150px;}
.gallery-grid {grid-template-columns: repeat(2, 1fr);}
}

/* Container สำหรับจัดวางปุ่ม */
.btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* Base Style สำหรับปุ่ม */
.btn-sookjai {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 50px; /* ดีไซน์มนๆ ให้ดูเป็นกันเองและทันสมัย */
    font-family: 'Kanit', sans-serif; /* แนะนำให้ใช้ฟอนต์สไตล์นี้เพื่อให้เข้ากับเว็บ */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

/* ปุ่มหลัก: วางแผนเที่ยว (ใช้สีส้มสดใสตามหัวโบรชัวร์) */
.btn-primary-sookjai {
    background: linear-gradient(135deg, #ff9800, #f44336);
    color: white;
}

.btn-primary-sookjai:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* ปุ่มรอง: ดาวน์โหลด PDF (ใช้สีฟ้าตามโลโก้) */
.btn-outline-sookjai {
    background-color: #ffffff;
    color: #03a9f4;
    border: 2px solid #03a9f4;
}

.btn-outline-sookjai:active {
    background-color: #e1f5fe;
}

/* เพิ่ม Icon เล็กๆ หน้าข้อความ (ถ้าต้องการ) */
.btn-sookjai i {
    margin-right: 8px;
}

/* Responsive: บนหน้าจอคอมพิวเตอร์ให้ปุ่มเรียงกันแนวนอน */
@media (min-width: 768px) {
    .btn-wrapper {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }
}

