/* Hero Section */
.hero {
  background: linear-gradient(rgba(19, 100, 185, 0.8), rgba(19, 100, 185, 0.8)),
    url("assets/anasayfa/anadolu-aku-safsu-bg.jpeg") no-repeat center center;
  background-size: cover;
  color: var(--white-color);
  padding: 120px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-white {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.btn-white:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  box-shadow: var(--hover-shadow);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.service-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Products Section */
.bg-light {
  background-color: var(--bg-light);
}

.product-categories {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-category {
  display: flex;
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 350px;
}

.product-category.reverse {
  flex-direction: row-reverse;
}

.product-img {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-category:hover .product-img img {
  transform: scale(1.05);
}

.product-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-content p {
  margin-bottom: 25px;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-us-item {
  text-align: center;
  padding: 20px;
}

.why-us-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.why-us-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Contact Section */
.contact-container {
  display: flex;
  background-color: var(--white-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contact-info {
  flex: 2;
  padding: 40px;
}

.contact-list {
  margin: 30px 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-list li i {
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--dark-gray);
}

.contact-cta {
  flex: 1;
  background: linear-gradient(to bottom, var(--primary-color), #0d4d9a);
  color: var(--white-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta h3 {
  margin-bottom: 15px;
}

.contact-cta p {
  margin-bottom: 30px;
}

.contact-cta .btn {
  background-color: var(--secondary-color);
  color: var(--dark-gray);
}

.contact-cta .btn:hover {
  background-color: var(--white-color);
}

/* Section Headers */
.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero {
    background: linear-gradient(
      rgba(19, 100, 185, 0.9),
      rgba(19, 100, 185, 0.9)
    );
  }

  .product-category {
    flex-direction: column;
    height: auto;
  }

  .product-category.reverse {
    flex-direction: column;
  }

  .product-category.reverse .product-img {
    order: -1;
  }

  .product-img {
    width: 100%;
    height: 250px;
  }

  .product-content {
    width: 100%;
    padding: 30px;
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .product-img {
    height: 200px;
  }
}
