/**
 * FRO Hero Slider
 * Şık, animasyonlu ve responsive tasarım
 */

/* ==========================================
   Base Hero Styles
   ========================================== */
.fro-hero {
  position: relative;
  min-height: 600px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f3 50%, #fff9ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 40px;
}

/* ==========================================
   Decorative Elements
   ========================================== */
.fro-hero__decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.fro-hero__decor--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: decorPulse 8s ease-in-out infinite;
}

.fro-hero__decor--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation: decorPulse 10s ease-in-out infinite reverse;
}

.fro-hero__decor--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(31, 41, 55, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: decorPulse 6s ease-in-out infinite;
}

@keyframes decorPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

/* ==========================================
   Container Layout
   ========================================== */
.fro-hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* ==========================================
   Product Sections
   ========================================== */
.fro-hero__product {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fro-hero__product-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.fro-hero__product-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

/* Left Product - Float Animation */
.fro-hero__product--left .fro-hero__product-img {
  animation: floatLeft 3s ease-in-out infinite;
  opacity: 0;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
}

/* Right Product - Float Animation (offset) */
.fro-hero__product--right .fro-hero__product-img {
  animation: floatRight 3.5s ease-in-out infinite;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes floatLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px) translateY(0);
  }
  10% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(0) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes floatRight {
  0% {
    opacity: 0;
    transform: translateX(50px) translateY(0);
  }
  10% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(0) translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Product Glow Effect */
.fro-hero__product-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(212, 168, 83, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.fro-hero__product-link:hover .fro-hero__product-img {
  transform: scale(1.08) translateY(-10px);
  filter: drop-shadow(0 40px 80px rgba(212, 168, 83, 0.25));
}

.fro-hero__product-link:hover .fro-hero__product-glow {
  opacity: 1;
}

/* ==========================================
   Center Content
   ========================================== */
.fro-hero__content {
  flex: 1.2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.fro-hero__text-wrap {
  margin-bottom: 40px;
}

.fro-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Gold Accent */
.fro-hero__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4a853, #e8c77b);
  margin: 20px auto 0;
  border-radius: 2px;
  opacity: 0;
  animation: scaleIn 0.6s ease forwards;
  animation-delay: 0.6s;
}

.fro-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ==========================================
   Buttons
   ========================================== */
.fro-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.fro-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease forwards;
}

.fro-hero__btn--primary {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: #ffffff;
  border: 2px solid transparent;
  animation-delay: 0.6s;
}

.fro-hero__btn--primary::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 ease;
}

.fro-hero__btn--primary:hover::before {
  left: 100%;
}

.fro-hero__btn--primary:hover {
  background: linear-gradient(135deg, #d4a853 0%, #e8c77b 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.4);
}

.fro-hero__btn--secondary {
  background: transparent;
  color: #d4a853;
  border: 2px solid #d4a853;
  animation-delay: 0.7s;
}

.fro-hero__btn--secondary:hover {
  background: #d4a853;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.fro-hero__btn svg {
  transition: transform 0.3s ease;
}

.fro-hero__btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================
   Scroll Indicator
   ========================================== */
.fro-hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

@keyframes fadeIn {
  to {
    opacity: 0.6;
  }
}

.fro-hero__scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #9ca3af;
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.fro-hero__scroll-wheel {
  width: 4px;
  height: 8px;
  background: #d4a853;
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.3;
  }
}

/* ==========================================
   Responsive - Tablet
   ========================================== */
@media (max-width: 1024px) {
  .fro-hero {
    min-height: 500px;
    padding: 40px 20px;
  }

  .fro-hero__container {
    gap: 20px;
  }

  .fro-hero__product-img {
    max-width: 200px;
  }

  .fro-hero__title {
    font-size: 32px;
  }

  .fro-hero__subtitle {
    font-size: 16px;
  }

  .fro-hero__btn {
    padding: 14px 28px;
    font-size: 14px;
  }
}

/* ==========================================
   Responsive - Mobile
   ========================================== */
@media (max-width: 768px) {
  .fro-hero {
    min-height: auto;
    padding: 40px 20px 60px;
  }

  .fro-hero__container {
    flex-direction: column;
    gap: 30px;
  }

  .fro-hero__product {
    order: 2;
    flex: none;
    width: 50%;
  }

  .fro-hero__product--left {
    order: 1;
  }

  .fro-hero__product--right {
    order: 3;
  }

  .fro-hero__content {
    order: 2;
    flex: none;
    padding: 20px 10px;
  }

  /* Mobile: Products side by side */
  .fro-hero__container {
    flex-wrap: wrap;
  }

  .fro-hero__product--left,
  .fro-hero__product--right {
    width: 45%;
  }

  .fro-hero__content {
    width: 100%;
  }

  .fro-hero__product-img {
    max-width: 150px;
  }

  .fro-hero__title {
    font-size: 26px;
  }

  .fro-hero__title::after {
    width: 60px;
    height: 3px;
    margin-top: 15px;
  }

  .fro-hero__subtitle {
    font-size: 15px;
  }

  .fro-hero__text-wrap {
    margin-bottom: 30px;
  }

  .fro-hero__buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .fro-hero__btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .fro-hero__scroll {
    display: none;
  }

  .fro-hero__decor--1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
  }

  .fro-hero__decor--2 {
    width: 150px;
    height: 150px;
  }
}

/* ==========================================
   Responsive - Small Mobile
   ========================================== */
@media (max-width: 480px) {
  .fro-hero {
    padding: 30px 15px 50px;
  }

  .fro-hero__product--left,
  .fro-hero__product--right {
    width: 40%;
  }

  .fro-hero__product-img {
    max-width: 120px;
  }

  .fro-hero__title {
    font-size: 22px;
  }

  .fro-hero__subtitle {
    font-size: 14px;
  }

  .fro-hero__btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  .fro-hero__product-img,
  .fro-hero__title,
  .fro-hero__subtitle,
  .fro-hero__btn,
  .fro-hero__decor,
  .fro-hero__scroll-wheel {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
