/* Industrial Luxury Hotel Theme CSS */

/* CSS Custom Properties */
:root {
  --primary-color: #D2691E;
  --primary-dark: #B8581A;
  --primary-light: #E6A366;
  --secondary-color: #2F4F4F;
  --secondary-dark: #1A2F2F;
  --secondary-light: #4A6B6B;
  --accent-color: #F4A460;
  --text-dark: #1C1C1C;
  --text-light: #FFFFFF;
  --text-muted: #6C757D;
  --bg-light: #F8F9FA;
  --bg-dark: #212529;
  --metal-gradient: linear-gradient(135deg, #B8B8B8 0%, #8C8C8C 50%, #A8A8A8 100%);
  --steel-gradient: linear-gradient(45deg, #2F4F4F 0%, #4A6B6B 100%);
  --copper-gradient: linear-gradient(135deg, #D2691E 0%, #B8581A 50%, #E6A366 100%);
  --box-shadow-light: 0 2px 15px rgba(0,0,0,0.1);
  --box-shadow-heavy: 0 10px 30px rgba(0,0,0,0.3);
  --transition-fast: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/* Reset and 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: var(--bg-light);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

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.2rem);
}

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

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

/* Bootstrap 5 Overrides */
.btn-primary {
  background: var(--copper-gradient);
  border: 2px solid var(--primary-color);
  color: var(--text-light);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--steel-gradient);
  transition: var(--transition-fast);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-light);
}

.btn-secondary {
  background: var(--steel-gradient);
  border: 2px solid var(--secondary-color);
  color: var(--text-light);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
}

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

/* Custom Utility Classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}

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

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

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

.industrial-texture {
  position: relative;
}

.industrial-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 48, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Header Styles */
.navbar {
  background: rgba(47, 79, 79, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled {
  background: rgba(47, 79, 79, 0.98) !important;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: 25px;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

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

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(47, 79, 79, 0.7), rgba(210, 105, 30, 0.3)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23333" width="100%" height="100%"/><circle cx="200" cy="150" r="50" fill="%23444" opacity="0.5"/><circle cx="800" cy="400" r="80" fill="%23555" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.hero-cta {
  margin-top: 2rem;
}

.hero-cta .btn {
  margin: 0 10px 10px 0;
  min-width: 200px;
}

/* Floating Elements Animation */
.hero-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  bottom: 15%;
  left: 15%;
  animation: float 8s ease-in-out infinite reverse;
  opacity: 0.1;
}

/* Section Styles */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--copper-gradient);
  border-radius: 2px;
}

/* Features Section */
.feature-card {
  background: var(--text-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--box-shadow-light);
  text-align: center;
  transition: var(--transition-fast);
  height: 100%;
  border: 1px solid rgba(47, 79, 79, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
  transition: var(--transition-slow);
}

.feature-card:hover::before {
  left: 100%;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--copper-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.feature-title {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-description {
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  cursor: pointer;
}

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

.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-fast);
}

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

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

.gallery-text {
  text-align: center;
  color: var(--text-light);
}

.gallery-text h5 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
  background: var(--text-light);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--box-shadow-light);
  position: relative;
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  transition: var(--transition-fast);
}

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

.form-floating label {
  color: var(--text-muted);
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

.form-success {
  color: #198754;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--copper-gradient);
}

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

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

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@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);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-light);
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .feature-card {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
  }
  
  .hero-cta .btn {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary,
  .btn-secondary {
    border-width: 3px;
  }
  
  .form-control:focus {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
}