/* Modern Luxury Hotel Website CSS */

/* Custom CSS Variables */
:root {
  --primary-color: #FF6B35;
  --secondary-color: #2C3E50;
  --primary-hover: #E55A2B;
  --secondary-hover: #34495E;
  --light-gray: #F8F9FA;
  --dark-gray: #6C757D;
  --white: #FFFFFF;
  --black: #000000;
  --gold: #D4AF37;
  --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.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
  --gradient-overlay: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7));
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  --transition-fast: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --border-radius: 8px;
}

/* 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');

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

.btn-secondary {
  background: var(--gradient-secondary);
  border: 2px solid var(--secondary-color);
  color: var(--white);
}

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

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

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

/* Navigation */
.navbar {
  background: var(--white) !important;
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color) !important;
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--secondary-color) !important;
  margin: 0 15px;
  padding: 10px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition-fast);
}

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

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

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
  font-size: 1.2rem;
}

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FF6B35' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
  height: 100vh;
  background: var(--gradient-overlay), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  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(255, 107, 53, 0.1), rgba(44, 62, 80, 0.8));
  z-index: 1;
}

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

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

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

.hero-buttons .btn {
  margin: 10px;
  padding: 15px 40px;
  font-size: 1rem;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
}

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

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

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

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--dark-gray);
  flex-grow: 1;
}

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

.room-card .card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition-fast);
}

.room-card:hover .card-img-overlay {
  opacity: 1;
}

.room-price {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-primary);
}

/* Services Section */
.service-item {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: var(--transition-fast);
  border-radius: 15px;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  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-fast);
}

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

/* Testimonials */
.testimonial {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  border-left: 4px solid var(--primary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: var(--font-primary);
  opacity: 0.5;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.testimonial-rating {
  color: var(--gold);
  margin-top: 0.5rem;
}

/* Contact Form */
.form-control {
  border: 2px solid #E9ECEF;
  border-radius: var(--border-radius);
  padding: 12px 15px;
  font-size: 1rem;
  transition: 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-label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

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

.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

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

.footer a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.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: 0 5px;
  transition: var(--transition-fast);
}

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

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

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

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

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

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  border-top: 3px solid var(--primary-color);
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    padding: 2rem 1rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0;
    padding: 10px 0 !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
  
  .footer {
    padding: 3rem 0 1rem;
  }
}