/* Industrial Chic Luxury Hotel CSS */

/* CSS Variables */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --accent-gold: #F39C12;
  --dark-charcoal: #1A252F;
  --light-gray: #ECF0F1;
  --medium-gray: #95A5A6;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-light: rgba(44, 62, 80, 0.1);
  --shadow-medium: rgba(44, 62, 80, 0.2);
  --shadow-heavy: rgba(44, 62, 80, 0.3);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --border-radius: 8px;
  --container-padding: 2rem;
}

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

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

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

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

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

p {
  margin-bottom: 1rem;
  color: var(--primary-color);
  opacity: 0.9;
}

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

a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

/* Bootstrap Overrides */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 992px) {
  .container-fluid {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-charcoal) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-heavy);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #C0392B 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #C0392B 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  color: var(--white);
}

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

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

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

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

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

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

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

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

/* Mobile Menu */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

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

.mobile-menu-icon {
  width: 25px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: var(--transition-fast);
  cursor: pointer;
}

.mobile-menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition-fast);
}

.mobile-menu-icon span:nth-child(1) {
  top: 0px;
}

.mobile-menu-icon span:nth-child(2) {
  top: 8px;
}

.mobile-menu-icon span:nth-child(3) {
  top: 16px;
}

.mobile-menu-icon.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.mobile-menu-icon.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-menu-icon.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

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

.hero-video,
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

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

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--light-gray);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.section-alt {
  background: linear-gradient(135deg, var(--light-gray) 0%, #D5DBDB 100%);
}

.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: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-gold) 100%);
  border-radius: 2px;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: var(--transition-medium);
  overflow: hidden;
  background: var(--white);
}

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

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--primary-color);
  opacity: 0.8;
  line-height: 1.6;
}

/* Forms */
.form-control {
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--white);
  color: var(--primary-color);
}

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

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

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

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

.invalid-feedback {
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 500;
}

.valid-feedback {
  color: #28a745;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Booking Form */
.booking-form {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px var(--shadow-medium);
  padding: 2rem;
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.booking-form .row {
  margin-bottom: 1rem;
}

/* Image Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-bottom: 1rem;
}

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

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

.gallery-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.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

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

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-charcoal) 0%, var(--primary-color) 100%);
  color: var(--light-gray);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer p,
.footer li {
  color: var(--light-gray);
  opacity: 0.9;
}

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

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

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 0 0.5rem;
  transition: var(--transition-fast);
}

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

/* 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);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
}

.animate-on-scroll.fade-up.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.slide-left.animate {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-on-scroll.slide-right.animate {
  animation: slideInRight 0.6s ease forwards;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .booking-form {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .booking-form {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .footer {
    display: none;
  }
  
  body {
    color: var(--black);
  }
  
  .hero-section {
    min-height: auto;
    background: none;
  }
}