/* Modern Luxury Hotel CSS */

/* CSS Custom Properties */
:root {
  --primary-color: #2C2C2C;
  --secondary-color: #D4AF37;
  --text-light: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-muted: #6C757D;
  --background-light: #F8F9FA;
  --background-dark: #1A1A1A;
  --accent-color: #B8860B;
  --success-color: #28A745;
  --error-color: #DC3545;
  --border-color: #E5E5E5;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  background-color: var(--text-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* Bootstrap 5 Overrides */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--text-light);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--text-light);
}

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

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

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Forms */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

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

/* Navigation */
.navbar {
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  padding: 1rem 0;
  box-shadow: var(--shadow-light);
}

.navbar.scrolled {
  background: var(--primary-color);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  transition: var(--transition-smooth);
}

.navbar-brand:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--secondary-color);
  transition: var(--transition-smooth);
}

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

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(44, 44, 44, 0.4), rgba(44, 44, 44, 0.4));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  z-index: 2;
}

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

.hero-subtitle {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-light {
  background: var(--background-light);
}

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

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Room Cards */
.room-card {
  height: 100%;
  transition: var(--transition-smooth);
}

.room-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.room-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.room-features {
  list-style: none;
  padding: 0;
}

.room-features li {
  padding: 0.25rem 0;
  color: var(--text-muted);
}

.room-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Amenities Grid */
.amenity-item {
  text-align: center;
  padding: 2rem;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius-lg);
}

.amenity-item:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-5px);
}

.amenity-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
}

/* Testimonials */
.testimonial-card {
  background: var(--text-light);
  border-left: 4px solid var(--secondary-color);
  padding: 2rem;
  margin: 1rem 0;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--secondary-color);
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.3;
}

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

/* Footer */
.footer {
  background: var(--background-dark);
  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.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: var(--transition-smooth);
}

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

/* Contact Form */
.contact-form {
  background: var(--text-light);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

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

.form-error {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success {
  color: var(--success-color);
  background: rgba(40, 167, 69, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--success-color);
  display: none;
}

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

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

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

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-color);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .amenity-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .room-card .card-img-top {
    height: 200px;
  }
}

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

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

.border-gold {
  border-color: var(--secondary-color);
}

.shadow-luxury {
  box-shadow: var(--shadow-heavy);
}

.rounded-luxury {
  border-radius: var(--border-radius-lg);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

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

.scroll-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}