/* Futuristic Luxury Hotel - CSS Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --accent-color: #3498DB;
  --dark-bg: #1a252f;
  --light-bg: #ecf0f1;
  --text-light: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #7f8c8d;
  --gradient-primary: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
  --gradient-secondary: linear-gradient(135deg, #E74C3C 0%, #c0392b 100%);
  --gradient-accent: linear-gradient(135deg, #3498DB 0%, #2980b9 100%);
  --shadow-subtle: 0 2px 10px rgba(44, 62, 80, 0.1);
  --shadow-medium: 0 5px 20px rgba(44, 62, 80, 0.2);
  --shadow-strong: 0 10px 30px rgba(44, 62, 80, 0.3);
  --border-radius: 8px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

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

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

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

a {
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Bootstrap 5 Overrides */
.btn {
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  color: var(--text-light);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-light);
  box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  color: var(--text-light);
}

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

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

/* Card Overrides */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-medium);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

.card-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  font-weight: 600;
}

/* Form Overrides */
.form-control {
  border: 2px solid rgba(44, 62, 80, 0.1);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
  background: rgba(255, 255, 255, 1);
}

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

/* Navigation */
.navbar {
  background: rgba(44, 62, 80, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-medium);
  transition: var(--transition-medium);
}

.navbar-brand {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-light);
}

.navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
  background: rgba(231, 76, 60, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--secondary-color);
  background: rgba(231, 76, 60, 0.2);
}

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

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(26, 37, 47, 0.8));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10px, 10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Floating Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Glowing Effect */
.glow {
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 20px rgba(231, 76, 60, 0.5); }
  to { box-shadow: 0 0 30px rgba(231, 76, 60, 0.8); }
}

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

.section-dark {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.section-light {
  background: var(--light-bg);
  color: var(--text-dark);
}

.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: var(--gradient-secondary);
  border-radius: 2px;
}

/* Room Cards */
.room-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
}

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

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

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

.room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 62, 80, 0.8), rgba(231, 76, 60, 0.6));
  opacity: 0;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.room-price {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-secondary);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Service Icons */
.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
  transition: var(--transition-medium);
}

.service-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-strong);
}

/* Testimonials */
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--secondary-color);
}

.testimonial-stars {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

.form-floating .form-control {
  background: rgba(255, 255, 255, 0.9);
}

.form-floating .form-control:focus {
  background: rgba(255, 255, 255, 1);
}

/* Footer */
.footer {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: var(--transition-medium);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

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

.pulse {
  animation: pulse 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .room-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: var(--transition-slow);
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition-medium);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

/* Error States */
.form-control.is-invalid {
  border-color: var(--secondary-color);
}

.form-control.is-valid {
  border-color: #28a745;
}

.invalid-feedback {
  color: var(--secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: #28a745;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}