@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

@keyframes breathe-bg {
  0%,
  100% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 105% 105%;
  }
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("sayfa_ana_resim.png") center/cover no-repeat;
  height: 80vh;
  animation: breathe-bg 5s ease-in-out infinite;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.gallery-img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

.counter-box {
  border-right: 1px solid #e5e7eb;
}

.counter-box:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .counter-box {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .counter-box:last-child {
    border-bottom: none;
  }
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #ffa000;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.active::after {
  width: 100%;
}
/**********/
.animated-section {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease-out;
  visibility: hidden;
}

.animated-section.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
/**************************************/
/* Slider Styles */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}
.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-item {
  flex: 0 0 100%;
}
.slider-controls {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}
.slider-dot.active {
  background-color: white;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}
.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.9);
}
.slider-arrow.prev {
  left: 1rem;
}
.slider-arrow.next {
  right: 1rem;
}
