:root {
  --primary: #f59e0b;
  --primary-light: #fff7ed;
  --accent: #f59e0b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --shadow-premium: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

.light {
  font-weight: 300;
}
.regular {
  font-weight: 400;
}
.medium {
  font-weight: 500;
}
.bold {
  font-weight: 700;
}
.black {
  font-weight: 900;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-premium);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

@keyframes fadeInSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInSlideUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.btn-modern {
  padding: 14px 32px;
  border-radius: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(310deg, var(--primary) 0%, #fbbf24 100%);
  color: white;
  box-shadow:
    0 4px 7px -1px rgba(0, 0, 0, 0.11),
    0 2px 4px -1px rgba(0, 0, 0, 0.07);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
  opacity: 0.9;
}

.price-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-item img {
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

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

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 3px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.scrollbar-hide::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide,
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Menu Typography Polish */
#mobile-menu-content nav a {
  position: relative;
  overflow: hidden;
}

#mobile-menu-content nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

#mobile-menu-content nav a:hover::after {
  width: 100%;
}

/* Floating Contact Group */
.floating-contact-group {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.float-contact-item.hidden-item {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.3);
  height: 0;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-contact-group.active .float-contact-item.hidden-item {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  height: 45px;
  margin-bottom: 8px;
}

/* Staggered animation delay */
.floating-contact-group.active .hidden-item:nth-child(1) { transition-delay: 0.05s; }
.floating-contact-group.active .hidden-item:nth-child(2) { transition-delay: 0.1s; }
.floating-contact-group.active .hidden-item:nth-child(3) { transition-delay: 0.15s; }
.floating-contact-group.active .hidden-item:nth-child(4) { transition-delay: 0.2s; }
.floating-contact-group.active .hidden-item:nth-child(5) { transition-delay: 0.25s; }

.float-icon-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 20px;
  color: white;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-contact-group.active #float-toggle-btn .float-icon-wrapper {
  transform: rotate(135deg);
  background: #64748b !important;
}

.float-contact-item:hover .float-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.float-label {
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  font-size: 10px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #1e293b;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.float-contact-item:hover .float-label,
.floating-contact-group.active .float-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Brand Colors */
.bg-facebook { background: #1877F2; }
.bg-zalo { background: #0068FF; }
.bg-messenger { background: #00B2FF; }
.bg-phone { background: #10B981; }
.bg-map { background: #EF4444; }
.bg-booking { background: var(--primary); }
.bg-toggle { background: #94a3b8; }

@media (max-width: 768px) {
  .floating-contact-group {
    right: 15px;
    bottom: 25px;
    gap: 10px;
  }
  .floating-contact-group.active .float-contact-item.hidden-item {
    height: 40px;
    margin-bottom: 6px;
  }
  .float-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .float-label {
    right: 50px;
    font-size: 9px;
    padding: 3px 10px;
  }
}
