/* ========================================
   LUXURY HOTEL BOOKING - DESERT SUNSET THEME
   Color Palette:
   - Base: Warm Sand/Beige (#F5E6D3)
   - Primary: Deep Plum/Royal Burgundy (#4A0E2E)
   - Secondary: Muted Gold (#C5A059)
   - Accent: Emerald Green (#2D5A27) - Available tags
   ======================================== */

/* CSS Variables */
:root {
  --color-sand: #F5E6D3;
  --color-sand-light: #FAF3EB;
  --color-sand-dark: #E8D4C0;
  --color-plum: #4A0E2E;
  --color-plum-light: #6B1A42;
  --color-plum-dark: #2D081C;
  --color-gold: #C5A059;
  --color-gold-light: #D4B87A;
  --color-gold-dark: #9A7B3D;
  --color-emerald: #2D5A27;
  --color-emerald-light: #3D7A35;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-gray: #6B6B6B;
  --color-gray-light: #F5F5F5;
  
  --font-primary: 'IBM Plex Sans Arabic', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(74, 14, 46, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 14, 46, 0.12);
  --shadow-lg: 0 8px 40px rgba(74, 14, 46, 0.16);
  --shadow-gold: 0 4px 20px rgba(197, 160, 89, 0.3);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-sand);
  color: var(--color-black);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

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

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

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

/* ========================================
   GLASSMORPHISM EFFECTS
   ======================================== */
.glass-nav {
  background: rgba(74, 14, 46, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1rem 0;
  transition: var(--transition);
}

.glass-nav.scrolled {
  background: rgba(74, 14, 46, 0.95) !important;
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar-brand {
  font-size: 1.5rem;
}

.navbar-brand i {
  font-size: 1.25rem;
}

.brand-text {
  font-weight: 600;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  color: rgba(255, 255, 255, 0.9) !important;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white) !important;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, 
    rgba(74, 14, 46, 0.9) 0%, 
    rgba(45, 8, 28, 0.85) 50%,
    rgba(74, 14, 46, 0.9) 100%
  ),
  url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 150px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(45, 8, 28, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   SEARCH BAR
   ======================================== */
.search-container {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  z-index: 10;
}

.search-box {
  padding: 1.5rem 2rem;
}

.search-field {
  text-align: right;
}

.search-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-plum);
  margin-bottom: 0.5rem;
}

.search-input {
  border: 2px solid var(--color-sand-dark);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: var(--color-white);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
  outline: none;
}

.btn-search {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-light) 100%);
  color: var(--color-white);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  height: calc(100% - 1.5rem);
  margin-top: 1.5rem;
  transition: var(--transition);
}

.btn-search:hover {
  background: linear-gradient(135deg, var(--color-plum-light) 0%, var(--color-plum) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-plum);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   ROOMS SECTION
   ======================================== */
.rooms-section {
  padding-top: 120px !important;
  background: var(--color-sand);
}

.experience-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.card-badge.available {
  background: var(--color-emerald);
  color: var(--color-white);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 14, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.experience-card:hover .card-overlay {
  opacity: 1;
}

.btn-view {
  background: var(--color-white);
  color: var(--color-plum);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition);
}

.experience-card:hover .btn-view {
  transform: translateY(0);
}

.card-content {
  padding: 1.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-plum);
  margin: 0;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gold);
  font-weight: 600;
}

.card-description {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-sand-light);
  color: var(--color-plum);
  border-radius: var(--radius-full);
}

.feature-tag i {
  font-size: 0.75rem;
  color: var(--color-gold);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-sand-dark);
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.card-price .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-plum);
}

.card-price .currency {
  font-size: 0.875rem;
  color: var(--color-gray);
}

.btn-book {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-light) 100%);
  color: var(--color-white);
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-book:hover {
  background: linear-gradient(135deg, var(--color-plum-light) 0%, var(--color-plum) 100%);
  transform: scale(1.05);
}

/* ========================================
   AMENITIES SECTION
   ======================================== */
.amenities-section {
  background: linear-gradient(180deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
}

.amenity-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-light);
}

.amenity-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-sand-light) 0%, var(--color-sand) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
}

.amenity-icon i {
  font-size: 2rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.amenity-card:hover .amenity-icon i {
  color: var(--color-white);
}

.amenity-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-plum);
  margin-bottom: 0.75rem;
}

.amenity-description {
  font-size: 0.95rem;
  color: var(--color-gray);
  margin: 0;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery-section {
  background: var(--color-sand);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}

.gallery-item.large {
  min-height: 416px;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 14, 46, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.gallery-overlay p {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-sand-light) 100%);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.25rem;
}

.author-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-plum);
  margin: 0;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--color-sand);
  padding-bottom: 3rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-plum-light) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-section {
  background: var(--color-plum);
  color: var(--color-white);
  padding: 4rem 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand i {
  font-size: 1.25rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-gold);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-gold);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-right: 0.5rem;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--color-gold);
  margin-top: 0.25rem;
}

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

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 120px 0 180px;
  }
  
  .search-container {
    bottom: -100px;
  }
  
  .search-box {
    padding: 1.5rem;
  }
  
  .btn-search {
    margin-top: 0;
    height: auto;
    padding: 0.875rem;
  }
  
  .rooms-section {
    padding-top: 140px !important;
  }
  
  .cta-box {
    padding: 2rem;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .search-container {
    position: relative;
    bottom: auto;
    margin-top: -80px;
    padding: 0 1rem;
  }
  
  .search-box {
    margin: 0;
  }
  
  .rooms-section {
    padding-top: 3rem !important;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .gallery-item.large {
    min-height: 250px;
  }
  
  .cta-box {
    padding: 1.5rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-description {
    max-width: 100%;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-contact li {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .btn-book {
    width: 100%;
  }
}

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

.hero-content > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
  animation-delay: 0.2s;
}

.hero-title {
  animation-delay: 0.4s;
}

.hero-description {
  animation-delay: 0.6s;
}
