/**
 * BlackWool Medya - Ana Sayfa Özel Stilleri
 * Hero, Stats, Services ve Blog bölümleri
 */

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 102, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(30, 58, 138, 0.03) 0%, 
    rgba(59, 130, 246, 0.05) 25%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(30, 58, 138, 0.03) 75%,
    rgba(59, 130, 246, 0.05) 100%);
  background-size: 400% 400%;
  animation: heroFlow 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes heroFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: heroContentFade 2s ease-out;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

@keyframes heroContentFade {
  0% { opacity: 0; transform: translateY(50px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-badge {
  position: relative;
  overflow: hidden;
  animation: badgeGlow 4s ease-in-out infinite;
  display: inline-block;
  padding: 12px 30px;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--dark);
  min-width: 400px;
  text-align: center;
}

.badge-message {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
  color: var(--dark);
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.badge-message.active {
  opacity: 1;
  transform: translateY(-50%);
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(30, 58, 138, 0.3); }
  50% { box-shadow: 0 0 30px rgba(30, 58, 138, 0.5), 0 0 40px rgba(59, 130, 246, 0.3); }
}

.hero h1 {
  font-size: clamp(45px, 8vw, 85px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--primary);
}

.hero h1 span {
  color: #dc2626;
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 50px;
  font-weight: 400;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.floating-element {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.4) 50%, transparent 100%);
  border-radius: 50%;
  animation: cyberFloat 8s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(30, 58, 138, 0.3);
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 8s; }
.floating-element:nth-child(2) { 
  top: 60%; left: 80%; animation-delay: 2s; animation-duration: 10s;
  background: radial-gradient(circle, rgba(255, 0, 102, 0.8) 0%, rgba(255, 107, 107, 0.4) 50%, transparent 100%);
  box-shadow: 0 0 15px rgba(255, 0, 102, 0.3);
}
.floating-element:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s; animation-duration: 12s; }
.floating-element:nth-child(4) { 
  top: 30%; left: 70%; animation-delay: 1s; animation-duration: 9s;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(30, 58, 138, 0.4) 50%, transparent 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}
.floating-element:nth-child(5) { top: 70%; left: 50%; animation-delay: 3s; animation-duration: 11s; }

@keyframes cyberFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.4; }
  25% { transform: translateY(-15px) rotate(90deg) scale(1.2); opacity: 0.7; }
  50% { transform: translateY(-30px) rotate(180deg) scale(0.8); opacity: 0.9; }
  75% { transform: translateY(-15px) rotate(270deg) scale(1.1); opacity: 0.6; }
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  padding: 80px 40px;
  background: var(--light);
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 30px;
  background: var(--light-gray);
  border-radius: 15px;
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  padding: 100px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 40px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(220, 38, 38, 0.2);
  background: #ffffff;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.service-icon:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 10px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 80px 40px;
  background: var(--primary);
  color: var(--light);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* ============================================
   Blog Section
   ============================================ */
.blog-section {
  padding: 100px 40px;
  background: var(--light);
}

.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(220, 38, 38, 0.3);
}

.blog-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.blog-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.blog-card:hover .blog-image::before {
  left: 100%;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.blog-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.blog-link:hover {
  gap: 10px;
}

.view-all-btn {
  text-align: center;
  margin-top: 30px;
}

/* ============================================
   Responsive - Home Page
   ============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 60px;
  }
  
  .hero-badge {
    min-width: 300px;
    font-size: 12px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .stats {
    padding: 60px 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-item h3 {
    font-size: 36px;
  }
  
  .services, .blog-section {
    padding: 80px 20px;
  }
  
  .services-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-card {
    padding: 30px;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .blog-image {
    height: 180px;
  }
  
  .blog-content {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    min-width: 280px;
    font-size: 11px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item h3 {
    font-size: 32px;
  }
}


