/* Modern Luxury Hotel Website Styles */

/* CSS Custom Properties */
:root {
  --primary-color: #FF6B35;
  --secondary-color: #1A1A2E;
  --accent-color: #16213E;
  --light-gray: #F8F9FA;
  --dark-gray: #6C757D;
  --white: #FFFFFF;
  --black: #000000;
  --gold: #D4AF37;
  --shadow-light: 0 2px 10px rgba(26, 26, 46, 0.1);
  --shadow-medium: 0 5px 25px rgba(26, 26, 46, 0.15);
  --shadow-heavy: 0 10px 40px rgba(26, 26, 46, 0.2);
  --border-radius: 8px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.lead {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark-gray);
}

/* Bootstrap 5 Overrides */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 12px 30px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #FF8A65);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

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

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

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

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--white);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  transform: translateY(-2px);
  color: var(--white);
}

/* Card Overrides */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-fast);
  overflow: hidden;
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary-color), #FF8A65);
  color: var(--white);
  border-bottom: none;
  font-weight: 600;
}

/* Form Overrides */
.form-control {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  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, 107, 53, 0.25);
}

.form-control.is-invalid {
  border-color: #DC3545;
}

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

.invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #DC3545;
  margin-top: 5px;
}

/* Navigation */
.navbar {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all var(--transition-fast);
}

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

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

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

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  margin: 0 10px;
  padding: 8px 16px;
  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, 107, 53, 0.1);
}

.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 {
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(255, 107, 53, 0.6)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23FF6B35" width="1200" height="600"/><rect fill="%231A1A2E" width="1200" height="300"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(26, 26, 46, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

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

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

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

/* Room Cards */
.room-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 2rem;
}

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

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

.room-card .card-body {
  padding: 2rem;
  position: relative;
}

.room-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Services Grid */
.service-item {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: all var(--transition-fast);
  height: 100%;
}

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

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

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

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(255, 107, 53, 0.6));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

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

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

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

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

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

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

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

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* 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, 255, 255, 0.6), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  to {
    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.2rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-medium);
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
  }
  
  .hero {
    height: 80vh;
    padding: 2rem 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .room-card .card-body {
    padding: 1.5rem;
  }
  
  .service-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    height: 60vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

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