/**
 * Ana Sayfa Hero Section Stilleri - Sadece Ana Sayfaya Özel
 * @package Korenel Theme
 */

/* ============================= */
/* HERO SECTION LAYOUT           */
/* ============================= */

.main-hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* ============================= */
/* BACKGROUND IMAGE SLIDER        */
/* ============================= */

.hero-background-slider .background-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-background-slider .background-slide.slide-active {
  opacity: 1;
}

/* Arka plan overlay efekti */
.hero-background-slider .background-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.4);
}

.background-slide video{
	width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/* HERO CONTENT AREA              */
/* ============================= */

.primary-hero-content {
  position: relative;
  z-index: 5;
  padding-left: 300px;
  margin-bottom: 250px;
}

.content-slide {
  letter-spacing: 0.2rem;
  display: none;
  animation: contentFadeIn 0.8s ease-in-out;
}

.content-slide.content-active {
  display: block;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-main-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  max-width: 600px;
  color: #ffffff;
}

.cta-details-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 2px solid #e63946;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-details-link:hover {
  color: #e63946;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ============================= */
/* RESPONSIVE HERO CONTENT        */
/* ============================= */

@media (max-width: 1024px) {
  .primary-hero-content {
    padding-left: 200px;
  }

  .hero-main-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .primary-hero-content {
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 200px;
    text-align: center;
  }

  .hero-main-title {
    font-size: 2.8rem;
    max-width: 100%;
  }

  .main-hero-section {
  height: 70vh  ;
  }
}

@media (max-width: 480px) {
  .primary-hero-content {
    margin-bottom: 180px;
  }

  .hero-main-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}

/* ============================= */
/* BOTTOM NAVIGATION SLIDER       */
/* ============================= */

.bottom-slider-navigation {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  z-index: 10;
  width: 100%;
}

.mobile-slider-arrows,
.mobile-slider-dots {
  display: none;
}

.navigation-card {
  flex: 1;
  max-width: 350px;
  backdrop-filter: blur(10px);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.navigation-card {
  background: linear-gradient(
    135deg,
    rgba(12, 57, 96) 0%,
    rgba(12, 57, 96) 70%,
    rgba(58, 99, 65) 100%
  );
}

.navigation-card:nth-child(1) {
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.03) 20%,
      transparent 40%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    linear-gradient(
      135deg,
      rgba(12, 57, 96) 0%,
      rgba(12, 57, 96) 70%,
      rgba(58, 99, 65) 100%
    );
}

.navigation-card:nth-child(2) {
  background: 
    /* Subtle texture layers */ linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    /* Main color gradients - Replaced radial with linear */
      linear-gradient(
        to top left,
        rgba(58, 99, 65, 1) 0%,
        rgba(12, 57, 96, 0) 50%
      ),
    /* Bottom-right green */
      linear-gradient(
        to top right,
        rgba(58, 99, 65, 1) 0%,
        rgba(12, 57, 96, 0) 50%
      ),
    /* Bottom-left green */ rgb(12, 57, 96); /* Center blue base */
}

.navigation-card:nth-child(3) {
  background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.03) 20%,
      transparent 40%
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 25%,
      transparent 50%
    ),
    linear-gradient(35deg, rgba(58, 99, 65) 0%, rgba(12, 57, 96) 40%);
}

.navigation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.navigation-card.nav-active {
}

.navigation-card.nav-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #374151;
  z-index: -1;
  animation: fadeInScale 0.5s ease-out forwards;
}

.navigation-card:not(:last-child) {
  border-right: 2px solid rgba(255, 255, 255, 0.25);
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.card-icon {
  color: #ffffff;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.card-icon svg {
  width: 36px;
  height: 36px;
}

.card-content-text .card-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 6px;
  transition: color 0.4s ease;
  color: #ffffff;
}

.card-content-text .card-description {
  font-size: 0.85rem;
  font-weight: 300;
  color: #cccccc;
  line-height: 1.4;
}

/* ============================= */
/* RESPONSIVE BOTTOM NAVIGATION   */
/* ============================= */

@media (max-width: 1024px) {
  .navigation-card {
    padding: 20px 25px;
    gap: 15px;
  }

  .card-content-text .card-title {
    font-size: 1rem;
  }

  .card-content-text .card-description {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .bottom-slider-navigation {
    display: none;
  }

  .mobile-slider-arrows,
  .mobile-slider-dots {
    display: flex;
  }

  .mobile-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
  }

  .slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
  }

  .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .slider-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
  }

  .mobile-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .slider-dot.dot-active {
    background: #ffffff;
    transform: scale(1.2);
  }
}

@media (max-width: 480px) {
  .navigation-card {
    padding: 15px 4%;
    gap: 12px;
  }

  .card-icon svg {
    width: 28px;
    height: 28px;
  }

  .card-content-text .card-title {
    font-size: 0.95rem;
  }

  .card-content-text .card-description {
    font-size: 0.75rem;
  }
}

/* ============================= */
/* ANIMATION KEYFRAMES            */
/* ============================= */

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideTransition {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
