/*
 * Hotel Heritage Divine - Redesign 2025
 * Visual Identity: Spiritual Luxury
 * Version: 2.0
 */

/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */

:root {
  /* Primary Colors - Deep Saffron (spiritual India) */
  --primary: #FF6B35;
  --primary-dark: #CC4419;
  --primary-light: #FF8C61;
  
  /* Secondary Colors - Heritage Gold */
  --secondary: #D4AF37;
  --secondary-dark: #B8941D;
  --secondary-light: #E5C866;
  
  /* Accent Colors - Ganges Blue */
  --accent: #2D5F6F;
  --accent-dark: #1A3740;
  --accent-light: #4A8BA0;
  
  /* Neutral Colors - Modern Elegance */
  --neutral-900: #1A1A1A;
  --neutral-800: #2D2D2D;
  --neutral-700: #4A4A4A;
  --neutral-600: #6B6B6B;
  --neutral-500: #8C8C8C;
  --neutral-400: #ADADAD;
  --neutral-300: #CECECE;
  --neutral-200: #E8E8E8;
  --neutral-100: #F8F8F8;
  --neutral-50: #FFFFFF;
  
  /* Background Colors */
  --bg-light: #FAF8F3;
  --bg-white: #FFFFFF;
  --bg-dark: #1A1A1A;
  
  /* Trust & Status Colors */
  --trust: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* Typography Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Spacing Scale */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 0.75rem;  /* 12px */
  --radius-xl: 1rem;     /* 16px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--neutral-800);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-900);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 600;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;    /* 40px */
    --text-4xl: 2rem;      /* 32px */
    --text-3xl: 1.5rem;    /* 24px */
  }
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--neutral-50);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
  color: var(--neutral-50);
}

.btn-secondary {
  background: var(--neutral-50);
  color: var(--neutral-900);
  border-color: var(--neutral-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--neutral-100);
  border-color: var(--neutral-400);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--neutral-50);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ============================================
   HERO SECTION - REDESIGNED
   ============================================ */

.hero-section {
  position: relative;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--neutral-50);
  max-width: 900px;
  padding: var(--space-4);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-6);
  color: var(--secondary-light);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--neutral-50);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  z-index: 20;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--neutral-700);
}

.trust-icon {
  font-size: var(--text-xl);
  color: var(--trust);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   NAVIGATION - ENHANCED
   ============================================ */

.navbar-redesign {
  background: transparent;
  transition: all var(--transition-base);
  padding: var(--space-4) 0;
}

.navbar-redesign.scrolled {
  background: var(--neutral-50);
  box-shadow: var(--shadow-md);
}

.navbar-redesign .nav-link {
  color: var(--neutral-50);
  font-weight: 500;
  font-size: var(--text-base);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-redesign.scrolled .nav-link {
  color: var(--neutral-800);
}

.navbar-redesign .nav-link:hover {
  color: var(--primary-light);
}

.navbar-redesign .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.navbar-redesign .nav-link:hover::after {
  width: 100%;
}

.navbar-logo {
  max-width: 180px;
  height: auto;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: var(--space-20) var(--space-4);
}

.section-heading {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   CARDS
   ============================================ */

.card-redesign {
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-redesign:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--neutral-900);
}

.card-text {
  font-size: var(--text-base);
  color: var(--neutral-600);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.card-footer {
  padding: var(--space-4) var(--space-6);
  background: var(--neutral-100);
  border-top: 1px solid var(--neutral-200);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.feature-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}



/* .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--neutral-50);
} */

.feature-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--neutral-900);
}

.feature-description {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.7;
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */

.value-prop-section {
  background: var(--bg-light);
  padding: var(--space-20) var(--space-4);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.value-prop-card {
  background: var(--neutral-50);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
}

.value-prop-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.value-prop-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--neutral-900);
}

.value-prop-description {
  font-size: var(--text-base);
  color: var(--neutral-600);
  line-height: 1.8;
}

/* ============================================
   TESTIMONIALS - ENHANCED
   ============================================ */

.testimonial-redesign {
  background: var(--neutral-50);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 100%;
}

.testimonial-quote {
  font-size: var(--text-3xl);
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--neutral-700);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: var(--space-1);
}

.testimonial-rating {
  color: var(--secondary);
  font-size: var(--text-sm);
}

/* ============================================
   EXPECTATION MANAGEMENT SECTION
   ============================================ */

.expectations-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--neutral-50);
  padding: var(--space-20) var(--space-4);
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.expectation-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.expectation-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--secondary-light);
}

.expectation-description {
  font-size: var(--text-base);
  line-height: 1.7;
  opacity: 0.9;
}

/* ============================================
   GALLERY - ENHANCED
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--neutral-50);
  font-size: var(--text-lg);
  font-weight: 600;
}

/* ============================================
   FOOTER - REDESIGNED
   ============================================ */

.footer-redesign {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--space-16) var(--space-4) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-heading {
  color: var(--neutral-50);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-link {
  display: block;
  color: var(--neutral-300);
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-light);
  padding-left: var(--space-2);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-800);
  color: var(--neutral-50);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

.fab-container {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.fab {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--neutral-50);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.fab-whatsapp {
  background: #25D366;
}

.fab-phone {
  background: var(--primary);
}

.fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

/* Sticky Booking CTA (Mobile) */
.sticky-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--neutral-50);
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  padding: var(--space-3);
  display: none;
  z-index: 999;
}

@media (max-width: 768px) {
  .sticky-book-bar {
    display: flex;
    gap: var(--space-3);
  }
  
  .sticky-book-bar .btn {
    flex: 1;
  }
}

/* ============================================
   BOOKING WIDGET ENHANCEMENT
   ============================================ */

.booking-widget-container {
  background: var(--neutral-50);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-6);
  margin-top: -80px;
  position: relative;
  z-index: 100;
}

@media (max-width: 768px) {
  .booking-widget-container {
    margin-top: -40px;
    padding: var(--space-4);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container-redesign {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.bg-light {
  background: var(--bg-light);
}

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.py-20 {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1024px) {
  section {
    padding: var(--space-16) var(--space-4);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .trust-bar {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .fab-container {
    bottom: var(--space-20);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar-redesign,
  .fab-container,
  .sticky-book-bar {
    display: none;
  }
}

/* ============================================
   DARK MODE SUPPORT (Future Enhancement)
   ============================================ */

@media (prefers-color-scheme: dark) {
  /* Dark mode variables would go here */
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-slide-in {
  animation: slideInFromBottom 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   LOADING STATES
   ============================================ */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--neutral-200) 25%,
    var(--neutral-100) 50%,
    var(--neutral-200) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   IMAGE OPTIMIZATION
   ============================================ */

img {
  max-width: 100%;
  height: auto;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--transition-base);
}

img[loading="lazy"].loaded {
  opacity: 1;
}

