/* Hero Slider */
.dibas-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Slide Background */
.dibas-slide-bg {
  opacity: 0;
  transition: opacity 0.1s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.dibas-slide-bg.active {
  opacity: 1;
}

/* Ken Burns Effect */
.dibas-slide-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slide Container */
.dibas-hero-slide {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

/* Overlay */
.dibas-hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Content */
.dibas-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.dibas-hero-text {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.5s;
  color: #fff;
}

.owl-item.active .dibas-hero-text {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Animations */
.owl-item {
  transition: all 1s ease;
}

/* Ken Burns animations for each slide */
.dibas-hero-slide:nth-child(1) .dibas-slide-bg.active {
  animation: kenBurnsTop 20s ease-out both;
}

.dibas-hero-slide:nth-child(2) .dibas-slide-bg.active {
  animation: kenBurnsBottom 20s ease-out both;
}

.dibas-hero-slide:nth-child(3) .dibas-slide-bg.active {
  animation: kenBurnsRight 20s ease-out both;
}

.dibas-hero-slide:nth-child(4) .dibas-slide-bg.active {
  animation: kenBurnsZoomRotate 20s ease-out both;
}

/* Ken Burns Animations */
@keyframes kenBurnsTop {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.2) translateY(-30px);
  }
}

@keyframes kenBurnsBottom {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.2) translateY(30px);
  }
}

@keyframes kenBurnsRight {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.2) translateX(30px);
  }
}

@keyframes kenBurnsZoomRotate {
  from {
    transform: scale(1) rotate(0deg);
  }
  to {
    transform: scale(1.3) rotate(3deg);
  }
}

/* Fade animations for slide transitions */
.owl-carousel .owl-item .dibas-hero-slide {
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 0.1s ease;
}

.owl-carousel .owl-item.active .dibas-hero-slide {
  transform: scale(1);
  opacity: 1;
}

/* Text animations */
.fade-in-up {
  animation: fadeInUp 1s ease-out both;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out both;
}

.slide-in-right {
  animation: slideInRight 1s ease-out both;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth transition between slides */
.owl-carousel .owl-stage {
  transition: none !important;
}

.owl-carousel .owl-item {
  transition: none;
}

/* Navigation */
.dibas-hero .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 4;
}

.dibas-hero .owl-nav button:hover {
  background: rgba(255, 182, 0, 0.9) !important;
}

.dibas-hero .owl-prev {
  left: 20px;
}

.dibas-hero .owl-next {
  right: 20px;
}

.dibas-hero .owl-nav i {
  color: #fff;
  font-size: 24px;
  line-height: 50px;
}

/* Dots */
.dibas-hero .owl-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.dibas-hero .owl-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s ease;
}

.dibas-hero .owl-dot.active {
  background: #ffb600 !important;
}

/* Carousel Fade Animation */
.owl-carousel .owl-item {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-carousel .owl-item:not(.active) {
  opacity: 0;
  pointer-events: none;
}

/* Resim geçiş efektleri */
.dibas-slide-bg {
  transform-origin: center;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dibas-slide-bg.active {
  animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

/* Yeni Text Animasyonları */
.zoom-fade-in {
  animation: zoomFadeIn 1.2s ease-out both;
}

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

/* Carousel Transitions */
.owl-carousel .owl-stage-outer {
  background: none;
}

.owl-carousel .owl-item {
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.owl-carousel .owl-item.active {
  opacity: 1;
}

/* Fade Animation Override */
.owl-carousel.owl-loaded {
  display: block;
  overflow: hidden;
}

.owl-carousel .owl-stage {
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Fade Animation */
.fadeIn, .fadeOut {
  animation: none;
}

.owl-carousel .owl-stage-outer {
  background: none;
}

/* Keep only Ken Burns effect */
.dibas-hero-slide:nth-child(1) .dibas-slide-bg.active {
  animation: kenBurnsTop 20s ease-out both;
}

.dibas-hero-slide:nth-child(2) .dibas-slide-bg.active {
  animation: kenBurnsBottom 20s ease-out both;
}

.dibas-hero-slide:nth-child(3) .dibas-slide-bg.active {
  animation: kenBurnsRight 20s ease-out both;
}

.dibas-hero-slide:nth-child(4) .dibas-slide-bg.active {
  animation: kenBurnsZoomRotate 20s ease-out both;
}

/* Hero Text Styles */
.dibas-hero-text h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.dibas-hero-text h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* CD Headline Styles */
.cd-headline {
  font-size: 44px;
}

.cd-words-wrapper {
  color: #ffb600;
}

.cd-words-wrapper b {
  font-weight: 500;
}

/* Button Hover Effect */
.hero-btn.style1:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

/* Responsive Text Sizes */
@media (max-width: 768px) {
  .dibas-hero-text h1 {
    font-size: 36px;
  }
  
  .dibas-hero-text h4 {
    font-size: 16px;
  }
  
  .cd-headline {
    font-size: 32px;
  }
}

/* Feature Section */
.dibas-feature-section {
  position: relative;
  margin: 80px 0;  /* Üst ve alt margin */
  z-index: 10;
  padding: 0 15px;
  background: transparent;
}

.dibas-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.dibas-feature-item {
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dibas-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 182, 0, 0.1), rgba(255, 182, 0, 0));
  opacity: 0;
  transition: all 0.4s ease;
}

.dibas-feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 12px 12px 40px rgba(0, 0, 0, 0.15);
}

.dibas-feature-item:hover::before {
  opacity: 1;
}

.dibas-feature-icon-wrap {
  position: relative;
  margin-bottom: 25px;
}

.dibas-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.dibas-feature-item:hover .dibas-feature-icon {
  background: #ffb600;
  transform: rotateY(180deg);
}

.dibas-feature-icon i {
  font-size: 36px;
  color: #333;
  transition: all 0.4s ease;
}

.dibas-feature-item:hover .dibas-feature-icon i {
  color: #fff;
  transform: rotateY(-180deg);
}

.dibas-feature-line {
  width: 50px;
  height: 2px;
  background: #ffb600;
  margin: 15px auto 0;
  position: relative;
  transition: all 0.4s ease;
}

.dibas-feature-line::before,
.dibas-feature-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb600;
  top: -2px;
}

.dibas-feature-line::before {
  left: 0;
}

.dibas-feature-line::after {
  right: 0;
}

.dibas-feature-item:hover .dibas-feature-line {
  width: 80px;
}

.dibas-feature-title {
  color: #333;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.dibas-feature-desc {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  transition: all 0.3s ease;
}

.dibas-feature-item:hover .dibas-feature-title {
  color: #ffb600;
}

/* Responsive Design */
@media (max-width: 991px) {
  .dibas-feature-section {
    margin: 60px 0;
  }
  
  .dibas-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .dibas-feature-section {
    margin: 40px 0;
  }
  
  .dibas-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Gold Gradient HR */
.gold-hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right,
    rgba(255, 182, 0, 0) 0%,
    rgba(255, 182, 0, 0.2) 15%,
    rgba(255, 182, 0, 0.5) 30%,
    rgba(255, 182, 0, 1) 50%,
    rgba(255, 182, 0, 0.5) 70%,
    rgba(255, 182, 0, 0.2) 85%,
    rgba(255, 182, 0, 0) 100%
  );
  margin: 40px auto;
  max-width: 100%;
}

/* İnce versiyon */
.gold-hr.thin {
  height: 0.5px;
}

/* Kalın versiyon */
.gold-hr.thick {
  height: 2px;
}

/* Dar versiyon */
.gold-hr.narrow {
  max-width: 80%;
} 