/**
 * Main Page Styles
 * Ana sayfa için özel stiller
 */
@import url('./shared.css');

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  max-width: 1400px;
  margin: 100px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 93, 58, 0.85), rgba(45, 134, 89, 0.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-content .btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(244, 180, 26, 0.4);
  position: relative;
  overflow: hidden;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.hero-content .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f4b41a, #e6a410);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-content .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(244, 180, 26, 0.5);
}

.hero-content .btn:hover::before {
  opacity: 1;
}

.hero-content .btn span {
  position: relative;
  z-index: 1;
}

.maintenance-slide {
  background: #1c4330;
  color: #d8b768;
}

.maintenance-slide::before {
  background: linear-gradient(135deg, rgba(28, 67, 48, 0.85), rgba(45, 134, 89, 0.75));
}

.maintenance-slide .hero-content h2 {
  color: #d8b768;
}

.maintenance-slide .hero-content p {
  color: rgba(216, 183, 104, 0.9);
}

.slider-main-image {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 8px 24px rgba(244, 180, 26, 0.3));
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-main-image:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 12px 32px rgba(244, 180, 26, 0.4));
}

.hero-logo {
  width: 200px;
  margin: 0 auto 25px;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(244, 180, 26, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  mix-blend-mode: normal;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 8px 24px rgba(244, 180, 26, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  }
  50% {
    filter: drop-shadow(0 12px 32px rgba(244, 180, 26, 0.6)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
  }
}

.hero-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 12px 40px rgba(244, 180, 26, 0.6)) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.3));
}

.hero-contact {
  margin-top: 25px;
  color: rgba(216, 183, 104, 0.95);
  font-size: 16px;
  line-height: 1.7;
}

.hero-contact p {
  margin-bottom: 10px;
}

.hero-contact a {
  color: #f4b41a;
  text-decoration: none;
  font-weight: 700;
}

.hero-contact a:hover {
  text-decoration: underline;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Slider Indicators */
.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 40px;
  border-radius: 6px;
  background: var(--white);
}

/* ===== PRODUCTS SECTION ===== */
.products-preview {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeIn 1s ease;
}

.section-header .subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-header h3 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(45, 134, 89, 0.2);
}

.product-card:hover::before {
  opacity: 0.05;
}

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.product-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.product-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

.btn-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.btn-product:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-slider {
    height: 500px;
    margin: 100px 20px 0;
    border-radius: 20px;
  }
  
  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }
  
  .hero-logo {
    width: 200px;
  }
  
  .slider-main-image {
    max-height: 400px;
  }
  
  .hero-contact {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 400px;
    margin: 100px 15px 0;
    border-radius: 16px;
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  
  .hero-content .btn {
    padding: 14px 30px;
    font-size: 14px;
  }

  .hero-logo {
    width: 160px;
  }

  .slider-main-image {
    max-height: 300px;
    border-radius: 12px;
  }

  .hero-contact {
    font-size: 14px;
  }
  
  .section-header h3 {
    font-size: 36px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .slider-control {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev { left: 10px; }
  .next { right: 10px; }
  
  .slider-indicators {
    bottom: 15px;
  }
}
