/* Oceanis Hotel - Custom Styles */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e3a5f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Animations */
@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fade-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
}

.animate-slide-in {
  animation: slide-in 0.4s ease-out;
}
.animate-fade-up {
  animation: fade-up 0.8s ease-out;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-pulse-gold {
  animation: pulse-gold 2s ease-in-out infinite;
}

/* Hero parallax */
.hero-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Glass morphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.glass-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Room card hover */
.room-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.room-card .room-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.room-card:hover .room-image {
  transform: scale(1.08);
}

/* Gold line decoration */
.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #c9a84c, #ecc96a, #c9a84c);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #c9a84c, #ecc96a, #e5b43e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider */
.section-divider {
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  height: 1px;
}

/* Image overlay */
.img-overlay {
  position: relative;
  overflow: hidden;
}
.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  pointer-events: none;
}

/* Gallery grid */
.gallery-item {
  transition: all 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
  z-index: 10;
}

/* Admin table */
.admin-table tr {
  transition: background-color 0.2s;
}
.admin-table tbody tr:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-completed { background: #dbeafe; color: #1e40af; }
.badge-paid { background: #d1fae5; color: #065f46; }
.badge-refunded { background: #fce7f3; color: #9d174d; }

/* Price tag */
.price-tag {
  font-variant-numeric: tabular-nums;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Star rating */
.star-rating {
  color: #ecc96a;
}

/* Amenity pill */
.amenity-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #f0f7ff;
  color: #0159a3;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
