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

/* CSS Variables - Updated with new color */
:root {
  --primary-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --primary-color: #563aff;
  --secondary-color: #7c3aed;
  --text-white: #ffffff;

  --gold-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --emerald-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --sapphire-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --ruby-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --amethyst-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);
  --teal-gradient: linear-gradient(135deg, #563aff 0%, #7c3aed 100%);

  --gold-color: #563aff;
  --emerald-color: #563aff;
  --sapphire-color: #563aff;
  --ruby-color: #563aff;
  --amethyst-color: #563aff;
  --teal-color: #563aff;

  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --text-muted: #64748b;
  --border-radius: 16px;
  --box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-content {
  text-align: center;
  color: white;
}

.car-animation {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 1s infinite;
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 600;
  animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Enhanced Hero Section */
.hero-section {
  height: 1080px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%),
    url("../images/hero_image.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.hero-buttons {
    justify-content: center;
}

/* About section specific spacing fix */
.about-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.custom-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.custom-padding-footer {
    padding-top: 100px;
    padding-bottom: 30px;
}

.text-muted-Call  {
    --bs-text-opacity: 1;
    color: rgb(255 255 255 / 75%) !important;

}

.text-muted {
    --bs-text-opacity: 1;
    color: rgba(14, 6, 6, 0.75) !important;

}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #6c757d; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;  
    box-sizing: border-box;
}

.contact-icon i {
    color: white;
    font-size: 24px;
}



/* Remove any gap between hero and next section */
.hero-section + section,
.hero-section + .section,
.hero-section + div {
  margin-top: 0 !important;
  padding-top: 80px;
}

.hero-particles .floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: floatUp 15s infinite linear;
}

.floating-element:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  left: 50%;
  animation-delay: 5s;
}

.floating-element:nth-child(3) {
  left: 80%;
  animation-delay: 10s;
}

.hero-badge {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease-out;
}

.badge-text {
  color: var(#ffffff);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.typing-animation {
  overflow: hidden;
  border-right: 3px solid #ffd700;
  white-space: nowrap;
  animation: typing 3s steps(20) 1s both, blink 1s infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.9s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--primary-gradient);
  position: relative;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
}

/* Enhanced Button Styles - Updated */
.gradient-btn-gold {
  background: var(--primary-gradient);
  border: none;
  color: var(--text-white);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(86, 58, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.gradient-btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.gradient-btn-gold:hover::before {
  left: 100%;
}

.gradient-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(86, 58, 255, 0.4);
  color: var(--text-white);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: var(--transition);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

/* Color-specific buttons - All updated to primary color */
.btn-gold {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}
.btn-emerald {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}
.btn-sapphire {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}
.btn-ruby {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}
.btn-amethyst {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}
.btn-teal {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
}

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

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

/* Updated gradient button */
.gradient-btn {
  background: var(--primary-gradient);
  border: none;
  color: var(--text-white);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(86, 58, 255, 0.3);
}

.gradient-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(86, 58, 255, 0.4);
  color: var(--text-white);
}

/* Enhanced About Section */
.section-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-gradient);
  color: var(--text-white);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.bg-gold {
  background: var(--primary-gradient);
}
.bg-emerald {
  background: var(--primary-gradient);
}
.bg-sapphire {
  background: var(--primary-gradient);
}
.bg-ruby {
  background: var(--primary-gradient);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Enhanced Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  height: 500px;
}

.gallery-item-large {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.gallery-items-small {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item-small {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item-large:hover .image-overlay,
.gallery-item-small:hover .image-overlay {
  transform: translateY(0);
}

.overlay-text {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Enhanced Service Cards - Icon Based */
.service-card-icon {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  border: 1px solid rgba(86, 58, 255, 0.1);
}

.service-card-icon:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(86, 58, 255, 0.15);
  border-color: var(--primary-color);
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-card-icon:hover .service-icon-large {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(86, 58, 255, 0.3);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
  color: var(--text-white);
  text-decoration: none;
}

.service-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(86, 58, 255, 0.3);
  color: var(--text-white);
}

.service-btn i {
  transition: var(--transition);
}

.service-btn:hover i {
  transform: translateX(5px);
}

.services-section {
    background-color: rgb(248 249 250);
}

/* Enhanced Navbar */
.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(1);
  }
}

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

/* Enhanced Contact Section */
.bg-dark {
  background: linear-gradient(135deg, var(--dark-color) 0%, #334155 100%) !important;
}

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

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Enhanced Gallery */
.gallery-img {
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow);
}

/* Enhanced Testimonials */
.testimonial-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  background: white;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Enhanced Footer */
.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-gradient);
  color: var(--text-white);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-items-small {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* Enhanced Form Styles */
.form-control {
  border-radius: var(--border-radius);
  border: 2px solid #e2e8f0;
  padding: 15px 20px;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(86, 58, 255, 0.25);
  background: white;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading States */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Enhanced Typography */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Enhanced Cards */
.card {
  transition: var(--transition);
  border: none;
  border-radius: var(--border-radius);
  background: white;
}

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

/* Remove gaps between sections */
section {
  margin-top: 0;
  margin-bottom: 0;
}

.container-fluid {
  padding-top: 0;
  padding-bottom: 0;
}

/* Ensure no default margins on main content areas */
main {
  margin: 0;
  padding: 0;
}

/* Remove any default spacing from Bootstrap containers */
.container,
.container-fluid {
  margin-top: 0;
  margin-bottom: 0;
}

/* Ensure sections connect seamlessly */
.section {
  margin: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Update other gradients */

/* Update section badge */

/* Update social links */

/* Update form focus */

/* Update brand logo */
.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.navbar-brand .brand-text {
    font-weight: 600;
    font-size: 1.1rem;
}


.brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Update navbar active link */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

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


.custom-price-color {
    color: #563aff !important;
}

/* Footer */
.custom-footer-color {
    color: #ffffff !important;
}
.brand-logo {
    margin-right: 8px;
}

/* Our Luxury Rooms*/

.room-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .room-card .row.g-0 {
        flex-direction: column;
    }

    .room-card .col-lg-4,
    .room-card .col-lg-8 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .room-card img {
        height: auto;
    }
}
