/* EPHESUS SUITES CUSTOM STYLE SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Alex+Brush&family=Caveat:wght@400;600&family=Marck+Script&display=swap');

:root {
  --color-bg-light: #000000;
  --color-bg-beige: #0d0d0d;
  --color-bg-sand: #1a1a1a;
  --color-text-dark: #ffffff;
  --color-primary: #E5C158; /* Golden Yellow */
  --color-accent: #D4AF37; /* Gold */
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #ffffff !important;
  background-color: #000000 !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  color: #E5C158 !important; /* Golden yellow headlines */
  line-height: 1.35;
}

/* Navbar Brand Title "Ephesus Suites" - strictly consistent across all pages and languages */
nav a span.font-serif,
nav a .font-serif,
.nav-brand-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  letter-spacing: 0.04em !important;
}

/* Navbar "Sevgi's House" cursive yet clean and legible */
nav a span.capitalize,
nav a span[class*="capitalize"],
.es-nav-subtitle,
.nav-brand-cursive {
  font-family: 'Caveat', 'Alex Brush', cursive !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.1 !important;
  display: block !important;
}

/* Custom styles for layout, custom transition and buttons */
.btn-primary {
  background-color: #E5C158;
  color: #000000 !important;
  transition: all 0.3s ease;
  font-weight: bold;
}
.btn-primary:hover {
  background-color: #D4AF37;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #E5C158;
  color: #E5C158 !important;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #E5C158;
  color: #000000 !important;
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
  touch-action: pan-y;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex !important;
}

.lightbox-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  max-height: 86vh;
  margin: auto;
}

.lightbox-content {
  margin: 0 auto;
  display: block;
  width: auto;
  height: auto;
  max-width: min(84vw, 840px);
  max-height: min(72vh, 620px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(229, 193, 88, 0.25);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(229, 193, 88, 0.18);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Red Close X Button (Top Right, no text) */
.close-lightbox {
  position: fixed;
  top: 20px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000000;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(239, 68, 68, 0.35);
  line-height: 1;
  transition: all 0.25s ease;
}

.close-lightbox:hover {
  color: #ff3333;
  background: rgba(239, 68, 68, 0.2);
  transform: scale(1.15) rotate(90deg);
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

/* Left and Right Nav Arrows in Logo-Yellow (#E5C158) with continuous slight light pulse glow animation on hover */
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E5C158;
  background: rgba(18, 18, 18, 0.65);
  border: 1.5px solid rgba(229, 193, 88, 0.45);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000000;
  transition: all 0.3s ease;
}

.lightbox-arrow-left {
  left: 24px;
}

.lightbox-arrow-right {
  right: 24px;
}

.lightbox-arrow svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  filter: drop-shadow(0 0 2px rgba(229, 193, 88, 0.5));
}

@keyframes esArrowLightGlow {
  0% {
    box-shadow: 0 0 8px rgba(229, 193, 88, 0.35), 0 0 15px rgba(229, 193, 88, 0.2);
    border-color: rgba(229, 193, 88, 0.7);
    filter: brightness(1);
    transform: translateY(-50%) scale(1.06);
  }
  50% {
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.85), 0 0 35px rgba(229, 193, 88, 0.5);
    border-color: #E5C158;
    filter: brightness(1.28);
    transform: translateY(-50%) scale(1.14);
  }
  100% {
    box-shadow: 0 0 8px rgba(229, 193, 88, 0.35), 0 0 15px rgba(229, 193, 88, 0.2);
    border-color: rgba(229, 193, 88, 0.7);
    filter: brightness(1);
    transform: translateY(-50%) scale(1.06);
  }
}

.lightbox-arrow:hover {
  background: rgba(25, 25, 25, 0.9);
  color: #FFE680;
  animation: esArrowLightGlow 1.4s ease-in-out infinite;
}

#lightbox-caption {
  margin-top: 14px;
  color: #E5C158;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Menu Hover Glow Effect */
nav a {
  transition: all 0.3s ease !important;
}
nav a:hover {
  text-shadow: 0 0 8px rgba(229, 193, 88, 0.7);
  color: #E5C158 !important;
}

/* Outlined buttons hover text fix */
a.border:hover, 
button:hover,
.hover\:bg-white:hover,
.hover\:bg-olive:hover,
.btn-primary:hover, 
.btn-secondary:hover {
  color: #000000 !important;
}

