﻿/**
 * Modern Hosting Theme Enhancements - BlueCorp
 * Inspired by modern hosting UI standards (clean cards, subtle shadows, crisp typography)
 * Preserves BlueCorp / DRLTec / AKINSOFT brand identity and colors
 */

/* ==========================================================================
   1. Typography & Global Polish
   ========================================================================== */
:root {
  --color-primary-blue: #103f5e;
  --color-accent-cyan: #009fbf;
  --color-accent-teal: #40B9B3;
  --color-accent-green: #22c55e;
  --color-surface-bg: #f8fafc;
  --color-card-border: #e8eef3;
  --color-card-hover-border: #009fbf;
  --color-card-shadow: 0 4px 20px -2px rgba(16, 63, 94, 0.06), 0 2px 6px -1px rgba(16, 63, 94, 0.04);
  --color-card-shadow-hover: 0 14px 30px -4px rgba(16, 63, 94, 0.12), 0 4px 10px -2px rgba(16, 63, 94, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --ease-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. Domain Search Bar (Hero Search)
   ========================================================================== */
.banner-top {
  margin: 16px 0 20px;
  position: relative;
  z-index: 5;
}

.banner-top-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 16px;
  box-shadow: var(--color-card-shadow);
  transition: var(--ease-smooth);
}

.banner-top-search:focus-within {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 0 4px rgba(0, 159, 191, 0.15), var(--color-card-shadow);
}

.banner-top-search input[type="search"],
.banner-top-search input[type="text"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 15px;
  color: #1e293b;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
}

.banner-top-search .btn-01.search {
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--color-accent-cyan) 0%, var(--color-primary-blue) 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--ease-smooth);
  white-space: nowrap;
}

.banner-top-search .btn-01.search:hover {
  background: linear-gradient(135deg, #00b4d8 0%, #0c334d 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 159, 191, 0.3);
}

/* Domain TLD Badges */
.domain-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.domain-group li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-blue);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: var(--ease-smooth);
  white-space: nowrap;
}

.domain-group li:hover {
  border-color: var(--color-accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 159, 191, 0.12);
}

.domain-group li span {
  color: var(--color-accent-cyan);
  font-weight: 700;
  margin-left: 2px;
}

/* ==========================================================================
   3. Mobile Slider Gap Elimination & Clean Styling
   ========================================================================== */
#carousel-hero.akinsoft-slider {
  margin: 10px 0 20px;
  overflow: visible;
}

.akinsoft-slider-box {
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--color-card-shadow);
  transition: var(--ease-smooth);
}

.akinsoft-slider-box:hover {
  box-shadow: var(--color-card-shadow-hover);
}

/* Ensure mobile slider has zero empty space below */
@media (max-width: 767px) {
  #carousel-hero.akinsoft-slider {
    margin: 6px 0 12px !important;
  }
  
  .akinsoft-slider-mobile {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .akinsoft-slider-mobile iframe {
    display: block !important;
    width: 100% !important;
    height: clamp(180px, 56vw, 250px) !important;
    border: none !important;
    margin: 0 !important;
  }
  
  .section-gap {
    padding: 24px 0 !important;
  }
  
  .gap-bottom {
    margin-bottom: 18px !important;
  }

  .banner-heading h1 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .banner-heading h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .banner-heading p {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 480px) {
  #carousel-hero.akinsoft-slider {
    margin: 4px 0 10px !important;
  }

  .akinsoft-slider-mobile iframe {
    height: clamp(170px, 58vw, 230px) !important;
  }
  
  .banner-top-search {
    padding: 4px 6px 4px 12px;
  }

  .banner-top-search .btn-01.search {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   4. Feature Cards & Modern Benefit Cards (hosting.com.tr style)
   ========================================================================== */
.feature-style-two {
  background: var(--color-surface-bg);
  padding: 50px 0;
}

.feature-style-two-card {
  background: #ffffff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--color-card-shadow);
  transition: var(--ease-smooth);
}

.feature-style-two-card:hover {
  border-color: var(--color-card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
}

.feature-style-two-card .img-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feature-style-two-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-blue);
  margin: 0;
}

.feature-style-two-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.feature-style-two-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Feature Overview (Section 1) modern card refinement */
#feature-overview .feature-style-one {
  background: #ffffff;
  border: 1px solid var(--color-card-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 22px 20px;
  box-shadow: var(--color-card-shadow);
  transition: var(--ease-smooth);
}

#feature-overview .feature-style-one:hover {
  border-color: var(--color-card-hover-border) !important;
  transform: translateY(-4px);
  box-shadow: var(--color-card-shadow-hover);
}

#feature-overview .feature-style-one h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-top: 10px;
  margin-bottom: 8px;
}

#feature-overview .feature-style-one p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

#feature-overview:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   5. Modern Hosting & Server Package Cards
   ========================================================================== */
.products_list .vps-plan,
.products_list .hosting-package-card,
.products_list .single-package {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--color-card-shadow);
  transition: var(--ease-smooth);
  background: #ffffff;
}

.products_list .vps-plan:hover,
.products_list .hosting-package-card:hover,
.products_list .single-package:hover {
  transform: translateY(-5px);
  box-shadow: var(--color-card-shadow-hover);
  border-color: var(--color-accent-cyan);
}

/* Modern Pill Badges */
.b-line {
  position: relative;
  display: inline-block;
}

.b-line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-cyan), transparent);
  border-radius: 2px;
}

/* WhatsApp Floating Button Polish */
.wp_button,
a[href*="whatsapp"] {
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--ease-smooth);
}

.wp_button:hover,
a[href*="whatsapp"]:hover {
  transform: scale(1.08);
}