@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;400;500&display=swap');

:root {
  --primary-color: hsl(9, 94%, 61%);
  --primary-color2: hsl(9, 94%, 36%);

  --primary-color-alt: hsl(28, 72%, 83%);
  --second-color: #3e537c;
  --second-color-alt: hsla(220, 33%, 36%, 65%);
  --third-color: hsl(220, 36%, 28%);
  --white-color: #fbfbfb;
  --white-color-alt: hsl(12, 14%, 93%);
  --dark-color: hsl(300, 100%, 0%);
}

.slider-container {
    width: 100%;
    max-width: 100%;
    height: 850px;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1.2s ease;
    transform: scale(1.05);
    display: flex;
}
.slide-video {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 244, 0.4);
  z-index: 1;
}

.slide-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-image {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.slide-image img,
.slide-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    z-index: 2;
}



.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-title {
    transform: translateY(0);
    opacity: 1;
}

.slide-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slide.active .slide-description {
    transform: translateY(0);
    opacity: 1;
}.slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edab65 0%, #f3bfa3 100%);
  color: #000;
  border: none;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 45%;
}

.slide-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #eca04e 0%, #eb9a6e 100%);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 10px;
}

.slide-button:hover {
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.slide-button:hover:before {
  width: 100%;
}

.slide-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}
.slider-controls {
    position: absolute;
    bottom: 60px;
    right: 60px;
    display: flex;
    z-index: 10;
}

.slider-dots {
    display: flex;
    margin-right: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
  background: linear-gradient(var(--primary-color), var(--primary-color-alt));
    border-color: linear-gradient(var(--primary-color), var(--primary-color-alt));
    ;
}

.slider-arrows {
    display: flex;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.slider-arrow:hover {
  background: linear-gradient(var(--primary-color), var(--primary-color-alt));
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Responsive düzenlemeler */
@media (max-width: 1000px) {
    .slide-content {
        width: 70%;
        padding: 0 40px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-number {
        font-size: 80px;
        top: 30px;
        left: 30px;
    }
    
    .slider-controls {
        bottom: 40px;
        right: 40px;
    }

    
}

@media (max-width: 768px) {
    .slider-container {
        height: 500px;
    }
    
    .slide-content {
        width: 100%;
        padding: 0 20px;
        background: linear-gradient(0deg, rgba(253, 246, 246, 0.7) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
        justify-content: flex-end;
        padding-bottom: 80px;
    }
    
    .slide-image::after {
        background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    }
    
    .slide-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .slide-number {
        display: none;
    }
    
    .slider-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .slider-arrow {
        width: 25px;
        height: 25px;
    }
    .slide-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #edab65 0%, #f3bfa3 100%);
        color: #000;
        border: none;
        padding: 5px 46px;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
        position: relative;
        overflow: hidden;
        z-index: 1;
        width: 25%;
      }

      .slider-dot {
        width: 9px;
        height: px;
        border: 1px solid rgba(50, 49, 49, 0.5);
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
}

/* Yatay modda tabletler için */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .slider-container {
        height: 800px;
    }
    
    .slide-content {
        width: 50%;
    }
}

/* Ekstra büyük ekranlar için */
@media (min-width: 1400px) {
    .slider-container {
        height: 1200px;
    }
    
    .slide-content {
        width: 45%;
    }
    
    .slide-title {
        font-size: 56px;
    }
    
    .slide-description {
        font-size: 18px;
        max-width: 600px;
    }
}


/* Çok küçük ekranlar (örneğin iPhone 5/SE) */
@media (max-width: 320px) {
    .slider-container {
        height: 450px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-description {
        font-size: 12px;
    }
    
    .slide-button {
        width: 70%;
    }
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
    .slider-container {
        height: 500px;
    }
    
    .slide-content {
        padding: 0 20px;
        padding-bottom: 80px;
    }
    
    .slide-title {
        font-size: 22px;
    }
    
    .slide-description {
        font-size: 13px;
    }
    
    .slide-button {
        width: 60%;
        padding: 10px 20px;
        font-size: 11px;
    }
    
    .slider-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
        margin: 0 5px;
    }
}

/* Responsive düzenlemeler - Mobil (Dikey) */
@media (max-width: 768px) and (orientation: portrait) {
    .slider-container {
        height: 600px;
        color: #c9b8a8;

    }
    
    .slide-content {
        width: 100%;
        padding: 0 25px;
        justify-content: flex-end;
        padding-bottom: 100px;
        background: linear-gradient(0deg, rgba(1, 1, 1, 0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    }
    
    .slide-image::after {
        background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    }
    
    .slide-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    
    .slide-button {
        width: 50%;
        padding: 12px 24px;
        font-size: 12px;
        background: #814004;
        color: #c9b8a8;
    }
    
    .slider-controls {
        bottom: 20px;
        right: 20px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }
}
