/*Arka plan bulutlar*/
.sky {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}


.cloud {
  position: relative;
  animation: floatCloud 25s linear infinite;
  background: white;
  border-radius: 50%;
  box-shadow: white 65px -15px 0 -4px, white 25px -25px, white 30px 10px, white 60px 15px 0 -10px, white 85px 5px 0 -5px;
  height: 50px;
  width: 50px;
  margin: auto;
}


.cloud:after {
  animation: cloud_shadow 5s ease-in-out infinite;
  background: black;
  border-radius: 50%;
  content: '';
  height: 15px;
  width: 120px;
  opacity: 0.2;
  position: absolute;
  bottom: -50px;
}
.cloud.c1 {
  top: 12%;
  left: -20%;
  animation-duration: 55s;
  transform: scale(1.2);
}

.cloud.c2 {
  top: 28%;
  left: -40%;
  animation-duration: 42s;
  transform: scale(0.9);
}

.cloud.c3 {
  top: 45%;
  left: -30%;
  animation-duration: 65s;
  transform: scale(1.4);
  opacity: 0.75;
}

.cloud.c4 {
  top: 18%;
  left: -60%;
  animation-duration: 38s;
  transform: scale(0.7);
}

.cloud.c5 {
  top: 60%;
  left: -50%;
  animation-duration: 48s;
  transform: scale(1);
}

.cloud.c6 {
  top: 75%;
  left: -70%;
  animation-duration: 72s;
  transform: scale(1.6);
  opacity: 0.6;
}

@keyframes floatCloud {
  from {
    transform: translateX(0) scale(var(--scale, 1));
  }
  to {
    transform: translateX(140vw) scale(var(--scale, 1));
  }
}

@keyframes cloud_shadow {
  50% {
    transform: translateY(0px) scale(.7);
    opacity: .05;
  }
}

body:not(.light) .sky {
  display: none;
}
/*Arka plan yıldız kısmı*/
body.light .stars,
body.light .shooting-star {
  display: none;
}
.stars {
  width: 1px;
  height: 1px;
  position: absolute;
  inset: 0;
  background: white;
  box-shadow:
    2vw 5vh 2px white,
    10vw 8vh 2px white,
    15vw 15vh 1px white,
    22vw 22vh 1px white,
    28vw 12vh 2px white,
    32vw 32vh 1px white,
    38vw 18vh 2px white,
    42vw 35vh 1px white,
    48vw 25vh 2px white,
    53vw 42vh 1px white,
    58vw 15vh 2px white,
    63vw 38vh 1px white,
    68vw 28vh 2px white,
    73vw 45vh 1px white,
    78vw 32vh 2px white,
    83vw 48vh 1px white,
    88vw 20vh 2px white,
    93vw 52vh 1px white,
    98vw 35vh 2px white,
    5vw 60vh 1px white,
    12vw 65vh 2px white,
    18vw 72vh 1px white,
    25vw 78vh 2px white,
    30vw 85vh 1px white,
    35vw 68vh 2px white,
    40vw 82vh 1px white,
    45vw 92vh 2px white,
    50vw 75vh 1px white,
    55vw 88vh 2px white,
    60vw 95vh 1px white,
    65vw 72vh 2px white,
    70vw 85vh 1px white,
    75vw 78vh 2px white,
    80vw 92vh 1px white,
    85vw 82vh 2px white,
    90vw 88vh 1px white,
    95vw 75vh 2px white;
  animation: twinkle 8s infinite linear;
}
.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  animation: shoot 3s infinite ease-in;
}
.shooting-star:nth-child(1) {
  top: 20%;
  left: -100px;
  animation-delay: 0s;
}
.shooting-star:nth-child(2) {
  top: 35%;
  left: -100px;
  animation-delay: 1s;
}
.shooting-star:nth-child(3) {
  top: 50%;
  left: -100px;
  animation-delay: 2s;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(25deg);
    opacity: 1;
  }
  100% {
    transform: translateX(120vw) translateY(50vh) rotate(25deg);
    opacity: 0;
  }
}
/* Additional twinkling stars with different animation timing */
.stars::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 1px;
  background: white;
  box-shadow:
    8vw 12vh 2px white,
    16vw 18vh 1px white,
    24vw 25vh 2px white,
    33vw 15vh 1px white,
    41vw 28vh 2px white,
    49vw 35vh 1px white,
    57vw 22vh 2px white,
    65vw 42vh 1px white,
    73vw 28vh 2px white,
    81vw 48vh 1px white,
    89vw 32vh 2px white,
    97vw 45vh 1px white,
    3vw 68vh 2px white,
    11vw 75vh 1px white,
    19vw 82vh 2px white,
    27vw 88vh 1px white,
    35vw 72vh 2px white,
    43vw 85vh 1px white,
    51vw 92vh 2px white,
    59vw 78vh 1px white;
  animation: twinkle 6s infinite linear reverse;
}
.stars,
.shooting-star {
  pointer-events: none;
}


