/* Modern Luxury Hotel Website CSS */

/* CSS Custom Properties */
:root {
  --primary-color: #FF4500;
  --secondary-color: #1A1A2E;
  --accent-light: #FF6B35;
  --accent-dark: #0F0F1A;
  --text-light: #F8F9FA;
  --text-dark: #2C2C54;
  --text-muted: #6C757D;
  --gold-accent: #D4AF37;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(26, 26, 46, 0.1);
  --box-shadow-hover: 0 20px 40px rgba(26, 26, 46, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Bootstrap 5 Overrides */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 12px 30px;
  transition: all var(--transition-speed) ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-dark {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-dark) 100%);
  color: white;
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  color: white;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background: rgba(255, 69, 0, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(255, 69, 0, 0.1);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(255, 69, 0, 0.3) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect fill="%23f8f9fa" width="1000" height="1000"/><g opacity="0.1"><circle fill="%23FF4500" cx="200" cy="200" r="100"/><circle fill="%231A1A2E" cx="800" cy="800" r="150"/></g></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--secondary-color) 0%, transparent 50%, var(--primary-color) 100%);
  opacity: 0.1;
  animation: gradientShift 10s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% { transform: translateX(-100px) translateY(-50px); }
  100% { transform: translateX(100px) translateY(50px); }
}

.hero-content {
  color: white;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease 0.9s both;
  margin: 0 0.5rem;
}

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

/* Card Styles */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
}

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

.card-img-top {
  transition: transform var(--transition-speed) ease;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Features Section */
.features {
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: all var(--transition-speed) ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Rooms Section */
.room-card {
  position: relative;
  overflow: hidden;
}

.room-price {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  z-index: 2;
}

.room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 50%, rgba(26, 26, 46, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

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

/* Forms */
.form-control {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 69, 0, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-dark) 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer a:hover {
  color: var(--primary-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

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

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

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

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    margin: 0.25rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    width: 100%;
    margin: 0.25rem 0;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero {
    background-attachment: scroll;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .navbar, .hero, .footer {
    display: none;
  }
  
  body {
    color: black;
    background: white;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}