* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

a:hover {
  color: #2563eb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 15px;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  z-index: 1000;
}

.logo {
  width: 250px;
  height: 100px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  padding: 10px 15px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  margin: 0 10px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 4px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  display: block;
  font-weight: normal;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background-color: #2563eb;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover>a {
  color: #2563eb;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #2563eb;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-light {
  padding: 40px;
  background-color: #f3f4f6;
}

.center {
  text-align: center;
}

.container.center {
  display: block;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
  width: 100%;
  display: block;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.hizmetalani {
  width: calc(33.333% - 20px);
  background: #f0f4ff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  font-size: 15px;
  color: #333;
  text-align: center;
}

.hizmetalani img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.hizmetalani h4 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hizmetalani p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #222;
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  display: flex;
  text-align: center;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1 1 300px;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 240px
}

.simge {
  display: flex;
  list-style: none;
  margin: 10px;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.contact-info {
  flex: 1 1 300px;
  padding-left: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.icon {
  color: #2563eb;
  font-size: 20px;
  min-width: 24px;
  text-align: center;
}

.text {
  flex: 1;
  text-align: left;
}

.hakları {
  background-color: #000;
  color: white;
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 10px;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.referanslar h2 {
  margin-top: -20px;
  margin-bottom: 40px;
}

.referanslar {
  padding: 50px 15px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.referans-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
}

.referans-foto {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.referans-foto img {
  width: 215px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 5px;
}

.referans-foto img:hover {
  transform: scale(1.15);
}

.phone-call-button,
.whatsapp-float {
  position: fixed;
  left: 10px;
  border-radius: 50%;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
}

.phone-call-button {
  bottom: 80px;
  background-color: #2563eb;
  font-size: 24px;
  padding: 14px;
}

.phone-call-button:hover {
  background-color: #1d4ed8;
}

.whatsapp-float {
  bottom: 20px;
  background-color: #25d366;
  font-size: 28px;
  width: 50px;
  height: 50px;
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 9999;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 15px;
  }

  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 10px 0;
    width: 100%;
    font-size: 1rem;
    margin: 0;
  }

  .logo {
    width: 180px;
    height: auto;
    margin-bottom: 10px;
  }

  .slider-container {
    height: 60vh;
  }

  .slide img {
    height: 60vh;
  }

  .grid {
    flex-direction: column;
    gap: 95px;
  }

  .hizmetalani {
    width: 100%;
    max-width: 400px;
    padding: 25px;
    font-size: 1.3rem;
    transform: scale(1.2);
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .contact-info {
    flex: unset;
    padding: 10px 0;
    width: 100%;
  }

  .simge {
    justify-content: center;
  }

  .contact-item {
    justify-content: center;
  }

  .icon {
    margin-right: 5px;
  }

  .hakları {
    white-space: normal;
  }

  .referans-slider {
    gap: 15px;
    padding: 10px 0;
  }

  .referans-foto img {
    width: 150px;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: transparent;
  }

  .dropdown-content.show {
    display: block !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 10000;
  }

  .menu.active {
    right: 0;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
  }

  .menu a {
    text-align: center;
  }

  .hero-slider {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .slider-container {
    position: relative;
    width: 100%;
    height: auto;
  }

  .slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .slide {
    width: 100%;
    flex-shrink: 0;
  }

  .slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
}