/* OPENING ANIMATION STYLES (Buffering Wheel Spin + Elegant Reveal) */
#es-opening-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#es-opening-screen.es-fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.es-opening-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.es-opening-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spinner Halo Wheel around the Logo - Concentrically Centered */
.es-spinner-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 144px;
  height: 144px;
  margin-top: -72px;
  margin-left: -72px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3.5px solid #E5C158;
  border-right: 3.5px solid rgba(229, 193, 88, 0.45);
  border-bottom: 3.5px solid rgba(229, 193, 88, 0.1);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.45);
  animation: esWheelSpin 1.35s linear infinite;
  pointer-events: none;
  z-index: 1;
  box-sizing: border-box;
}

.es-opening-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #E5C158;
  box-shadow: 0 0 35px rgba(229, 193, 88, 0.6);
  object-fit: cover;
  animation: esLogoIntroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards, esLogoGentlePulse 2.5s ease-in-out infinite 0.8s;
  position: relative;
  z-index: 2;
  display: block;
  transform-origin: center center;
  will-change: transform, opacity, box-shadow;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.es-opening-title {
  margin-top: 22px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #E5C158;
  text-transform: none;
  text-shadow: 0 0 15px rgba(229, 193, 88, 0.5);
  transition: opacity 0.4s ease;
}

.es-opening-subtitle {
  margin-top: 5px;
  font-family: 'Caveat', cursive;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: #D4AF37;
  transition: opacity 0.4s ease;
}

@keyframes esWheelSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes esLogoGentlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 35px rgba(229, 193, 88, 0.5);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 50px rgba(229, 193, 88, 0.8);
  }
}

@keyframes esLogoIntroIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* HERO SLIDER (Corner Square Showcase & Simultaneous Transition) */
.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: #000000;
  display: block !important;
  border: 2.5px solid #E5C158;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(229, 193, 88, 0.35);
  box-sizing: border-box;
}

/* Obscurity effects completely removed for crystal clarity */
.hero-slider-container::before {
  display: none !important;
}

/* Each slide base definition */
.hero-slide {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  border-radius: 0px;
  border: none;
  will-change: width, height, top, left, right, bottom, transform, border, box-shadow, z-index;
  transition: all 0.9s cubic-bezier(0.25, 1, 0.3, 1) !important;
}

/* 1. Main Displayed Image: Fills the entire hero screen with 100% crystal clarity */
.hero-slide.hero-main {
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  border: none !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}

.hero-slide.hero-main img {
  filter: none !important;
  transform: translate(-50%, -50%) scale(1.0) !important;
}

/* 2. Small Squares stuck directly on each corner of the hero frame */
.hero-slide.hero-corner {
  width: 110px !important;
  height: 110px !important;
  z-index: 6 !important;
  border: 2px solid #E5C158 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 10px rgba(229, 193, 88, 0.3) !important;
  overflow: hidden !important;
}

/* Corner Positions: Stuck directly to the corners (0px) */
.hero-slide.hero-corner-tl {
  top: 0px !important;
  left: 0px !important;
  right: auto !important;
  bottom: auto !important;
  border-top: none !important;
  border-left: none !important;
  border-bottom-right-radius: 8px !important;
}

.hero-slide.hero-corner-tr {
  top: 0px !important;
  right: 0px !important;
  left: auto !important;
  bottom: auto !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom-left-radius: 8px !important;
}

.hero-slide.hero-corner-bl {
  bottom: 0px !important;
  left: 0px !important;
  top: auto !important;
  right: auto !important;
  border-bottom: none !important;
  border-left: none !important;
  border-top-right-radius: 8px !important;
}

.hero-slide.hero-corner-br {
  bottom: 0px !important;
  right: 0px !important;
  top: auto !important;
  left: auto !important;
  border-bottom: none !important;
  border-right: none !important;
  border-top-left-radius: 8px !important;
}

/* Corner hover state */
.hero-slide.hero-corner:hover {
  filter: brightness(1.15);
  border-color: #FFF2A8 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.95), 0 0 16px rgba(229, 193, 88, 0.5) !important;
}

/* When a corner square is growing or replacing */
.hero-slide.hero-growing {
  z-index: 5 !important;
}

