/* Industrial Luxury Hotel Theme - Complete CSS */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --accent-color: #F39C12;
  --dark-gray: #34495E;
  --light-gray: #BDC3C7;
  --text-dark: #2C3E50;
  --text-light: #FFFFFF;
  --text-muted: #7F8C8D;
  --bg-light: #F8F9FA;
  --bg-dark: #1A252F;
  --shadow-light: 0 2px 10px rgba(44, 62, 80, 0.1);
  --shadow-dark: 0 8px 30px rgba(44, 62, 80, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
}

/* === RESET & BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.2rem); }

p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}

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

/* === BOOTSTRAP OVERRIDES === */
.btn {
  font-family: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 0;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-gray), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

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

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

.btn-outline-light {
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

/* === NAVIGATION === */
.navbar {
  background: rgba(44, 62, 80, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 1rem 0;
}

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

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light) !important;
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.8rem 1.2rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
}

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

.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
}

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

.hamburger {
  display: block;
  position: relative;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--text-light);
  transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.navbar-toggler.active .hamburger {
  background: transparent;
}

.navbar-toggler.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.5)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23BDC3C7" width="1000" height="600"/><text x="50%" y="50%" font-size="48" text-anchor="middle" fill="%232C3E50">Industrial Luxury Hotel</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(255,255,255,0.03) 2px,
    rgba(255,255,255,0.03) 4px
  );
}

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

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

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}

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

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

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

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

/* === CARDS === */
.card {
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

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

.card-img-top {
  transition: var(--transition);
}

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

.card-body {
  padding: 2rem;
}

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

/* === FORMS === */
.form-control {
  border: none;
  border-bottom: 2px solid var(--light-gray);
  border-radius: 0;
  padding: 15px 0;
  background: transparent;
  transition: var(--transition);
  font-size: 1.1rem;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 2px 0 var(--secondary-color);
  background: transparent;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.error-message {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
}

.form-control.error {
  border-color: var(--secondary-color);
}

.form-control.success {
  border-color: #27AE60;
}

/* === AMENITIES SECTION === */
.amenity-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--text-light);
  font-size: 2rem;
  transition: var(--transition);
}

.amenity-item:hover .amenity-icon {
  transform: scale(1.1) rotate(360deg);
}

.amenity-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition);
}

.amenity-item:hover {
  transform: translateY(-10px);
}

/* === GALLERY === */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 30px;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay i {
  color: var(--text-light);
  font-size: 3rem;
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.footer a {
  color: var(--light-gray);
  transition: var(--transition);
}

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

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

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-gray);
  text-align: center;
  color: var(--text-muted);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === LOADING ANIMATION === */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

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

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    background-attachment: scroll;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.95);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 0 1rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .amenity-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* === UTILITY CLASSES === */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.industrial-border {
  border: 3px solid var(--primary-color);
  position: relative;
}

.industrial-border::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid var(--light-gray);
  z-index: -1;
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

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

.scroll-to-top.show {
  display: flex;
  animation: fadeInUp 0.3s ease-out;
}