/* Asian Essence Spa - Common Styles */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* Custom Font */
@font-face {
  font-family: 'NewYork';
  src: url('https://static-global.mase.cloud/webo/flyImages/ase_NewYork.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-newyork {
  font-family: 'NewYork', serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* All serif fonts use NewYork with default weight */
.font-serif {
  font-family: 'NewYork', serif !important;
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Glass effect for hero sections */
.glass-section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Fixed background with video */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-bg .bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-bg video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: filter 0.5s ease;
}

.video-bg.blurred video {
  filter: blur(15px);
  transform: scale(1.1);
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(41, 43, 41, 0.3);
  transition: background 0.5s ease;
}

.video-bg.blurred .video-overlay {
  background: rgba(41, 43, 41, 0.6);
}

/* Sand background section */
.sand-section {
  background: rgb(232 228 222);
}

/* Card styles */
.location-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.location-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.location-card:hover::before {
  opacity: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.service-card img {
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Feature card */
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Service item */
.service-item {
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item img {
  transition: transform 0.5s ease;
}

.service-item:hover img {
  transform: scale(1.1);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-logo {
  animation: fadeInUp 1s ease 0.2s forwards, float 3s ease-in-out 1.2s infinite;
  opacity: 0;
}

.hero-text {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-title {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-divider {
  animation: fadeInUp 1s ease 0.8s forwards;
  opacity: 0;
}

.hero-tagline {
  animation: fadeInUp 1s ease 1s forwards;
  opacity: 0;
}

.hero-btn {
  animation: fadeInUp 1s ease 1.2s forwards;
  opacity: 0;
}

/* Button hover effect */
.btn-animate {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-animate:hover::before {
  left: 100%;
}

.btn-animate:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(221, 202, 157, 0.4);
}

/* Parallax effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect */
.glow {
  transition: text-shadow 0.3s ease;
}

.glow:hover {
  text-shadow: 0 0 20px rgba(221, 202, 157, 0.8);
}

/* Carousel dots */
.carousel-dot {
  transition: background-color 0.3s ease;
}

/* Mobile Navigation - Full Screen Dark */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(41, 43, 41, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button */
.mobile-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.mobile-close-btn:hover {
  color: rgba(255, 255, 255, 1);
}

.mobile-close-btn svg {
  width: 24px;
  height: 24px;
}

/* Menu inner container */
.mobile-menu-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
}

/* Location selector */
.mobile-locations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.mobile-menu-overlay.active .mobile-locations {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile logo above locations */
.mobile-menu-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.mobile-menu-logo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.3);
}

.mobile-menu-logo-text {
  font-family: 'NewYork', serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
}

.mobile-loc-btns {
  display: flex;
  gap: 0.75rem;
}

.mobile-loc-btn {
  padding: 0.65rem 1.75rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 100px;
  font-family: 'NewYork', serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-loc-btn:hover,
.mobile-loc-btn.current {
  border-color: #C9A96E;
  color: #C9A96E;
  background: rgba(201, 169, 110, 0.1);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}

/* Main nav */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 400px;
}

.mobile-menu-link {
  font-family: 'NewYork', serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.mobile-menu-overlay.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) { transition-delay: 0.45s; }

.mobile-menu-link:hover {
  color: rgba(255, 255, 255, 1);
}

/* Expandable SERVICE */
.mobile-menu-expandable {
  width: 100%;
  text-align: center;
}

.mobile-menu-expand-btn {
  font-family: 'NewYork', serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.mobile-menu-overlay.active .mobile-menu-expand-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.mobile-menu-expand-btn:hover {
  color: rgba(255, 255, 255, 1);
}

.mobile-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.mobile-menu-expand-btn.open .mobile-chevron {
  transform: rotate(180deg);
}

/* Submenu */
.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-submenu.open {
  max-height: 600px;
}

.mobile-submenu a {
  display: block;
  font-family: 'NewYork', serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: rgba(201, 169, 110, 0.8);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-submenu a:hover {
  color: #C9A96E;
}

/* Hamburger button */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;
}

.hamburger-btn:active {
  transform: scale(0.9);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(2) {
  width: 16px;
  opacity: 0.7;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F9F7F4;
}

::-webkit-scrollbar-thumb {
  background: #7F5F4D;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #292b29;
}