:root {
  --ghaf-charcoal: #1a1a1a;
  --ghaf-gold: #d4af37;
  --ghaf-white: #ffffff;
  --ghaf-serif: 'Cormorant Garamond', serif;
  --ghaf-sans: 'Inter', sans-serif;
}

/* --- THE HERO --- */
/* 1. Hero Container Base */
.elementor-widget-hero_slider .hero-section {
  position: relative;
  height: 100vh !important;
  min-height: 550px !important;
  width: 100% !important;
  overflow: hidden;
  background-color: var(--ghaf-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. Background Slider Logic */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center !important;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity;
  opacity: 0.7;
  z-index: 1;
}

.hero-bg.fade-out {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 2;
}

/* 3. Hero Content & Typography */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--ghaf-white) !important;
  width: 100%;
  max-width: 1000px;
  padding: 24px;
  margin: 0 auto;
}

.hero-content-inner {
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.hero-content-inner.fade-out {
  opacity: 0;
  transform: translateY(15px);
}

.hero-tagline {
  display: block;
  font-family: var(--ghaf-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--ghaf-gold);
}

.hero-title {
  font-family: var(--ghaf-serif) !important;
  font-size: clamp(2.2rem, 9vw, 5.5rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
}

.hero-desc {
  font-family: var(--ghaf-sans);
  font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
  opacity: 0.8;
  max-width: 650px;
  margin: 0 auto 40px !important;
  line-height: 1.7;
}

/* 4. Unique Premium Buttons (ghaf-btn) */
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.ghaf-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 40px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  min-width: 190px;
  line-height: 1 !important;
}

/* Button Variants */
.ghaf-btn-primary {
  background-color: var(--ghaf-white) !important;
  color: var(--ghaf-charcoal) !important;
  border: 1px solid var(--ghaf-white) !important;
}

.ghaf-btn-primary:hover {
  background-color: transparent !important;
  color: var(--ghaf-white) !important;
}

.ghaf-btn-outline {
  background-color: transparent !important;
  color: var(--ghaf-white) !important;
  border: 1px solid var(--ghaf-white) !important;
}

.ghaf-btn-outline:hover {
  background-color: var(--ghaf-white) !important;
  color: var(--ghaf-charcoal) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 5. Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  .hero-section {
    height: 90vh !important;
    /* Slightly shorter on mobile */
  }

  .hero-btns {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .ghaf-btn {
    width: 100% !important;
    max-width: 320px;
    padding: 16px 30px !important;
  }

  .hero-title {
    margin-bottom: 15px !important;
  }
}