/*hero kısmı*/
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  color: #fff;
  padding: 80px 60px;
  gap: 50px;
}

.hero-content {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom-right-radius: 20px;
  flex: 1.2;
  padding: 120px 80px;
  color: #fff;
  position: relative;
  background: transparent;
  z-index: 2;
}
.hero h1 {
  color: #f9fafb;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #b7bbd8;
  margin-bottom: 35px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btnpri {
  text-decoration: none;
  background: linear-gradient(90deg, #6f7cff, #8f6bff);
  color: #fff;
  padding: 14px 32px;
  border-radius: 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(111, 124, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(143, 107, 255, 0.5);
  }
}

.btnpri:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 124, 255, 0.4);
}
.btnsec {
  text-decoration: none;
  border: 1px solid #6c5ce7;
  color: #fff;
  padding: 14px 32px;
  border-radius: 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btnsec:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 124, 255, 0.4);
}
/*light version*/
body.light .btnsec {
  text-decoration: none;
  border: 1.5px solid #4facfe;
  color: #1e3a5f;
  background: rgba(255, 255, 255, 0.7);

  padding: 14px 32px;
  border-radius: 20px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}
body.light .btnsec:hover {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #ffffff;

  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(79, 172, 254, 0.4);
}
/*hizmetler bölümü */
.services * {
  position: relative;
  z-index: 2;
}

.servis {
  padding: 120px 8%;
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(255, 210, 170, 0) 0%,
    rgba(255, 190, 140, 0.25) 20%,
    rgba(255, 150, 110, 0.55) 40%,
    rgba(220, 110, 150, 0.75) 60%,
    rgba(120, 90, 180, 0.9) 80%,
    rgba(40, 50, 120, 1) 100%
  );
}
/*baslık*/
.servis-title {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
  position: relative;
}
.servis-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 5px auto 0;
  background: linear-gradient(90deg, #6f7cff, #8f6bff);
  border-radius: 2px;
}
.title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f9fafb;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, #c7d2fe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hizmetler {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hizmet {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hizmet:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 210, 170, 0.5);
}

.hizmet h3 {
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
  color: #ffffff;
  opacity: 0.95;
}

.hizmet ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hizmet ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  opacity: 0.85;
}

.hizmet ul li::before {
  content: "•";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.teklif {
  text-align: center;
  margin-top: 100px;
}

.not {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.teklif-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  border: 1px solid rgba(255, 210, 170, 0.6);
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.teklif-btn:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(255, 210, 170, 0.2);
  border-color: rgba(255, 210, 170, 1);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nav-bar {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .hero-content {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btnpri,
  .btnsec {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 0;
  }
  .hero-content {
    padding: 80px 40px;
    border-radius: 0;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cloud.c6 {
    display: none;
  }
}
@media (max-width: 800px) {
  .cloud.c5,
  .cloud.c6 {
    display: none;
  }
}
