/* Hotel Bold Contemporary Theme CSS */

/* CSS Custom Properties */
:root {
  --primary-color: #1a1a2e;
  --secondary-color: #e94560;
  --accent-color: #f5f5f5;
  --text-dark: #2c2c2c;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  --shadow-light: 0 2px 10px rgba(26, 26, 46, 0.1);
  --shadow-medium: 0 5px 25px rgba(26, 26, 46, 0.15);
  --shadow-heavy: 0 10px 40px rgba(26, 26, 46, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #2a2a4e);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ff4d6d);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

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

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

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

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

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  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(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

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

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

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

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

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--text-light);
  background: var(--secondary-color);
}

.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.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(233, 69, 96, 0.3)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0f0f0" width="1200" height="800"/><text x="50%" y="50%" text-anchor="middle" dy=".3em" font-size="48" fill="%23999">Hero Image Placeholder</text></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  animation: fadeInUp 1s ease-out;
}

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

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

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-base);
  overflow: hidden;
  background: #ffffff;
}

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

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

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-muted);
  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-base);
  background: #ffffff;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.25);
  outline: none;
}

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

.form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  background: #ffffff;
}

.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.25);
}

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

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

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

.footer h5 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

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

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

/* 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 {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility Classes */
.bg-primary-gradient {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.bg-secondary-gradient {
  background: var(--gradient-secondary);
  color: var(--text-light);
}

.text-primary-custom {
  color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

.border-primary-custom {
  border-color: var(--primary-color);
}

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

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-collapse {
    background: var(--primary-color);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.5);
  }
}

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