/* Modern Luxury Hotel CSS */

/* Bootstrap 5 Overrides */
:root {
  --bs-primary: #1a1a2e;
  --bs-secondary: #e94560;
  --bs-dark: #0f0f1a;
  --bs-light: #f8f9fa;
  --bs-body-bg: #ffffff;
  --bs-body-color: #333333;
  --luxury-gold: #d4af37;
  --luxury-silver: #c0c0c0;
  --text-light: #666666;
  --shadow-light: rgba(26, 26, 46, 0.1);
  --shadow-medium: rgba(26, 26, 46, 0.2);
  --shadow-heavy: rgba(26, 26, 46, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--bs-primary);
  margin-bottom: 1rem;
}

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 {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  border-radius: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.875rem 2rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #252545 100%);
  color: white;
  box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #252545 0%, var(--bs-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, #ff5577 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ff5577 0%, var(--bs-secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  color: white;
}

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

.btn-outline-primary:hover {
  background: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Navigation */
.navbar {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px var(--shadow-light);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(26, 26, 46, 0.98) !important;
  box-shadow: 0 2px 30px var(--shadow-medium);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--luxury-gold) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--luxury-gold);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
  left: 0;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(233, 69, 96, 0.3) 100%), url('hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-secondary) 0%, var(--luxury-gold) 100%);
}

/* Cards */
.card {
  border: none;
  border-radius: 0;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
  background: white;
}

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

.card-img-top {
  transition: all 0.3s ease;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Room Cards */
.room-card {
  position: relative;
  margin-bottom: 2rem;
}

.room-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bs-secondary);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 600;
  z-index: 3;
}

/* Forms */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 0;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.form-label {
  font-weight: 600;
  color: var(--bs-primary);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Booking Form */
.booking-form {
  background: white;
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 10px 30px var(--shadow-light);
  margin-top: -5rem;
  position: relative;
  z-index: 10;
}

/* Testimonials */
.testimonial {
  background: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px var(--shadow-light);
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--luxury-gold);
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: serif;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--bs-primary);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0f0f1a 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--luxury-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.text-luxury-gold {
  color: var(--luxury-gold);
}

.bg-luxury-gold {
  background-color: var(--luxury-gold);
}

.overlay {
  position: relative;
}

.overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.6);
  pointer-events: none;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(26, 26, 46, 0.1);
  border-left: 4px solid var(--bs-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0f0f1a 100%);
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 2rem;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu .nav-link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .booking-form {
    margin-top: 2rem;
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .booking-form {
    padding: 1rem;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
  
  .card-body {
    padding: 1rem;
  }
}