/* Contemporary Luxury Hotel CSS */

/* CSS Custom Properties */
:root {
  --primary-color: #FF4500;
  --secondary-color: #2C3E50;
  --primary-light: #FF6B35;
  --primary-dark: #E63E00;
  --secondary-light: #34495E;
  --secondary-dark: #1A252F;
  --accent-gold: #D4AF37;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --text-light: #FFFFFF;
  --text-dark: #2C3E50;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
  --shadow-heavy: 0 10px 30px rgba(0,0,0,0.25);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--secondary-color);
}

/* Bootstrap Overrides */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

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

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  padding: 15px 0;
  transition: all var(--transition-medium);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
  padding: 8px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.navbar-nav .nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
  background: rgba(255, 69, 0, 0.1);
}

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

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

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(255, 69, 0, 0.6));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  overflow: hidden;
  height: 100%;
}

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

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

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

.card-body {
  padding: 1.5rem;
}

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

.card-text {
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
}

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

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

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 2rem auto 0;
  border-radius: 2px;
}

/* Features */
.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-medium);
  height: 100%;
}

.feature-item:hover {
  background: var(--light-gray);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
  transition: all var(--transition-medium);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-medium);
}

/* Forms */
.form-control {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

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

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

.form-floating .form-control {
  border: 2px solid #E9ECEF;
}

.form-floating .form-control:focus {
  border-color: var(--primary-color);
}

.form-floating label {
  color: var(--medium-gray);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--light-gray), rgba(255, 69, 0, 0.05));
}

.contact-info {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 1rem;
  font-size: 1.25rem;
}

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

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

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

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

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 1.25rem;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  color: var(--white);
}

/* Loading Animation */
.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, 69, 0, 0.2), transparent);
  animation: loading 1.5s infinite;
}

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

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-medium);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-slow);
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all var(--transition-slow);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-slow);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.25rem;
  }
  
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 16px;
    margin: 2px 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .contact-info {
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-top,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    background: none;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 10px rgba(0,0,0,0.3);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.4);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.5);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-dark);
  }
  
  .btn-secondary {
    border: 2px solid var(--secondary-dark);
  }
  
  .form-control:focus {
    border-width: 3px;
  }
}

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