/* Modern Luxury Hotel Website Styles */

/* CSS Custom Properties */
:root {
  --primary-color: #1a1a2e;
  --secondary-color: #e94560;
  --accent-color: #f5f5f5;
  --text-dark: #2c2c2c;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --gold-accent: #d4af37;
  --shadow-light: 0 2px 10px rgba(26, 26, 46, 0.1);
  --shadow-medium: 0 5px 20px rgba(26, 26, 46, 0.15);
  --shadow-heavy: 0 10px 40px rgba(26, 26, 46, 0.2);
  --border-radius: 8px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

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

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-dark);
}

/* Bootstrap 5 Overrides */
.btn {
  font-weight: 500;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background: linear-gradient(135deg, #f15577, var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--text-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(--text-white);
  transform: translateY(-2px);
}

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

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

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

.navbar-nav .nav-link {
  color: var(--text-white);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
}

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

.navbar-nav .nav-link:hover {
  color: var(--gold-accent);
}

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

.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
  color: var(--text-white);
}

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

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(26, 26, 46, 0.4), rgba(26, 26, 46, 0.4));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  text-align: center;
  color: var(--text-white);
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  color: var(--text-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
  margin: 0 0.5rem 1rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Card Styles */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  overflow: hidden;
}

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

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-light);
  line-height: 1.6;
}

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

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 26, 46, 0.1);
}

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

.invalid-feedback {
  display: block;
  color: var(--secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

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

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

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 {
  color: var(--text-white);
}

.section-light {
  background: var(--accent-color);
}

/* Amenities/Features */
.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), #f15577);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 300px;
}

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

.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(26, 26, 46, 0.8), rgba(233, 69, 96, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.gallery-overlay h4 {
  color: var(--text-white);
  font-size: 1.5rem;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 50px 0 30px;
}

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

.footer p, .footer li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

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

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

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--secondary-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 {
  animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* 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.2), transparent);
  animation: shimmer 2s infinite;
}

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

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

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

.text-gold {
  color: var(--gold-accent);
}

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

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

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), #252548);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #f15577);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .navbar-nav {
    background: rgba(26, 26, 46, 0.98);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero .btn {
    width: auto;
    min-width: 200px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 70vh;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
    display: flex;
  }
}