/* ============================================
   MODERN DOMAIN HERO SECTION
   Inspired by markahost.com.tr/alan-adi
   Colors: #140c3a (Primary), #f9bd06 (Accent)
   ============================================ */

:root {
  --domain-primary: #140c3a;
  --domain-accent: #f9bd06;
  --domain-gradient-start: #1a0e4a;
  --domain-gradient-end: #2d1b6b;
}

/* ============================================
   HERO BANNER SECTION
   ============================================ */
.banner-section.banner-1 {
  background: linear-gradient(135deg, var(--domain-primary) 0%, var(--domain-gradient-end) 100%);
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 500px;
}

/* Pattern Overlays */
.banner-section .patterns-2,
.banner-section .patterns-3,
.banner-section .patterns-4,
.banner-section .patterns-6 {
  position: absolute;
  opacity: 0.08;
  z-index: 0;
  filter: brightness(1.5);
}

.banner-section .patterns-2 {
  top: -50px;
  right: -50px;
  width: 300px;
  animation: float 6s ease-in-out infinite;
}

.banner-section .patterns-3 {
  bottom: -50px;
  left: -50px;
  width: 250px;
  animation: float 8s ease-in-out infinite reverse;
}

.banner-section .patterns-4 {
  top: 50%;
  left: 30%;
  width: 200px;
  animation: float 10s ease-in-out infinite;
}

.banner-section .patterns-6 {
  bottom: 20%;
  right: 20%;
  width: 180px;
  animation: float 7s ease-in-out infinite reverse;
}

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

/* Content Styling */
.banner-section .container {
  position: relative;
  z-index: 1;
}

.banner-section .content-1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.banner-section .content-1 .tx-info-dark {
  color: var(--domain-accent);
  position: relative;
  display: inline-block;
}

.banner-section .content-1 .tx-info-dark::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--domain-accent) 0%, #ffc107 100%);
  border-radius: 2px;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

.banner-section .content-2 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Search Form Styling */
.custom-form-group {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-form-group:hover {
  box-shadow: 0 15px 50px rgba(249, 189, 6, 0.25);
  transform: translateY(-2px);
}

.custom-form-group input.form-control {
  border: none;
  padding: 20px 30px;
  font-size: 16px;
  flex: 1;
  background: transparent;
  color: var(--domain-primary);
}

.custom-form-group input.form-control::placeholder {
  color: rgba(20, 12, 58, 0.4);
}

.custom-form-group input.form-control:focus {
  outline: none;
  box-shadow: none;
}

.custom-form-btn.btn-primary {
  background: linear-gradient(135deg, var(--domain-accent) 0%, #ffc107 100%);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--domain-primary);
  margin: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 189, 6, 0.3);
}

.custom-form-btn.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(249, 189, 6, 0.5);
  background: linear-gradient(135deg, #ffc107 0%, var(--domain-accent) 100%);
}

/* Transfer Button */
.exchange-icon {
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.exchange-icon:hover {
  background: var(--domain-accent);
  transform: rotate(180deg);
}

.exchange-icon i {
  color: #ffffff;
  font-size: 20px;
}

.custom-form-btn.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.custom-form-btn.btn-secondary:hover {
  background: #ffffff;
  color: var(--domain-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ============================================
   DOMAIN EXTENSION CARDS (Hero Section)
   ============================================ */
.banner-section .bg-white-1 {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 18px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner-section .bg-white-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--domain-accent) 0%, #ffc107 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.banner-section .bg-white-1:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(249, 189, 6, 0.3);
}

.banner-section .bg-white-1:hover::before {
  transform: scaleX(1);
}

.banner-section .bg-white-1 .tx-20 {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 5px;
}

.banner-section .bg-white-1 .tx-14 {
  color: var(--domain-accent);
  font-weight: 600;
  font-size: 16px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
  .banner-section.banner-1 {
    padding: 70px 0 60px;
    min-height: auto;
  }

  .banner-section .content-1 {
    font-size: 36px;
  }

  .banner-section .content-2 {
    font-size: 16px;
  }

  .custom-form-group input.form-control {
    padding: 16px 20px;
    font-size: 14px;
  }

  .custom-form-btn.btn-primary,
  .custom-form-btn.btn-secondary {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .banner-section.banner-1 {
    padding: 50px 0 40px;
  }

  .banner-section .content-1 {
    font-size: 28px;
  }

  .banner-section .content-2 {
    font-size: 15px;
  }

  .custom-form-group {
    flex-direction: column;
    border-radius: 20px;
  }

  .custom-form-group input.form-control {
    width: 100%;
    padding: 15px 20px;
  }

  .custom-form-btn.btn-primary {
    width: calc(100% - 10px);
    margin: 0 5px 5px;
  }

  .exchange-icon {
    width: 45px;
    height: 45px;
  }

  .banner-section .bg-white-1 {
    padding: 15px 20px;
    margin-bottom: 10px;
  }

  .d-sm-flex {
    display: block !important;
  }
}

@media (max-width: 575px) {
  .banner-section .content-1 {
    font-size: 24px;
  }

  .banner-section .patterns-2,
  .banner-section .patterns-3,
  .banner-section .patterns-4,
  .banner-section .patterns-6 {
    display: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .banner-section.banner-1 {
    background: white;
    color: black;
  }

  .custom-form-btn,
  .exchange-icon {
    display: none;
  }
}

/* ============================================
   DOMAIN EXTENSION ICONS & BADGES
   ============================================ */
.domain-ext-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--domain-accent) 0%, #ffc107 100%);
  border-radius: 12px;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 189, 6, 0.25);
}

.domain-ext-icon i {
  font-size: 24px;
  color: var(--domain-primary);
}

.bg-white-1:hover .domain-ext-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(249, 189, 6, 0.4);
}

.domain-discount-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.bg-white-1 {
  position: relative;
  text-align: center;
}

/* Responsive icon sizing */
@media (max-width: 767px) {
  .domain-ext-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .domain-ext-icon i {
    font-size: 20px;
  }

  .domain-discount-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
}

/* ============================================
   PRICE STYLING - ATTENTION GRABBING
   ============================================ */
.banner-section .bg-white-1 .tx-13 {
  background: linear-gradient(135deg, var(--domain-accent) 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 20px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(249, 189, 6, 0.3);
  animation: priceGlow 2s ease-in-out infinite;
  position: relative;
  display: inline-block;
  padding: 2px 0;
}

@keyframes priceGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.banner-section .bg-white-1 .tx-18 {
  font-size: 22px !important;
  margin-bottom: 8px !important;
}

/* Price hover effect */
.banner-section .bg-white-1:hover .tx-13 {
  animation: pricePulse 0.6s ease-in-out;
}

@keyframes pricePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
