/* =====================
   Shared Components
===================== */

/* Buttons */
.btn-intro{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 26px;
  border-radius:999px;
  color:#fff;
  font-size:.95rem;
}

/* Grids (structure only) */
.services-page-grid,
.video-grid,
.gallery-grid{
  display:grid;
  gap:30px;
}

/* Cards */
.service-card,
.room-card,
.video-container,
.gallery-item{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

/* Social icons (base) */
.contact-social-center{
  display:flex;
  gap:22px;
}
.contact-social-center .social{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1.5px solid #e5e7eb;
}
.contact-social-center .social i{
  font-size:1.25rem;
}
/* ===== Floating Buttons : GLOBAL ===== */
.floating-buttons{
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1010;
}

.fab-item{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,.08);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;          /* ⭐ ทำให้เมนูตรงกัน */
}

.logo img {
  height: 80px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  padding: 6px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg,#38bdf8,#86efac);
  transition: .3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}
@media (max-width: 768px) {
  .section {
    padding: 40px 0; /* จาก 60px → 40px */
  }
}
.video-vertical {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

/* ปก */
.video-cover {
  position: absolute;
  inset: 0;
  z-index: 3;           /* ⭐ ปกอยู่บน */
  cursor: pointer;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ตัว video */
.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* ⭐ สำคัญมาก */
  position: relative;
  z-index: 1;           /* ⭐ video ต้องอยู่ล่าง */
}
