/* Industrial Luxury Hotel Theme - Custom CSS */

/* ===== CSS Variables & Root Styles ===== */
:root {
  --primary-color: #D2691E;
  --primary-dark: #B8571A;
  --primary-light: #E07B2E;
  --secondary-color: #2F4F4F;
  --secondary-dark: #1F3535;
  --secondary-light: #3F5F5F;
  --accent-color: #FF6B35;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, serif;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== Bootstrap 5 Overrides ===== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
}

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

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

.navbar-brand {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.75rem;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

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

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

/* ===== Header & Navigation ===== */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition-base);
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

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

.navbar-nav .nav-link {
  color: var(--gray-700);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color);
  background-color: rgba(210, 105, 30, 0.1);
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(210, 105, 30, 0.15);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

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

/* Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--white);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.75rem 1rem;
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.8), rgba(210, 105, 30, 0.7)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="industrial" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="%23f8f9fa"/><circle cx="10" cy="10" r="1" fill="%23dee2e6"/></pattern></defs><rect width="100" height="100" fill="url(%23industrial)"/></svg>');
  background-size: cover, 40px 40px;
  background-position: center center, 0 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(210, 105, 30, 0.1) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

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

.hero h1 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .lead {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin: 0.5rem;
  animation: fadeInUp 1s ease-out 0.9s both;
}

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

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

.section-alt {
  background-color: var(--gray-100);
}

.section-dark {
  background-color: var(--secondary-color);
  color: var(--white);
}

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

.section-title h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-dark .section-title h2 {
  color: var(--white);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* ===== Cards ===== */
.card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  overflow: hidden;
}

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

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

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

.card-body {
  padding: 2rem;
}

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

/* ===== Booking Form ===== */
.booking-form {
  background: linear-gradient(135deg, var(--white), var(--gray-100));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.booking-form .form-control,
.booking-form .form-select {
  border: 2px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.15);
}

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

/* ===== Gallery ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

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

.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(47, 79, 79, 0.8), rgba(210, 105, 30, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

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

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

/* ===== Testimonials ===== */
.testimonial {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin: 1rem;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-secondary);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
}

/* ===== Contact Form ===== */
.contact-form {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-info h4 {
  margin-bottom: 1.5rem;
}

.contact-info .list-unstyled li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 1rem;
  width: 20px;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, var(--secondary-dark), var(--dark-color));
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

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

.footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-base);
}

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

.footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-600);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(210, 105, 30, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: var(--transition-base);
}

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

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

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

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

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

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  position: relative;
  overflow: hidden;
}

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

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

/* ===== Responsive Design ===== */
@media (max-width: 767.98px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .booking-form {
    margin-top: -50px;
    padding: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .testimonial,
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    margin: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .booking-form {
    margin: 1rem 0;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin: 0.25rem 0;
  }
}

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .hero,
  .booking-form,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}