/* Modern Luxury Hotel Website - CSS */

/* Root Variables */
:root {
  --primary-color: #1a237e;
  --primary-light: #534bae;
  --primary-dark: #000051;
  --secondary-color: #ff6f00;
  --secondary-light: #ff9f40;
  --secondary-dark: #c43e00;
  --accent-gold: #d4af37;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --text-muted: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --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 40px rgba(26, 35, 126, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

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

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

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

/* 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: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--text-light);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--bg-white);
}

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

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

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

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

.navbar-brand {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

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

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

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
  transition: var(--transition);
}

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

.navbar-toggler-icon {
  background: none;
  position: relative;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  bottom: -8px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
  transform: rotate(45deg);
}

.navbar-toggler.collapsed .navbar-toggler-icon::before {
  transform: rotate(90deg);
  top: 0;
}

.navbar-toggler.collapsed .navbar-toggler-icon::after {
  transform: rotate(90deg);
  bottom: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(255, 111, 0, 0.6)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f0f0f0" width="1200" height="800"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  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 25%, 
    rgba(212, 175, 55, 0.1) 25%, 
    rgba(212, 175, 55, 0.1) 50%, 
    transparent 50%, 
    transparent 75%, 
    rgba(212, 175, 55, 0.1) 75%);
  background-size: 60px 60px;
  opacity: 0.3;
}

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

.hero h1 {
  color: var(--text-light);
  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);
}

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

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

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

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

.card-body {
  padding: 2rem;
}

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

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

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

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

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

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

.bg-light-custom {
  background: linear-gradient(135deg, var(--bg-light), rgba(255, 255, 255, 0.8));
}

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

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
  background: var(--bg-white);
}

.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: 0.5rem;
}

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

/* Testimonials */
.testimonial {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

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

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

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

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer p,
.footer ul,
.footer li {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer li {
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer li:hover {
  color: var(--accent-gold);
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  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 fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 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.4), 
    transparent);
  animation: loading 1.5s infinite;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    min-height: 70vh;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-medium);
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .testimonial::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  .hero {
    background: none;
    color: var(--text-dark);
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}