/* ------------------------------------------------ */
/* GOOGLE FONTS                                      */
/* ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Sora:wght@100..800&display=swap');

/* ------------------------------------------------ */
/* GLOBAL SETTINGS                                   */
/* ------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #204D6A;
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
  color: #ffffff;
}

/* ------------------------------------------------ */
/* NAVBAR                                            */
/* ------------------------------------------------ */

.navbar {
  width: 100%;
  padding: 25px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  animation: fadeDown 1s ease forwards;
}

.navbar.shrink {
  padding: 10px 40px;
  background-color: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.logo img {
  width: 180px;
  height: auto;
}

/* DESKTOP MENU */
.nav-links {
  display: flex;
  gap: 40px;
  font-size: 18px;
}

.links {
  text-decoration: none;
  color: #ffffff;
  text-transform: lowercase;
  transition: 0.3s ease;
}

.links:hover {
  color: #91E5F6;
}

/* ------------------------------------------------ */
/* HAMBURGER MENU                                    */
/* ------------------------------------------------ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 999;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------ */
/* MOBILE MENU                                        */
/* ------------------------------------------------ */

@media (max-width: 900px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #163549;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 35px;
    padding-top: 140px;
    transition: 0.35s ease;
    z-index: 9999;
  }

  .nav-links.open {
    right: 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hamburger {
    display: flex;
  }

  .links {
    font-size: 22px;
  }
}

/* ------------------------------------------------ */
/* HERO SECTION                                     */
/* ------------------------------------------------ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../images/şen\ yapıı.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 85%;
  animation: bgScaleFade 1.8s ease forwards;
  animation-delay: 0.3s;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-family: "Lexend", sans-serif;
  font-size: 48px;
  font-weight: 800;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-content h2 {
  margin-top: 12px;
  font-size: 24px;
  color: #91E5F6;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.8s;
}

.hero-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 45px;
  border: 2px solid #91E5F6;
  border-radius: 40px;
  color: #91E5F6;
  text-decoration: none;
  font-size: 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.1s;
}

.hero-btn:hover {
  background-color: #91E5F6;
  color: #204D6A;
}

@media (max-width: 600px) {
  .hero-bg {
    background-size: 140%;
    opacity: 0.12;
  }
}

/* ------------------------------------------------ */
/* HAKKIMIZDA                                        */
/* ------------------------------------------------ */

.about-us {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hakkimizda-texts h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hakkimizda-texts p {
  max-width: 530px;
  font-size: 18px;
  line-height: 1.34;
}

.hakkimizda-img {
  height: 550px;
  border-radius: 23px;
  overflow: hidden;
}

.hakkimizda-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------ */
/* HİZMETLER SLIDER                                   */
/* ------------------------------------------------ */

.services-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 0;
  text-align: center;
}

.services-slider h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 30px;
}

.services-tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.services-tabs .tab {
  font-size: 18px;
  color: white;
  cursor: pointer;
  padding: 6px 4px;
  transition: 0.3s;
}

.services-tabs .tab:hover {
  opacity: 0.7;
}

.tab.active {
  font-weight: 700;
}

.tab-underline {
  position: absolute;
  bottom: -6px;
  height: 3px;
  background-color: #91E5F6;
  border-radius: 2px;
  transition: 0.3s ease;
}

.services-image-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  padding-top:10px;
}

.services-image-wrapper img {
  width: 100%;
  height: 520px;  /* Tüm görüntüler aynı yükseklik */
  object-fit: cover; /* Taşmadan kırp, profesyonel görünüm */
  border-radius: 40px;
  transition: opacity 0.4s ease;
}


.fade-out {
  opacity: 0 !important;
}

@media (max-width: 600px) {
  .tab-underline {
    display: none;
  }
}

/* ------------------------------------------------ */
/* İLETİŞİM                                          */
/* ------------------------------------------------ */

.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-map {
  width: 100%;
  height: 330px;
  border-radius: 15px;
  overflow: hidden;
}

.contact-info h3 {
  font-size: 32px;
}

.contact-phone {
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
}

.whatsapp-btn,
.instagram-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 40px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
}

.whatsapp-btn {
  background: #25D366;
}
.whatsapp-btn:hover {
  opacity: 0.8;
}

.instagram-btn {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}
.instagram-btn:hover {
  opacity: 0.85;
}

/* ------------------------------------------------ */
/* FOOTER                                            */
/* ------------------------------------------------ */

.footer {
  text-align: center;
  padding: 20px 0 30px;
  opacity: 0.7;
}

/* ------------------------------------------------ */
/* SCROLL TO TOP BUTTON                              */
/* ------------------------------------------------ */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #91E5F6;
  color: #204D6A;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/* ------------------------------------------------ */
/* RESPONSIVE BREAKPOINTS                             */
/* ------------------------------------------------ */

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {

  .about-us {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
  }
}

/* ------------------------------------------------ */
/* SCROLL ANIMATIONS                                 */
/* ------------------------------------------------ */

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
}

.reveal-left.animate {
  animation: fadeLeft 1s ease forwards;
}

.reveal-right.animate {
  animation: fadeRight 1s ease forwards;
}

.reveal-up.animate {
  animation: fadeUp 1s ease forwards;
}

/* ------------------------------------------------ */
/* KEYFRAME ANIMATIONS                               */
/* ------------------------------------------------ */

@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(35px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bgScaleFade {
  0% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0.12; transform: scale(1); }
}
