/* Industrial Chic Luxury Hotel - CSS */

/* Custom Properties */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --dark-primary: #1a252f;
  --light-primary: #34495e;
  --accent-gold: #f39c12;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --steel-gray: #95a5a6;
  --concrete-gray: #bdc3c7;
  --shadow-dark: rgba(44, 62, 80, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
  --industrial-font: 'Roboto', 'Arial', sans-serif;
  --luxury-font: 'Playfair Display', 'Georgia', serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

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

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

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

/* Bootstrap 5 Overrides */
.btn {
  font-family: var(--industrial-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 12px 30px;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 15px var(--shadow-dark);
}

.btn-primary:hover {
  background: var(--dark-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-dark);
  color: var(--text-light);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
  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);
}

/* Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.95) !important;
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px var(--shadow-dark);
}

.navbar-brand {
  font-family: var(--luxury-font);
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--text-light) !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-gold) !important;
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.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%28236, 240, 241, 1%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(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23666" width="1200" height="800"/><text x="50%" y="50%" font-size="40" fill="%23999" text-anchor="middle" dy=".3em">Luxury Hotel Interior</text></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(44, 62, 80, 0.05) 2px,
    rgba(44, 62, 80, 0.05) 4px
  );
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .lead {
  color: var(--concrete-gray);
  margin-bottom: 2rem;
  font-size: 1.3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

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

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

.card-header {
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  padding: 1.5rem;
  font-family: var(--luxury-font);
  font-size: 1.3rem;
  font-weight: 600;
}

.card-body {
  padding: 2rem;
}

.card-img-top {
  transition: all 0.3s ease;
  height: 250px;
  object-fit: cover;
}

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

/* Forms */
.form-control {
  border: 2px solid var(--concrete-gray);
  border-radius: 0;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
  background: white;
}

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

.invalid-feedback {
  display: block;
  color: var(--secondary-color);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

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

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

/* Industrial Elements */
.industrial-border {
  border-left: 4px solid var(--secondary-color);
  padding-left: 2rem;
  margin: 2rem 0;
}

.steel-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--steel-gray) 50%, var(--primary-color) 100%);
  margin: 3rem 0;
  opacity: 0.7;
}

.luxury-accent {
  color: var(--accent-gold);
  font-weight: 600;
}

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

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

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

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

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

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-secondary {
  background: var(--gradient-secondary) !important;
}

.shadow-custom {
  box-shadow: 0 10px 30px var(--shadow-dark) !important;
}

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

footer h5 {
  color: var(--accent-gold);
  font-family: var(--luxury-font);
  margin-bottom: 1.5rem;
}

footer a {
  color: var(--concrete-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--primary-color);
  color: var(--text-light);
  margin-right: 10px;
  transition: all 0.3s ease;
}

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

/* Responsive Design - Mobile First */
@media (max-width: 575.98px) {
  .hero {
    height: 80vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .card {
    margin-bottom: 20px;
  }
  
  .industrial-border {
    border-left: 2px solid var(--secondary-color);
    padding-left: 1rem;
    margin: 1rem 0;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hero {
    height: 85vh;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (min-width: 768px) {
  .btn {
    display: inline-block;
    width: auto;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--concrete-gray);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: var(--gradient-secondary);
  width: 0;
  transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px var(--shadow-dark);
}

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

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .scroll-indicator {
    display: none !important;
  }
  
  .hero {
    height: auto;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem;
  }
  
  .section {
    padding: 1rem 0;
  }
}