/* Custom CSS for Luxury Resort */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Base Styles */
:root {
  --color-gold: #D4AF37;
  --color-gold-light: #F4E8C1;
  --color-dark: #1A1A1A;
  --color-light: #FAFAFA;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-light);
  color: var(--color-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Gradients */
.gradient-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
}

.gradient-overlay-light {
  background: linear-gradient(to top, rgba(250,250,250,1) 0%, rgba(250,250,250,0) 100%);
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.hover-zoom-img {
  transition: transform 0.7s ease;
}

.group:hover .hover-zoom-img {
  transform: scale(1.05);
}

/* Gold Accents */
.text-gold {
  color: var(--color-gold);
}

.bg-gold {
  background-color: var(--color-gold);
}

.border-gold {
  border-color: var(--color-gold);
}

/* Icon Visibility Improvements for White Backgrounds */
.icon-dark-bg {
  color: #374151;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.icon-gold-bg {
  color: var(--color-gold);
  filter: drop-shadow(0 1px 2px rgba(212, 175, 55, 0.3));
}

/* Enhanced icon styling for better visibility */
.icon-enhanced {
  color: #1F2937;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.icon-white-enhanced {
  color: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

/* Premium amenity icon containers */
.icon-container-gold {
  background: linear-gradient(135deg, var(--color-gold), #B8941F);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.icon-container-blue {
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icon-container-orange {
  background: linear-gradient(135deg, #F97316, #C2410C);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.icon-container-purple {
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.icon-container-green {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.icon-container-indigo {
  background: linear-gradient(135deg, #6366F1, #4338CA);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Ensure proper icon sizing on all backgrounds */
.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 2.5rem;
  height: 2.5rem;
}

/* Icon background circles for better contrast */
.icon-circle-light {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-circle-dark {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn-gold {
  background-color: var(--color-gold);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background-color: #c5a028;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold); 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c5a028; 
}

/* Hide scrollbar for gallery container but allow scroll */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-light);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.loader-circle {
  width: 50px;
  height: 50px;
  border: 2px solid var(--color-gold-light);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Premium Amenities Animations */
@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Animation Classes */
.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.fade-up {
  opacity: 0;
  animation: fade-up 0.8s ease-out forwards;
}

/* Enhanced hover effects for premium amenities */
.premium-amenity-card {
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-amenity-card:hover {
  transform: translateY(-12px) scale(1.02);
}

/* Icon gradient animations */
.icon-gradient-gold {
  background: linear-gradient(135deg, var(--color-gold), #F4E8C1);
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particle animation effects */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-float 4s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }
  10% {
    transform: translateY(-10px) scale(1);
    opacity: 1;
  }
  90% {
    transform: translateY(-40px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-60px) scale(0);
    opacity: 0;
  }
}

/* Enhanced shadow effects */
.shadow-glow {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.shadow-glow-hover:hover {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
