/* GENEL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GENEL BODY AYARLARI */
html,
body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  color: #333;
}

/* HERO CAROUSEL */
.carousel-item img {
  object-fit: cover;
  width: 100%;
  max-height: 600px;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 10px;
}

/* NEDEN BİZ BÖLÜMÜ */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #666;
  font-size: 0.95rem;
}

/* HİZMETLER BÖLÜMÜ */
.services-marquee {
  padding: 4rem 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  gap: 1rem;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.service-item {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
  font-weight: bold;
}

.service-item p {
  font-size: 0.9rem;
  color: #666;
  padding: 0 1rem 1rem;
}

/* İLETİŞİM CTA */
.contact-section {
  padding: 3rem 0;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-section p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-section .btn {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

/* FOOTER */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

footer a {
  color: #00bcd4;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
  .marquee-container {
    animation: marquee 15s linear infinite;
  }

  .carousel-caption {
    font-size: 0.9rem;
  }

  .service-item {
    flex: 0 0 250px;
  }

  .service-item img {
    height: 120px;
  }
}
/* Hakkımızda Bölümü */
.about-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.8;
}

.about-section h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #222;
}

.about-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.about-section a {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}

.about-section a:hover {
  text-decoration: underline;
}

/* İletişim */
.contact-links {
  margin-top: 2rem;
  text-align: center;
}

.contact-links a {
  display: inline-block;
  margin: 0 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
  color: #fff;
  background-color: #007bff;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.contact-links a:hover {
  background-color: #0056b3;
}

/* Üst Bilgilendirme Alanı */
.info-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.info-section img {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-section h1 {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 1rem;
}

.info-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.info-section .btn {
  margin-right: 1rem;
}

/* Hizmetler Bölümü */
.services-marquee {
  padding: 4rem 0;
  background-color: #bbb6b6;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  display: flex;
  gap: 1rem;
  animation: none; /* Animasyonu JavaScript kontrol eder */
  will-change: transform;
}

.service-item {
  flex: 0 0 calc(20% - 1rem); /* 4 kart görünür */
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

.service-item p {
  font-size: 0.9rem;
  color: #666;
  padding: 0 1rem 1rem;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: block;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.bg-img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center !important;
}
