/* Modern Luxury Hotel CSS */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #2C5F7C;
  --secondary-color: #B8D4E3;
  --accent-color: #1A4A5C;
  --light-blue: #E6F1F7;
  --dark-blue: #1E3A4A;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --gold: #D4AF37;
  --success: #28A745;
  --danger: #DC3545;
  --warning: #FFC107;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 15px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(44, 95, 124, 0.1);
  --shadow-medium: 0 4px 20px rgba(44, 95, 124, 0.15);
  --shadow-heavy: 0 8px 40px rgba(44, 95, 124, 0.2);
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

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

.btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
}

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

/* Form Controls */
.form-control {
  border: 2px solid var(--secondary-color);
  border-radius: var(--radius-small);
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 95, 124, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 8px;
}

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

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

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

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

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

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

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

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--primary-color) !important;
  margin: 0 10px;
  padding: 8px 16px !important;
  border-radius: var(--radius-small);
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: var(--primary-color);
  transform: translateY(-2px);
}

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

.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='%232C5F7C' 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(rgba(44, 95, 124, 0.4), rgba(30, 58, 74, 0.6)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 95, 124, 0.1), rgba(184, 212, 227, 0.1));
  animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% {
    background: linear-gradient(45deg, rgba(44, 95, 124, 0.1), rgba(184, 212, 227, 0.1));
  }
  100% {
    background: linear-gradient(225deg, rgba(44, 95, 124, 0.15), rgba(184, 212, 227, 0.05));
  }
}

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

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

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

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

/* Sections */
.section {
  padding: var(--section-padding);
  position: relative;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

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

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

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

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

.card-body {
  padding: 2rem;
}

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

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

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

.amenity-item:hover .amenity-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: var(--shadow-medium);
}

.amenity-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: var(--transition-smooth);
  border-radius: var(--radius-medium);
}

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

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

.gallery-item img {
  width: 100%;
  height: 300px;
  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: rgba(44, 95, 124, 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 i {
  color: var(--white);
  font-size: 3rem;
}

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

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-large);
}

.contact-info h4 {
  color: var(--white);
  margin-bottom: 2rem;
}

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

.contact-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--secondary-color);
  width: 30px;
}

/* Footer */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

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

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

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  animation: fadeInUp 0.6s ease forwards;
}

/* Utilities */
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

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

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

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

.overlay {
  position: relative;
}

.overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 95, 124, 0.7);
  z-index: 1;
}

.overlay > * {
  position: relative;
  z-index: 2;
}

/* 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(--white);
  animation: spin 0.8s ease-in-out infinite;
  margin-right: 8px;
}

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

/* Error and Success States */
.is-invalid {
  border-color: var(--danger) !important;
}

.is-valid {
  border-color: var(--success) !important;
}

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

.valid-feedback {
  color: var(--success);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero {
    height: 70vh;
    padding: 2rem 1rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .navbar-nav {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-medium);
    margin-top: 1rem;
    box-shadow: var(--shadow-medium);
  }
  
  .amenity-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero,
  .btn,
  .footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
}