/* ==========================================================================
   PREMIUM HERO SECTION CSS (DARK THEME REFERENCE)
   ========================================================================== */

/* Variables specifically for Hero */
:root {
  --hero-bg: #03134e;
  --hero-ray-color: rgba(13, 110, 253, 0.4);
  --btn-orange: #eb6a00;
  --btn-orange-hover: #d15f00;
}

/* Base Hero Layout */
.hero-section {
  position: relative;
  background-color: var(--hero-bg);
  background-image: url('../images/hp_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background Abstract Elements (Kept wrapper in case it's needed for other elements) */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Text Content */
.hero-heading {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Domain Search Component */
.hero-domain-search {
  max-width: 650px;
}

.domain-search-form {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease;
  padding: 4px !important;
  background-color: #ffffff !important;
}

.domain-search-form:focus-within {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15) !important;
}

.domain-search-form input {
  font-size: 1.1rem;
  color: #333;
}

.domain-search-form input::placeholder {
  color: #94a3b8;
}

.domain-search-form .bi-search {
  font-size: 1.2rem;
  color: #64748b !important;
}

/* Orange Search Button */
.btn-search {
  background-color: var(--btn-orange) !important;
  border-color: var(--btn-orange) !important;
  color: #ffffff !important;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.btn-search:hover {
  background-color: var(--btn-orange-hover) !important;
  border-color: var(--btn-orange-hover) !important;
  transform: translateY(-1px);
}

/* Extension Tags */
.domain-ext-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  cursor: default;
  transition: all 0.2s ease;
}

.domain-ext-tag:hover {
  background: rgba(255, 255, 255, 0.2);
}

.view-all-link {
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline !important;
}

/* Feature Highlights */
.feature-item {
  color: #ffffff;
}

.feature-item .feature-icon i {
  color: #ffffff;
  opacity: 0.9;
}

.fs-sm {
  font-size: 0.95rem;
}

/* ==========================================================================
   RIGHT SIDE ILLUSTRATION
   ========================================================================== */
.hero-illustration-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-img {
  position: relative;
  z-index: 5;
  max-width: 100%;
  height: auto;
  transform-origin: center bottom;
}

/* ==========================================================================
   CSS ANIMATIONS
   ========================================================================== */
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 140px;
    padding-bottom: 60px;
    height: auto;
    text-align: center;
  }
  
  .hero-heading {
    br {
      display: none;
    }
  }

  .hero-domain-search {
    margin-left: auto;
    margin-right: auto;
  }

  .domain-extensions {
    justify-content: center;
  }
  
  .hero-features {
    text-align: left;
    justify-content: center;
  }

  .feature-item {
    justify-content: center;
  }

  .hero-illustration-wrapper {
    justify-content: center;
    margin-top: 40px;
  }
}

@media (max-width: 767.98px) {
  .domain-search-form {
    flex-direction: column !important;
    border-radius: 8px !important;
  }
  
  .domain-search-form .input-group-custom {
    padding-left: 0 !important;
    margin-bottom: 10px;
  }
  
  .domain-search-form button {
    width: 100% !important;
    border-radius: 4px !important;
  }
}

/* AJAX Domain Search Live Results */
.hero-search-results-box {
  background: rgba(13, 27, 62, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  animation: heroSearchFadeIn 0.25s ease-out;
}

@keyframes heroSearchFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-search-primary {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 18px;
  border-left: 4px solid #10b981;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-search-primary.taken {
  border-left-color: #f43f5e;
}

.hero-search-primary .domain-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.hero-search-alt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.hero-search-alt-list::-webkit-scrollbar {
  width: 5px;
}

.hero-search-alt-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.hero-search-alt-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.hero-search-alt-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

