@charset "utf-8";

/***********************************/
              body { font-family: 'Sarabun', sans-serif; background-color: #f4f7f6; color: #333; scroll-behavior: smooth; }
        /* CSS ส่วนอื่นๆ ของคุณคงเดิม */
        .navbar-brand-custom { display: flex; align-items: center; text-decoration: none; transition: transform 0.2s ease; }
        .logo-img { height: 40px; width: auto; object-fit: contain; margin-right: 12px; filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2)); }
        .brand-text { color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
        @media (max-width: 576px) { .logo-img { height: 32px; } .brand-text { font-size: 1.1rem; } }
        .navbar-main { background-color: #003366; color: white; padding: 12px 0; }
        .user-avatar-nav { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; border: 2px solid #fff; }
        
        /* ปรับแต่งส่วนรูปภาพ */
        .main-img { width: 100%; height: 450px; object-fit: cover; border-radius: 20px; cursor: zoom-in; }
        .thumb-img { width: 100%; height: 80px; object-fit: cover; border-radius: 12px; cursor: pointer; transition: 0.2s; }
        .thumb-img:hover { opacity: 0.8; transform: scale(1.05); }
        
        .card-custom { border: none; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); background: #fff; padding: 30px 8px 30px 8px; margin-bottom: 25px; }
        .btn-contact { border-radius: 15px; padding: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
        .btn-phone { background-color: #ffffff; color: #000 !important; border: 2px solid #000; }
        .btn-phone:hover { background-color: #000; color: #fff !important; }
        .btn-line { background-color: #06c755; color: #fff !important; }
        .btn-wa { background-color: #25d366; color: #fff !important; }
        .btn-book { background-color: #003366; color: #fff; border-radius: 10px; padding: 8px 20px; font-weight: 600; text-decoration: none; transition: 0.3s; }
        footer { background-color: #003366; color: #fff; padding: 30px 0; text-align: center; margin-top: 50px; }
 
  .video {
    width: 100%;
    aspect-ratio: 16 / 9;
    
    /* เพิ่มส่วนนี้เพื่อทำขอบโค้ง */
    border-radius: 15px;   /* ปรับตัวเลขมาก-น้อยตามความต้องการ */
    overflow: hidden;      /* สำคัญมาก: เพื่อตัดขอบวิดีโอให้โค้งตาม Container */
    
    /* แถม: ใส่เงาเบาๆ ให้ดูมีมิติ (ถ้าชอบ) */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
  }

  .video iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* ส่วนของสถานที่แนะนำ */
.recommend-section { margin-top: 50px; padding-top: 30px; border-top: 2px solid #eee; }
.place-card { 
    border: none; 
    border-radius: 15px; 
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    background: #fff;
    height: 100%;
}
.place-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}
.img-wrapper { 
    position: relative; 
    width: 100%; 
    padding-top: 100%; /* ทำเป็นรูปจัตุรัส 1:1 */
    overflow: hidden; 
}
.img-wrapper img { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    object-fit: cover; 
}
.place-link { text-decoration: none; color: inherit; }
.place-title { 
    font-size: 0.95rem; 
    font-weight: 600; 
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

	.province-badge {
    display: inline-block;
    background-color: #003366; /* สีชมพู (Hot Pink) */
    color: white;              /* สีตัวอักษรเป็นสีขาว */
    padding: 5px 15px;         /* ระยะห่างภายในปุ่ม */
    border-radius: 50px;       /* ทำให้ขอบโค้งมนแบบ Pill shape */
    text-decoration: none;     /* เอาเส้นใต้ลิงก์ออก */
    border: none;              /* มั่นใจว่าไม่มีเส้นขอบ */
    transition: background-color 0.3s; /* เพิ่มลูกเล่นตอนเอาเมาส์วาง */
}

/* เมื่อเอาเมาส์วาง (Hover) */
.province-badge:hover {
    background-color: #bebebe; /* สีชมพูที่เข้มขึ้นเล็กน้อย */
    color: white;
    text-decoration: none;
}

/* คอนเทนเนอร์หลัก */
.category-tabs-container {
    background-color: #ffffff;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
}

/* แถบเลื่อนเมนู */
.category-tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth; /* บังคับให้เลื่อนแบบนุ่มนวล */
}

/* ซ่อน Scrollbar */
.category-tabs-scroll::-webkit-scrollbar { display: none; }
.category-tabs-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ดีไซน์ปุ่มเมนู */
.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background-color: #ffffff;
    color: #495057;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.tag-item:hover {
    background-color: #222222;
    color: #ffffff !important;
    border-color: #222222;
}

/* 🛠️ ดีไซน์ปุ่มลูกศรสำหรับ PC */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    z-index: 5;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #222;
}
.scroll-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-50%) scale(1.05);
}

/* จัดวางตำแหน่งปุ่มซ้าย-ขวาไว้ขอบคอนเทนเนอร์ */
.scroll-left-btn { left: 15px; }
.scroll-right-btn { right: 15px; }