.hero-slide.hero-shrinking {
  z-index: 4 !important;
}

/* Slide image styling: pure, clean, no blur or darkening veil */
.hero-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%) scale(1.0);
  filter: none !important;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.3, 1);
  image-rendering: auto;
}

/* No obscurity overlays on corner squares or main image */
.hero-slide.hero-corner::after,
.hero-slide.hero-main::after,
.hero-slide::after {
  display: none !important;
}

/* Mobile & Tablet responsiveness: stuck right on the corners */
@media (max-width: 768px) {
  .hero-slide.hero-corner {
    width: 68px !important;
    height: 68px !important;
    border-width: 1.5px !important;
  }

  .hero-slide.hero-corner-tl {
    top: 0px !important;
    left: 0px !important;
    border-bottom-right-radius: 6px !important;
  }

  .hero-slide.hero-corner-tr {
    top: 0px !important;
    right: 0px !important;
    border-bottom-left-radius: 6px !important;
  }

  .hero-slide.hero-corner-bl {
    bottom: 0px !important;
    left: 0px !important;
    border-top-right-radius: 6px !important;
  }

  .hero-slide.hero-corner-br {
    bottom: 0px !important;
    right: 0px !important;
    border-top-left-radius: 6px !important;
  }
}



/* MINI BUFFER ANIMATION (Round logo spinning wheel for images loading) */
.es-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-mini-buffer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.es-mini-buffer.loaded {
  opacity: 0;
  visibility: hidden;
}

.es-mini-buffer-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top: 2.5px solid #E5C158;
  border-right: 2.5px solid rgba(229, 193, 88, 0.5);
  border-bottom: 2.5px solid rgba(229, 193, 88, 0.1);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.45);
  animation: esWheelSpin 1.1s linear infinite;
  box-sizing: border-box;
}

.es-mini-buffer-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E5C158;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(229, 193, 88, 0.5);
  position: relative;
  z-index: 2;
  display: block;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

/* HERO TEXT STYLING & ANIMATION */
.hero-animated-title {
  color: #FFF2A8 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 4px 20px rgba(0, 0, 0, 0.55);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1.25rem !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.35 !important;
}

.hero-title-line-1,
.hero-title-line-2 {
  display: block !important;
  animation-duration: 2.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
  will-change: transform, opacity;
  padding: 2px 0;
}

body:not(.hero-anim-ready) .hero-title-line-1,
body:not(.hero-anim-ready) .hero-title-line-2 {
  opacity: 0;
}

body.hero-anim-ready .hero-title-line-1 {
  animation-name: heroGatherLine1;
}

body.hero-anim-ready .hero-title-line-2 {
  animation-name: heroGatherLine2;
}

