{"id":45,"date":"2026-03-25T04:11:48","date_gmt":"2026-03-25T04:11:48","guid":{"rendered":"https:\/\/clouddemo.nc.co.th\/MHG\/midadeseahuahin\/?page_id=45"},"modified":"2026-03-25T06:50:23","modified_gmt":"2026-03-25T06:50:23","slug":"gallery","status":"publish","type":"page","link":"https:\/\/mhg.co.th\/midadeseahuahin\/gallery\/","title":{"rendered":"GALLERY"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"45\" class=\"elementor elementor-45\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-573c513 e-con-full e-flex e-con e-parent\" data-id=\"573c513\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b56e765 elementor-widget elementor-widget-html\" data-id=\"b56e765\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- Mida De Sea Hua Hin \u2014 Gallery Page -->\n<!-- Data: midadeseahuahin_gallery.md | Style: style-guide.md -->\n\n<style>\n@import url('https:\/\/fonts.googleapis.com\/css2?family=Kanit:wght@200;300;400&display=swap');\n\n:root {\n  --mdsh-primary:   #0c6980;\n  --mdsh-secondary: #76777a;\n  --mdsh-white:     #ffffff;\n  --mdsh-dark:      #030303;\n  --mdsh-light:     #f5f7f8;\n  --mdsh-warm:      #faf9f7;\n}\n\n.mdsh {\n  font-family: 'Kanit', sans-serif;\n  background: var(--mdsh-white);\n  color: var(--mdsh-dark);\n  -webkit-font-smoothing: antialiased;\n  overflow-x: hidden;\n}\n\n\/* \u2500\u2500\u2500 Scroll Reveal \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.mdsh-reveal {\n  opacity: 0; transform: translateY(36px);\n  transition: opacity .8s cubic-bezier(.25,.46,.45,.94),\n              transform .8s cubic-bezier(.25,.46,.45,.94);\n}\n.mdsh-reveal.is-visible { opacity:1; transform:translateY(0); }\n\n\/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n   HERO\n   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n.mdsh-hero {\n  position:relative; width:100%; height:60vh;\n  min-height:480px; overflow:hidden; background:var(--mdsh-dark);\n}\n.mdsh-hero__bg { position:absolute; inset:0; }\n.mdsh-hero__bg img {\n  width:100%; height:100%; object-fit:cover; display:block;\n  animation: mdshZoom 22s ease-in-out infinite alternate;\n}\n@keyframes mdshZoom { 0%{transform:scale(1)} 100%{transform:scale(1.06)} }\n.mdsh-hero__overlay {\n  position:absolute; inset:0;\n  background: linear-gradient(170deg, rgba(0,20,32,.1) 0%, rgba(0,25,35,.55) 100%);\n}\n.mdsh-hero__content {\n  position:absolute; inset:0; display:flex; flex-direction:column;\n  align-items:center; justify-content:center; text-align:center; z-index:2; gap:16px;\n  padding: 0 40px;\n}\n.mdsh-hero__eyebrow {\n  font-size:12px; font-weight:400; letter-spacing:4px;\n  text-transform:uppercase; color:rgba(255,255,255,.6); margin:0;\n}\n.mdsh-hero__title {\n  font-size:48px; font-weight:200; color:#fff; margin:0; line-height:1.2; letter-spacing:1px;\n}\n.mdsh-hero__orn { width: 64px; height: 1px; background: rgba(255,255,255,.3); }\n\n\/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n   FILTERS\n   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n.mdsh-filters-wrap {\n  padding: 80px 48px 48px; text-align: center;\n}\n.mdsh-filters__title { font-size: 32px; font-weight: 200; color: var(--mdsh-dark); margin: 0 0 32px; }\n.mdsh-filters {\n  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 900px; margin: 0 auto;\n}\n.mdsh-filter-btn {\n  padding: 10px 24px; font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 300;\n  letter-spacing: 1px; text-transform: uppercase; color: var(--mdsh-secondary);\n  background: transparent; border: 1px solid rgba(0,0,0,.1); border-radius: 0;\n  cursor: pointer; transition: all .3s; white-space: nowrap;\n}\n.mdsh-filter-btn:hover, .mdsh-filter-btn.active {\n  background: var(--mdsh-primary); border-color: var(--mdsh-primary); color: #fff;\n}\n\n\/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n   MASONRY GALLERY\n   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n.mdsh-gallery {\n  max-width: 1400px; margin: 0 auto; padding: 0 48px 120px;\n  columns: 3; column-gap: 16px;\n}\n.mdsh-gal-item {\n  break-inside: avoid; margin-bottom: 16px;\n  position: relative; overflow: hidden; background: var(--mdsh-light);\n  cursor: zoom-in;\n  \/* transition for filtering *\/\n  transition: transform .4s, opacity .4s, display .4s allow-discrete;\n}\n.mdsh-gal-item.hidden { display: none; opacity: 0; transform: scale(0.95); }\n.mdsh-gal-item img {\n  width: 100%; display: block; object-fit: cover;\n  transition: transform .7s cubic-bezier(.25,.46,.45,.94);\n}\n.mdsh-gal-item:hover img { transform: scale(1.05); }\n\n.mdsh-gal-overlay {\n  position: absolute; inset: 0;\n  background: linear-gradient(to top, rgba(0,20,32,.7), transparent 60%);\n  opacity: 0; transition: opacity .4s;\n  display: flex; align-items: flex-end; padding: 24px; pointer-events: none;\n}\n.mdsh-gal-item:hover .mdsh-gal-overlay { opacity: 1; }\n.mdsh-gal-title {\n  font-size: 14px; font-weight: 300; color: #fff; margin: 0;\n  transform: translateY(10px); transition: transform .4s;\n}\n.mdsh-gal-item:hover .mdsh-gal-title { transform: translateY(0); }\n\n\/* Center icon *\/\n.mdsh-gal-icon {\n  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;\n  margin-top: -20px; margin-left: -20px;\n  display: flex; align-items: center; justify-content: center;\n  background: rgba(255,255,255,.15); backdrop-filter: blur(4px); border-radius: 50%;\n  opacity: 0; transform: scale(0.8); transition: all .4s cubic-bezier(.25,.46,.45,.94);\n}\n.mdsh-gal-item:hover .mdsh-gal-icon { opacity: 1; transform: scale(1); }\n.mdsh-gal-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.5; }\n\n\/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n   LIGHTBOX\n   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n.mdsh-lb {\n  position: fixed; inset: 0; z-index: 9999;\n  background: rgba(0,0,0,.95); display: flex; flex-direction: column;\n  opacity: 0; pointer-events: none; transition: opacity .4s ease;\n}\n.mdsh-lb.active { opacity: 1; pointer-events: all; }\n\n.mdsh-lb-header {\n  position: absolute; top: 0; left: 0; right: 0; padding: 24px 32px;\n  display: flex; justify-content: space-between; align-items: center; z-index: 3;\n}\n.mdsh-lb-counter { font-size: 12px; font-weight: 300; letter-spacing: 2px; color: rgba(255,255,255,.6); }\n.mdsh-lb-close {\n  background: transparent; border: none; color: #fff; cursor: pointer; padding: 8px;\n  transition: transform .3s, color .3s; display: flex; align-items: center; gap: 8px;\n}\n.mdsh-lb-close:hover { color: var(--mdsh-primary); transform: scale(1.1); }\n.mdsh-lb-close svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; }\n\n.mdsh-lb-body {\n  flex: 1; display: flex; align-items: center; justify-content: center; position: relative;\n  overflow: hidden; padding: 80px 24px 24px;\n}\n.mdsh-lb-img {\n  max-width: 90%; max-height: 90vh; object-fit: contain;\n  transition: opacity .3s, transform .3s; opacity: 1; transform: scale(1);\n}\n.mdsh-lb-img.loading { opacity: 0; transform: scale(0.98); }\n.mdsh-lb-caption {\n  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);\n  font-size: 14px; font-weight: 300; letter-spacing: 1px; color: #fff; text-align: center;\n}\n\n\/* Lightbox Nav *\/\n.mdsh-lb-nav {\n  position: absolute; top: 50%; transform: translateY(-50%);\n  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px);\n  color: #fff; cursor: pointer; padding: 16px 12px; transition: all .3s; z-index: 3;\n}\n.mdsh-lb-nav:hover { background: rgba(255,255,255,.15); }\n.mdsh-lb-nav svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }\n.mdsh-lb-prev { left: 24px; }\n.mdsh-lb-next { right: 24px; }\n\n\/* \u2550\u2550 RESPONSIVE \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 *\/\n@media (max-width: 1023px) {\n  .mdsh-gallery { columns: 2; padding: 0 32px 100px; }\n  .mdsh-filters-wrap { padding: 64px 32px 32px; }\n  .mdsh-hero { height: 45vh; }\n  .mdsh-hero__title { font-size: 40px; }\n}\n@media (max-width: 767px) {\n  .mdsh-gallery { columns: 1; padding: 0 24px 80px; }\n  .mdsh-filters-wrap { padding: 60px 24px 32px; }\n  .mdsh-filters__title { font-size: 28px; }\n  .mdsh-hero { min-height: 400px; }\n  .mdsh-hero__title { font-size: 32px; }\n  .mdsh-lb-img { max-width: 100%; top: 60px; }\n  .mdsh-lb-nav { padding: 12px 8px; }\n  .mdsh-lb-prev { left: 12px; }\n  .mdsh-lb-next { right: 12px; }\n}\n<\/style>\n\n<div class=\"mdsh\">\n\n  <!-- \u2500\u2500\u2500 HERO \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n  <section class=\"mdsh-hero\">\n    <div class=\"mdsh-hero__bg\">\n      <img decoding=\"async\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Exterior_06.jpg\" alt=\"Gallery\">\n    <\/div>\n    <div class=\"mdsh-hero__overlay\"><\/div>\n    <div class=\"mdsh-hero__content mdsh-reveal\">\n      <p class=\"mdsh-hero__eyebrow\">Discover<\/p>\n      <h1 class=\"mdsh-hero__title\">Our Gallery<\/h1>\n      <div class=\"mdsh-hero__orn\"><\/div>\n    <\/div>\n  <\/section>\n\n  <!-- \u2500\u2500\u2500 FILTERS \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n  <section class=\"mdsh-filters-wrap mdsh-reveal delay-1\">\n    <h2 class=\"mdsh-filters__title\">Visual Journey<\/h2>\n    <div class=\"mdsh-filters\" id=\"galleryFilters\">\n      <button class=\"mdsh-filter-btn active\" data-filter=\"all\">All Images<\/button>\n      <button class=\"mdsh-filter-btn\" data-filter=\"accommodation\">Accommodation<\/button>\n      <button class=\"mdsh-filter-btn\" data-filter=\"dining\">Dining<\/button>\n      <button class=\"mdsh-filter-btn\" data-filter=\"pool\">Pool &amp; Exterior<\/button>\n    <\/div>\n  <\/section>\n\n  <!-- \u2500\u2500\u2500 MASONRY GALLERY \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n  <section class=\"mdsh-gallery\" id=\"galleryGrid\">\n\n    <!-- ACCOMMODATION -->\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Deluxe Room\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Deluxe_02.jpg\" alt=\"Deluxe Room\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Deluxe Room<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Deluxe Room\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Deluxe_06.jpg\" alt=\"Deluxe Room\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Deluxe Room<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Deluxe Room\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Deluxe_05.jpg\" alt=\"Deluxe Room\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Deluxe Room<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Deluxe Pool Access\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Deluxe-Pool-Access_01.jpg\" alt=\"Deluxe Pool Access\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Deluxe Pool Access<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Deluxe Pool Access\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Deluxe-Pool-Access_03.jpg\" alt=\"Deluxe Pool Access\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Deluxe Pool Access<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Pool Villa\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Pool-Villa_09.jpg\" alt=\"Pool Villa\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Pool Villa<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Pool Villa\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Pool-Villa_08.jpg\" alt=\"Pool Villa\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Pool Villa<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Pool Villa\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Pool-Villa_01.jpg\" alt=\"Pool Villa\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Pool Villa<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Duplex Suite\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Duplex-Room_01-1.jpg\" alt=\"Duplex Suite\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Duplex Suite<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"Duplex Suite\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/Duplex-Room_03-1.jpg\" alt=\"Duplex Suite\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Duplex Suite<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"2-Bedroom Deluxe\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2017\/07\/deluxe-two-bedrooms-01.jpg\" alt=\"2-Bedroom Deluxe\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">2-Bedroom Deluxe<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"2-Bedroom Corner Suite\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2017\/07\/two-bedrooms-corner-suite-01.jpg\" alt=\"2-Bedroom Corner Suite\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">2-Bedroom Corner Suite<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"3-Bedroom Royal Suite\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/3-Bedroom-Royal-Suite_08-1.jpg\" alt=\"Royal Suite\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">3-Bedroom Royal Suite<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"accommodation\" data-title=\"3-Bedroom Royal Suite\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/3-Bedroom-Royal-Suite_01-1.jpg\" alt=\"Royal Suite\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">3-Bedroom Royal Suite<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n\n    <!-- DINING -->\n    <div class=\"mdsh-gal-item\" data-cat=\"dining\" data-title=\"M Cafe Breakfast\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/M-Cafe_Breakfast_01.jpg\" alt=\"M Cafe Breakfast\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">M Cafe Breakfast<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"dining\" data-title=\"M Cafe Breakfast\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/M-Cafe_Breakfast_05.jpg\" alt=\"M Cafe Breakfast\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">M Cafe Breakfast<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"dining\" data-title=\"M Cafe Breakfast\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/M-Cafe_Breakfast_10.jpg\" alt=\"M Cafe Breakfast\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">M Cafe Breakfast<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"dining\" data-title=\"Delizioso Restaurant\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Delizioso_01.jpg\" alt=\"Delizioso Restaurant\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Delizioso Restaurant<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"dining\" data-title=\"Delizioso Restaurant\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Delizioso_02.jpg\" alt=\"Delizioso Restaurant\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Delizioso Restaurant<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n\n    <!-- POOL & EXTERIOR -->\n    <div class=\"mdsh-gal-item\" data-cat=\"pool\" data-title=\"Exterior View\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Exterior_01.jpg\" alt=\"Exterior View\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Exterior View<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"pool\" data-title=\"Exterior View\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Exterior_03.jpg\" alt=\"Exterior View\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Exterior View<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"pool\" data-title=\"Exterior View\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/04\/Exterior_06.jpg\" alt=\"Exterior View\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Exterior View<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"pool\" data-title=\"Salt Water Pool\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/2-Bedroom-Corner-Suite-Pool-Access_08.jpg\" alt=\"Salt Water Pool\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Salt Water Pool<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n    <div class=\"mdsh-gal-item\" data-cat=\"pool\" data-title=\"Salt Water Pool\">\n      <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.midadeseahuahin.com\/wp-content\/uploads\/2022\/03\/2-Bedroom-Corner-Suite-Pool-Access_12.jpg\" alt=\"Salt Water Pool\">\n      <div class=\"mdsh-gal-overlay\"><p class=\"mdsh-gal-title\">Salt Water Pool<\/p><\/div>\n      <div class=\"mdsh-gal-icon\"><svg viewBox=\"0 0 24 24\"><path d=\"M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7\"\/><\/svg><\/div>\n    <\/div>\n\n  <\/section>\n\n  <!-- \u2500\u2500\u2500 LIGHTBOX \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 -->\n  <div class=\"mdsh-lb\" id=\"mdshLightbox\">\n    <div class=\"mdsh-lb-header\">\n      <span class=\"mdsh-lb-counter\" id=\"lbCounter\">1 \/ 10<\/span>\n      <button class=\"mdsh-lb-close\" id=\"lbClose\">\n        <svg viewBox=\"0 0 24 24\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"\/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"\/><\/svg>\n      <\/button>\n    <\/div>\n    <div class=\"mdsh-lb-body\">\n      <button class=\"mdsh-lb-nav mdsh-lb-prev\" id=\"lbPrev\"><svg viewBox=\"0 0 24 24\"><polyline points=\"15 18 9 12 15 6\"\/><\/svg><\/button>\n      <img decoding=\"async\" src=\"\" class=\"mdsh-lb-img\" id=\"lbImg\" alt=\"Gallery Image\">\n      <button class=\"mdsh-lb-nav mdsh-lb-next\" id=\"lbNext\"><svg viewBox=\"0 0 24 24\"><polyline points=\"9 18 15 12 9 6\"\/><\/svg><\/button>\n      <p class=\"mdsh-lb-caption\" id=\"lbCaption\"><\/p>\n    <\/div>\n  <\/div>\n\n<\/div>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function() {\n  \/* 1. Scroll Reveal *\/\n  const reveals = document.querySelectorAll('.mdsh-reveal');\n  const observer = new IntersectionObserver((entries) => {\n    entries.forEach(entry => {\n      if (entry.isIntersecting) {\n        entry.target.classList.add('is-visible');\n        observer.unobserve(entry.target);\n      }\n    });\n  }, { threshold: 0.1, rootMargin: \"0px 0px -40px 0px\" });\n  reveals.forEach(el => observer.observe(el));\n\n  \/* 2. Gallery Filtering *\/\n  const filterBtns = document.querySelectorAll('.mdsh-filter-btn');\n  const galleryItems = document.querySelectorAll('.mdsh-gal-item');\n  let currentItems = Array.from(galleryItems);\n\n  filterBtns.forEach(btn => {\n    btn.addEventListener('click', () => {\n      \/* Update active button *\/\n      filterBtns.forEach(b => b.classList.remove('active'));\n      btn.classList.add('active');\n\n      const filterValue = btn.getAttribute('data-filter');\n      currentItems = [];\n\n      \/* Show\/Hide items *\/\n      galleryItems.forEach(item => {\n        if (filterValue === 'all' || item.getAttribute('data-cat') === filterValue) {\n          item.classList.remove('hidden');\n          currentItems.push(item);\n        } else {\n          item.classList.add('hidden');\n        }\n      });\n    });\n  });\n\n  \/* 3. Lightbox Logic *\/\n  const lb = document.getElementById('mdshLightbox');\n  const lbImg = document.getElementById('lbImg');\n  const lbCaption = document.getElementById('lbCaption');\n  const lbCounter = document.getElementById('lbCounter');\n  let currentIndex = 0;\n\n  function openLightbox(index) {\n    currentIndex = index;\n    updateLightbox();\n    lb.classList.add('active');\n    document.body.style.overflow = 'hidden';\n  }\n  function closeLightbox() {\n    lb.classList.remove('active');\n    document.body.style.overflow = '';\n  }\n  function updateLightbox() {\n    if(currentItems.length === 0) return;\n    const item = currentItems[currentIndex];\n    const src = item.querySelector('img').src;\n    const title = item.getAttribute('data-title');\n    \n    lbImg.classList.add('loading');\n    setTimeout(() => {\n      lbImg.src = src;\n      lbImg.onload = () => lbImg.classList.remove('loading');\n      lbCaption.textContent = title;\n      lbCounter.textContent = `${currentIndex + 1} \/ ${currentItems.length}`;\n    }, 150);\n  }\n\n  \/* Bind click to items inside the current filtered list *\/\n  galleryItems.forEach(item => {\n    item.addEventListener('click', () => {\n      const idx = currentItems.indexOf(item);\n      if(idx !== -1) openLightbox(idx);\n    });\n  });\n\n  document.getElementById('lbClose').addEventListener('click', closeLightbox);\n  document.getElementById('lbPrev').addEventListener('click', () => {\n    currentIndex = (currentIndex > 0) ? currentIndex - 1 : currentItems.length - 1;\n    updateLightbox();\n  });\n  document.getElementById('lbNext').addEventListener('click', () => {\n    currentIndex = (currentIndex < currentItems.length - 1) ? currentIndex + 1 : 0;\n    updateLightbox();\n  });\n  lb.addEventListener('click', (e) => {\n    if(e.target === lb || e.target.classList.contains('mdsh-lb-body')) closeLightbox();\n  });\n  document.addEventListener('keydown', (e) => {\n    if (!lb.classList.contains('active')) return;\n    if (e.key === 'Escape') closeLightbox();\n    if (e.key === 'ArrowLeft') document.getElementById('lbPrev').click();\n    if (e.key === 'ArrowRight') document.getElementById('lbNext').click();\n  });\n});\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Discover Our Gallery Visual Journey All Images Accommodation Dining Pool &amp; Exterior Deluxe Room Deluxe Room Deluxe Room Deluxe Pool Access Deluxe Pool Access Pool Villa Pool Villa Pool Villa Duplex Suite Duplex Suite 2-Bedroom Deluxe 2-Bedroom Corner Suite 3-Bedroom Royal Suite 3-Bedroom Royal Suite M Cafe Breakfast M Cafe Breakfast M Cafe Breakfast Delizioso [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-45","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/pages\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":4,"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/pages\/45\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/pages\/45\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/mhg.co.th\/midadeseahuahin\/wp-json\/wp\/v2\/media?parent=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}