/* Kampanyalar Sayfası CSS */

/* Hero Section */
.kampanyalar-hero {
  background: linear-gradient(135deg, #f0f8f7 0%, #e8f8f7 100%);
  padding: 100px 0 80px 0;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Kategori Filtreleri */
.category-filters {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.filters-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filters-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #666;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #00b7b2;
  color: #00b7b2;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #00b7b2;
  border-color: #00b7b2;
  color: #ffffff;
}

/* Kampanyalar Grid */
.kampanyalar-grid {
  padding: 60px 0;
  background: #f8fffe;
}

.kampanyalar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.kampanya-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.kampanya-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.kampanya-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.kampanya-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kampanya-card:hover .kampanya-image img {
  transform: scale(1.05);
}

.kampanya-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6b6b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.kampanya-esnaf {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.kampanya-content {
  padding: 25px;
}

.kampanya-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.kampanya-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.kampanya-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.kampanya-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #666;
}

.info-item i {
  color: #00b7b2;
}

.kampanya-price {
  text-align: right;
}

.old-price {
  display: block;
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}

.new-price {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #00b7b2;
}

.kampanya-actions {
  width: 100%;
}

.kampanya-actions .btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .kampanyalar-hero {
    padding: 80px 0 60px 0;
    min-height: 40vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .kampanyalar-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .kampanya-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .kampanya-price {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .kampanyalar-hero {
    padding: 60px 0 40px 0;
    min-height: 30vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .kampanya-content {
    padding: 20px;
  }
}