@keyframes heroGatherLine1 {
  0% {
    opacity: 0;
    transform: translate3d(0, -40px, 0) scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes heroGatherLine2 {
  0% {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

.hero-tagline {
  color: #FFF2A8 !important;
  text-shadow: 0 0 3px #5C5420, 0 0 8px rgba(92, 84, 32, 0.75), 0 2px 4px rgba(0,0,0,0.95);
  font-family: 'Montserrat', 'Inter', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.5 !important;
  display: inline-block;
  margin-bottom: 0.75rem !important;
}

.hero-desc {
  color: #FFF5C2 !important;
  text-shadow: 0 0 2px #5C5420, 0 0 8px rgba(92, 84, 32, 0.7), 0 2px 4px rgba(0,0,0,0.95);
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  margin-top: 0.25rem !important;
}

/* Hidden blog section by default (visible in admin mode) */
.blog-hidden {
  display: none !important;
}

body.admin-edit-mode .blog-hidden {
  display: block !important;
}

.hero-animated-title .word.from-bottom-right {
  animation-name: gatherFromBottomRight;
}

.hero-animated-title .word.from-left {
  animation-name: gatherFromLeft;
}

.hero-animated-title .word.from-right {
  animation-name: gatherFromRight;
}

.hero-animated-title .word.from-top {
  animation-name: gatherFromTop;
}

.hero-animated-title .word.from-bottom {
  animation-name: gatherFromBottom;
}

@keyframes gatherFromTopLeft {
  0% {
    opacity: 0;
    transform: translate3d(-140px, -100px, 0) scale(0.6) rotate(-8deg);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

@keyframes gatherFromTopRight {
  0% {
    opacity: 0;
    transform: translate3d(140px, -100px, 0) scale(0.6) rotate(8deg);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

@keyframes gatherFromBottomLeft {
  0% {
    opacity: 0;
    transform: translate3d(-140px, 100px, 0) scale(0.6) rotate(6deg);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

@keyframes gatherFromBottomRight {
  0% {
    opacity: 0;
    transform: translate3d(140px, 100px, 0) scale(0.6) rotate(-6deg);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

@keyframes gatherFromLeft {
  0% {
    opacity: 0;
    transform: translate3d(-160px, 0, 0) scale(0.6);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes gatherFromRight {
  0% {
    opacity: 0;
    transform: translate3d(160px, 0, 0) scale(0.6);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes gatherFromTop {
  0% {
    opacity: 0;
    transform: translate3d(0, -120px, 0) scale(0.6);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes gatherFromBottom {
  0% {
    opacity: 0;
    transform: translate3d(0, 120px, 0) scale(0.6);
    filter: blur(8px);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

/* DYNAMIC REVIEWS ROTATION / SLIDER */
#es-reviews-container {
  min-height: 280px;
}

.es-review-card {
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
  will-change: transform, opacity;
}

.es-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 193, 88, 0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 193, 88, 0.15);
}

.es-review-nav-btn {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: #E5C158;
  transition: all 0.3s ease;
}

.es-review-nav-btn:hover {
  background-color: #E5C158;
  color: #000000;
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.5);
}

/* STICKY LOWER BAR FOR HERO OPTIONS ON SCROLL */
#es-sticky-hero-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(229, 193, 88, 0.35);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.65), 0 -2px 10px rgba(229, 193, 88, 0.15);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

#es-sticky-hero-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.es-sticky-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 640px) {
  .es-sticky-bar-inner {
    padding: 10px 12px;
    gap: 10px;
  }
}

/* BOOKING AGENCIES POPUP MODAL & LOGOS */
#es-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#es-booking-modal.active {
  opacity: 1;
  visibility: visible;
}

.es-booking-card {
  background: #121212;
  border: 1px solid rgba(229, 193, 88, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 193, 88, 0.15);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#es-booking-modal.active .es-booking-card {
  transform: scale(1);
}

.es-booking-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 24px;
  color: #a3a3a3;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.es-booking-close:hover {
  color: #E5C158;
  transform: scale(1.15);
}

.es-booking-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #E5C158;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.es-booking-desc {
  font-size: 13px;
  color: #d4d4d4;
  margin-bottom: 24px;
}

.es-agency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .es-agency-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.es-agency-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #E5C158 !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.es-agency-link:hover {
  background: rgba(229, 193, 88, 0.1);
  border-color: #E5C158;
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(229, 193, 88, 0.25);
}

.es-agency-logo-wrapper {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.es-agency-link:hover .es-agency-logo-wrapper {
  transform: scale(1.12);
}

.es-agency-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #E5C158;
}

/* Logo Golden Button Styles for Availability CTA */
.btn-availability {
  background-color: #E5C158 !important;
  color: #000000 !important;
  border: 1px solid #E5C158 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-availability:hover {
  background-color: #F3D078 !important;
  color: #000000 !important;
  border-color: #F3D078 !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(229, 193, 88, 0.55) !important;
}

.btn-availability:active {
  transform: scale(0.98) !important;
}

/* WhatsApp & WeChat Action Buttons with Matching Animation */
.btn-whatsapp {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border: 1px solid #25D366 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-whatsapp:hover {
  background-color: #2ee672 !important;
  color: #FFFFFF !important;
  border-color: #2ee672 !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55) !important;
}

.btn-whatsapp:active {
  transform: scale(0.98) !important;
}

.btn-wechat {
  background-color: #07C160 !important;
  color: #FFFFFF !important;
  border: 1px solid #07C160 !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-wechat:hover {
  background-color: #10d66c !important;
  color: #FFFFFF !important;
  border-color: #10d66c !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(7, 193, 96, 0.55) !important;
}

.btn-wechat:active {
  transform: scale(0.98) !important;
}

/* 1.5x larger icons for WhatsApp and WeChat buttons */
.btn-whatsapp svg,
.btn-wechat svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex-shrink: 0 !important;
}

@media (min-width: 640px) {
  .btn-whatsapp svg,
  .btn-wechat svg {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }
}

/* =========================================================
   MOBILE RESPONSIVENESS & TYPOGRAPHY PERFECTION
   ========================================================= */
/* Clean, Elegant Hero Title & Subtitle */
.hero-animated-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 35px rgba(0, 0, 0, 0.9) !important;
}

.hero-desc {
  font-family: 'Inter', sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.04em !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
}

@media (max-width: 768px) {
  /* Prevent hero image edge displacement on mobile: ensure center focal point */
  .hero-slide img {
    object-position: center 45% !important;
    transform-origin: center center !important;
  }

  /* Clear height and comfortable padding on mobile */
  section.relative.h-\[85vh\],
  section.relative.h-\[80vh\] {
    min-height: 92svh !important;
    height: auto !important;
    padding-top: 5.5rem !important;
    padding-bottom: 4.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Simple, catchy, clean hero title on mobile */
  .hero-animated-title {
    font-size: 2.35rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85) !important;
  }

  .hero-desc {
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
    margin-bottom: 2rem !important;
    padding: 0 0.5rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  /* Mobile CTA Buttons: Clear spacing, fully visible and tap-friendly */
  .hero-animated-title + p + div {
    gap: 0.85rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .hero-animated-title + p + div a,
  .hero-animated-title + p + div button {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.85rem !important;
    text-align: center !important;
  }
}

/* LOGO HOVER LIGHTING EFFECT (Gentle, elegant glow that appears on hover and fades on mouse leave) */
nav a[href*="index.html"] img[src*="logo"],
nav a[href*="index.html"] img[src*="eslogo"] {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(1.0) drop-shadow(0 0 0px rgba(229, 193, 88, 0));
}

nav a[href*="index.html"]:hover img[src*="logo"],
nav a[href*="index.html"]:hover img[src*="eslogo"] {
  transform: scale(1.04);
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(229, 193, 88, 0.75));
  box-shadow: 0 0 18px rgba(229, 193, 88, 0.35);
}

nav a[href*="index.html"] span.font-serif {
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

nav a[href*="index.html"]:hover span.font-serif {
  color: #FFF2A8 !important;
  text-shadow: 0 0 10px rgba(229, 193, 88, 0.6);
}

/* NAVBAR SOCIAL ICON (INSTAGRAM & RED NOTE) WITH LOGO COLORS & HOVER LIGHT-UP ANIMATION */
.nav-instagram-link,
.nav-social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(229, 193, 88, 0.4) !important;
  background: rgba(229, 193, 88, 0.06) !important;
  color: #E5C158 !important;
  box-sizing: border-box !important;
  position: relative !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  transform: none !important;
  transform-origin: center center !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease !important;
}

.nav-instagram-link svg,
.nav-social-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  stroke: #E5C158 !important;
  fill: none;
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center center !important;
  transition: stroke 0.3s ease, fill 0.3s ease, filter 0.3s ease, transform 0.3s ease !important;
  filter: drop-shadow(0 0 1px rgba(229, 193, 88, 0.4)) !important;
}

.nav-social-btn.nav-rednote-btn svg {
  fill: #E5C158 !important;
  stroke: none !important;
}

.nav-instagram-link:hover,
.nav-social-btn:hover {
  border-color: #E5C158 !important;
  background: rgba(229, 193, 88, 0.22) !important;
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.7), 0 0 24px rgba(229, 193, 88, 0.4) !important;
  transform: none !important;
}

.nav-instagram-link:hover svg,
.nav-social-btn:hover svg {
  stroke: #FFF5C2 !important;
  filter: drop-shadow(0 0 5px rgba(255, 242, 168, 0.95)) drop-shadow(0 0 10px rgba(229, 193, 88, 0.8)) !important;
  transform: translate(-50%, -50%) scale(1.12) !important;
}

.nav-social-btn.nav-rednote-btn:hover svg {
  fill: #FFF5C2 !important;
  stroke: none !important;
}

/* NAVBAR LANGUAGE SELECTOR (Clicking Languages rolls out the flags tray with intact animations) */
.lang-dropdown-container {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.lang-dropdown-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(229, 193, 88, 0.45) !important;
  background: rgba(18, 18, 18, 0.85) !important;
  color: #E5C158 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  user-select: none !important;
  z-index: 20 !important;
}

.lang-dropdown-btn:hover,
.lang-dropdown-container:hover .lang-dropdown-btn,
.lang-dropdown-container.active .lang-dropdown-btn {
  background: #E5C158 !important;
  color: #000000 !important;
  border-color: #E5C158 !important;
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.5) !important;
  transform: translateY(-1px) !important;
}

.lang-dropdown-btn svg.globe-icon {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.lang-dropdown-btn svg.chevron-icon {
  width: 12px !important;
  height: 12px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  transition: transform 0.25s ease !important;
}

.lang-dropdown-container.active .chevron-icon {
  transform: rotate(180deg) !important;
}

/* Roll-out Dropdown Menu (No clipping, spacious padding, glowing flag animations preserved) */
.lang-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 180px !important;
  background: rgba(14, 14, 14, 0.98) !important;
  border: 1.5px solid rgba(229, 193, 88, 0.45) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(229, 193, 88, 0.2) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  z-index: 99999 !important;
  overflow: visible !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) scale(0.95) !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease !important;
  pointer-events: none !important;
}

.lang-dropdown-container.active .lang-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Dropdown Item */
.lang-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: #e5e5e5 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: visible !important;
}

.lang-dropdown-item:hover {
  background: rgba(229, 193, 88, 0.12) !important;
  color: #E5C158 !important;
  transform: translateX(3px) !important;
}

.lang-dropdown-item.active {
  background: rgba(229, 193, 88, 0.2) !important;
  color: #E5C158 !important;
  border-left: 3px solid #E5C158 !important;
  font-weight: 700 !important;
}

/* Mini flag inside dropdown items & Legacy flag buttons (Exact original dimensions & animations intact) */
.lang-dropdown-item .mini-flag,
.lang-flag-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 20px !important;
  min-width: 28px !important;
  min-height: 20px !important;
  border-radius: 4px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  background: #000000 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transform-origin: center center !important;
  transform: scale(1) translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

.lang-dropdown-item .mini-flag svg,
.lang-flag-btn svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: fill !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

/* Flag animations: Glow, Scale(1.12), Gold border, Brightness boost */
.lang-dropdown-item:hover .mini-flag,
.lang-dropdown-item .mini-flag:hover,
.lang-flag-btn:hover {
  transform: scale(1.12) translateZ(0) !important;
  border-color: #E5C158 !important;
  box-shadow: 0 0 10px rgba(229, 193, 88, 0.8), 0 0 18px rgba(229, 193, 88, 0.4) !important;
  filter: brightness(1.25) !important;
  z-index: 10 !important;
}

.lang-dropdown-item.active .mini-flag,
.lang-flag-btn.active {
  border: 2px solid #E5C158 !important;
  box-shadow: 0 0 8px rgba(229, 193, 88, 0.65), inset 0 0 4px rgba(229, 193, 88, 0.35) !important;
  background: rgba(229, 193, 88, 0.12) !important;
}

/* COOKIE CONSENT BANNER STYLES */
#es-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 32px);
  max-width: 620px;
  background: rgba(18, 18, 18, 0.96);
  border: 1.5px solid #E5C158;
  border-radius: 12px;
  padding: 18px 22px;
  z-index: 9999999;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(229, 193, 88, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #FAF8F5;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

#es-cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.es-cookie-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.es-cookie-title {
  color: #E5C158;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.es-cookie-body {
  font-size: 13px;
  line-height: 1.55;
  color: #d1d1d1;
  margin-bottom: 14px;
}

.es-cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.es-cookie-btn {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.es-cookie-btn-accept {
  background: #E5C158;
  color: #000000 !important;
  border-color: #E5C158;
}

.es-cookie-btn-accept:hover {
  background: #f3d47a;
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.6);
  transform: translateY(-1px);
}

.es-cookie-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: #d1d1d1 !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.es-cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===================================================
   EPHESUS SUITES QUICK NAVIGATION DRAWER COMPONENT
   =================================================== */

/* Floating Trigger Button (Right Edge) */
#es-nav-drawer-toggle {
  position: fixed;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  z-index: 99990;
  background: rgba(14, 14, 14, 0.94);
  border: 1px solid rgba(229, 193, 88, 0.6);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 12px 10px 12px 13px;
  color: #E5C158;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.7), 0 0 12px rgba(229, 193, 88, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

#es-nav-drawer-toggle:hover {
  background: #E5C158;
  color: #000000;
  box-shadow: -6px 8px 25px rgba(229, 193, 88, 0.5);
  transform: translateY(-50%) translateX(-4px);
}

#es-nav-drawer-toggle .drawer-toggle-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

#es-nav-drawer-toggle:hover .drawer-toggle-icon {
  stroke: #000000;
  transform: scale(1.1);
}

#es-nav-drawer-toggle .drawer-toggle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Backdrop Overlay */
#es-nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99995;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#es-nav-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Drawer Panel */
#es-nav-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: rgba(12, 12, 12, 0.98);
  border-left: 1.5px solid rgba(229, 193, 88, 0.55);
  z-index: 99999;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(229, 193, 88, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #FAF8F5;
}

#es-nav-drawer-panel.open {
  transform: translateX(0);
}

/* Drawer Header */
.es-drawer-header {
  padding: 24px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.es-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.es-drawer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(229, 193, 88, 0.4);
}

.es-drawer-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #E5C158 !important;
  line-height: 1.1;
}

.es-drawer-brand-sub {
  font-size: 10px;
  color: #D4AF37;
  letter-spacing: 0.08em;
  font-family: 'Caveat', cursive;
}

.es-drawer-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #aaaaaa;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.es-drawer-close-btn:hover {
  background: #E5C158;
  color: #000000;
  border-color: #E5C158;
}

