/* ========================================
   MODERN CLIENT UI STYLES
   Smooth animations and modern design
   ======================================== */

/* Root Variables */
:root {
  --primary-color: #c19b76;
  --primary-dark: #a67c52;
  --secondary-color: #2c3e50;
  --accent-color: #FFA500;
  --success-color: #28a745;
  --text-dark: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --card-border: #c19b76;
  --shadow-sm: 0 2px 8px rgba(193, 155, 118, 0.15);
  --shadow-md: 0 4px 16px rgba(193, 155, 118, 0.25);
  --shadow-lg: 0 8px 32px rgba(193, 155, 118, 0.35);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

/* Global Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }
.stagger-5 { animation-delay: 0.5s; opacity: 0; }
.stagger-6 { animation-delay: 0.6s; opacity: 0; }

/* Modern Room Card */
.modern-room-card {
  background: transparent;
  border: 2px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modern-room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-dark);
  background: rgba(193, 155, 118, 0.05);
}

.modern-room-card .image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.modern-room-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.modern-room-card:hover .image-wrapper img {
  transform: scale(1.1);
}

.modern-room-card .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modern-room-card:hover .image-overlay {
  opacity: 1;
}

.modern-room-card .special-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
  z-index: 2;
}

.modern-room-card .card-content {
  padding: 24px;
}

.modern-room-card .room-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.modern-room-card:hover .room-title {
  color: var(--primary-color);
}

.modern-room-card .room-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.modern-room-card .price-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modern-room-card .original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modern-room-card .current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.modern-room-card .price-label {
  color: var(--text-light);
  font-size: 0.85rem;
}

.modern-room-card .facilities {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.modern-room-card .facility-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.modern-room-card:hover .facility-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(360deg);
}

.modern-room-card .view-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}



/* Modern Button Styles */
.modern-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-btn:hover::before {
  width: 300px;
  height: 300px;
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.modern-btn:active {
  transform: translateY(-1px);
}

/* Modern Form Styles */
.modern-form-group {
  margin-bottom: 24px;
  position: relative;
}

.modern-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.modern-form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.modern-form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(193, 155, 118, 0.1);
}

.modern-form-control::placeholder {
  color: var(--text-muted);
}

/* Modern Badge */
.modern-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-badge-primary {
  background: var(--primary-color);
  color: var(--white);
}

.modern-badge-success {
  background: var(--success-color);
  color: var(--white);
}

.modern-badge-warning {
  background: var(--accent-color);
  color: var(--white);
}

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

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 12px;
  width: 60%;
}

.skeleton-image {
  height: 250px;
  width: 100%;
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.hover-scale {
  transition: transform var(--transition-normal);
}

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

/* Glass Morphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Container */
.modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Spacing Utilities */
.mt-60 { margin-top: 60px; }
.mb-60 { margin-bottom: 60px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }

/* Responsive */
@media (max-width: 768px) {
  .modern-section-title h2 {
    font-size: 2rem;
  }

  .modern-room-card .image-wrapper {
    height: 200px;
  }

  .modern-room-card .card-content {
    padding: 16px;
  }
}
.modern-room-card .view-btn::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;
}

.modern-room-card .view-btn:hover::before {
  left: 100%;
}

.modern-room-card .view-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modern Section Title */
.modern-section-title {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 0.6s ease;
}

.modern-section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.modern-section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.modern-section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 20px auto 0;
}