/* Drawer Navigation Items */
.es-drawer-body {
  padding: 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.es-drawer-title-hint {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888888;
  margin-bottom: 4px;
  font-weight: 600;
}

.es-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 193, 88, 0.2);
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff !important;
  transition: all 0.28s ease;
  cursor: pointer;
}

.es-drawer-link:hover {
  background: rgba(229, 193, 88, 0.12);
  border-color: #E5C158;
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 10px rgba(229, 193, 88, 0.2);
}

.es-drawer-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(229, 193, 88, 0.1);
  border: 1px solid rgba(229, 193, 88, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E5C158;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.es-drawer-link:hover .es-drawer-icon-box {
  background: #E5C158;
  color: #000000;
}

.es-drawer-icon-box svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.es-drawer-link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.es-drawer-link-title {
  font-size: 14px;
  font-weight: 700;
  color: #FAF8F5;
  letter-spacing: 0.02em;
}

.es-drawer-link:hover .es-drawer-link-title {
  color: #E5C158;
}

.es-drawer-link-desc {
  font-size: 11px;
  color: #8f8f8f;
  margin-top: 2px;
}

.es-drawer-link-arrow {
  color: rgba(229, 193, 88, 0.6);
  font-size: 14px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.es-drawer-link:hover .es-drawer-link-arrow {
  transform: translateX(3px);
  color: #E5C158;
}

/* Drawer Footer */
.es-drawer-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #777777;
  text-align: center;
}

/* Mobile Optimizations for Navigation, Drawer, & Sticky Elements */
@media (max-width: 640px) {
  /* Navbar ergonomics on small mobile devices (320px - 640px) */
  nav.h-20 {
    height: 4.25rem !important; /* 68px for balanced mobile proportions */
  }

  nav .max-w-7xl {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  nav a[href*="index.html"] img {
    height: 2.25rem !important; /* 36px */
    width: auto !important;
  }

  nav a[href*="index.html"] span.font-serif {
    font-size: 1rem !important;
    line-height: 1.15 !important;
  }

  nav a[href*="index.html"] span.capitalize,
  nav a[href*="index.html"] span[class*="capitalize"] {
    font-size: 13px !important;
  }

  /* Right edge controls spacing */
  nav .flex.items-center.gap-5,
  nav .flex.items-center.gap-6 {
    gap: 0.5rem !important;
  }

  /* Social Icons (Instagram, Red Note) on Mobile */
  .nav-instagram-link,
  .nav-social-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 6px !important;
  }

  .nav-instagram-link svg,
  .nav-social-btn svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
  }

  /* Language Dropdown Button */
  .lang-dropdown-btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
    gap: 4px !important;
    border-radius: 6px !important;
  }

  .lang-dropdown-menu {
    min-width: 155px !important;
    right: -4px !important;
    padding: 6px 8px !important;
  }

  .lang-dropdown-item {
    padding: 6px 10px !important;
    font-size: 12px !important;
    gap: 8px !important;
  }

  /* Quick Navigation Drawer Button: positioned comfortably on the right edge */
  #es-nav-drawer-toggle {
    top: 55%;
    padding: 8px 6px 8px 8px;
    border-radius: 8px 0 0 8px;
  }
  
  #es-nav-drawer-toggle .drawer-toggle-icon {
    width: 15px;
    height: 15px;
  }
  
  #es-nav-drawer-toggle .drawer-toggle-label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  #es-nav-drawer-panel {
    width: 285px;
    max-width: 86vw;
  }

  /* Sticky Hero Bar padding with safe area support */
  #es-sticky-hero-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .es-sticky-bar-inner {
    padding: 8px 10px;
    gap: 8px;
  }

  .es-sticky-bar-inner a,
  .es-sticky-bar-inner button {
    padding: 6px 12px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  /* Mobile Sticky Call / WhatsApp Bottom Bar safe-area support */
  div.fixed.bottom-0.grid.grid-cols-2 {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* ===================================================
   RESPONSIVE MOBILE IMAGE CENTRALIZATION & PROPORTIONS
   =================================================== */
/* Ensure all content and gallery images remain centered and properly proportioned without disorientation */
img {
  image-rendering: auto;
}

.object-cover {
  object-fit: cover;
  object-position: center center;
}

/* Global mobile image framing and alignment */
@media (max-width: 640px) {
  /* Featured images on room detail pages */
  #featured-image,
  .room-featured-img,
  img[id="featured-image"] {
    height: 280px !important;
    max-height: 55vh !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  /* Room cards on index & rooms pages */
  #odalar .relative.h-64,
  #rooms .relative.h-64,
  .room-card-img-container,
  section[id*="oda"] .relative.h-64 {
    height: 230px !important;
  }

  #odalar .relative.h-64 img,
  #rooms .relative.h-64 img,
  section[id*="oda"] .relative.h-64 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Gallery grid items on mobile */
  #gallery-grid .h-64,
  .gallery-container .h-64,
  #galeri .h-64 {
    height: 175px !important;
  }

  #gallery-grid img,
  .gallery-container img,
  #galeri img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Communal areas & kitchen mobile images */
  section .grid.grid-cols-2 img.h-64,
  section .grid.grid-cols-2 img[class*="h-64"] {
    height: 170px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Breakfast & travel guide mobile images */
  img.h-80,
  img[class*="h-80"] {
    height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Room detail thumbnail previews */
  .grid.grid-cols-4 img.h-20,
  .grid.grid-cols-3 img.h-32,
  .grid.grid-cols-2 img.h-32,
  .grid.grid-cols-2 img.h-36 {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Prevent any image container from causing off-center or disoriented display on mobile */
  .relative.overflow-hidden,
  .rounded-lg.overflow-hidden {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Universal Mobile Lightbox Optimization */
  .lightbox {
    padding: 10px !important;
  }

  .lightbox-content-wrapper {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .lightbox-content {
    max-width: 95vw !important;
    max-height: 80vh !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: grab !important;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
  }

  .lightbox-arrow {
    width: 44px !important;
    height: 44px !important;
    background: rgba(14, 14, 14, 0.78) !important;
    border: 1.5px solid #E5C158 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8) !important;
    z-index: 10000002 !important;
  }

  .lightbox-arrow svg {
    width: 22px !important;
    height: 22px !important;
  }

  .lightbox-arrow-left {
    left: 8px !important;
  }

  .lightbox-arrow-right {
    right: 8px !important;
  }

  .close-lightbox {
    top: 14px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 32px !important;
    background: rgba(14, 14, 14, 0.78) !important;
    z-index: 10000003 !important;
  }

  #lightbox-caption {
    font-size: 14px !important;
    margin-top: 8px !important;
    padding: 4px 8px !important;
    max-width: 90vw !important;
    white-space: normal !important;
  }

  /* Reset & Zoom indicator badge on mobile */
  .lightbox-zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(229, 193, 88, 0.4);
    color: #FAF8F5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10000001;
  }

  .lightbox-zoom-hint.visible {
    opacity: 1;
  }
}








