/* === GENEL AYARLAR === */
:root {
  --background: #F5F5F5; /* Soft Arkaplan */
  --primary: #D4A5FF; /* Soft Mor */
  --secondary: #AEEBFF; /* Pastel Mavi */
  --text-dark: #444; /* Koyu Metin Rengi */
  --text-light: #666; /* Açık Metin Rengi */
  --white: #FFFFFF; /* Beyaz */
  --shadow: rgba(0, 0, 0, 0.1); /* Hafif Gölge */
  --background: #f8f9fa; /* Açık gri arka plan */
  --text-dark: #333;     /* Koyu metin rengi */
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--background);
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  
}

.row {
  margin: 0 auto; /* Taşmayı engellemek için hizalama */
}


.logo-container {
  height: 70px; /* Navbar yüksekliğiyle aynı */
  display: flex;
  align-items: center; /* Logoyu dikey olarak ortalar */
  justify-content: center; /* Yatayda ortalama */
  overflow: hidden; /* Taşma durumunda keser */
}

/* Logo resmi */
.logo img{
  height: 100px; /* Logonun yüksekliğini artırır */
  width: auto; /* Genişliği orantılı tutar */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Geçiş efektleri */
}

.navbar.scrolled .logo img{
  opacity: 0.5; /* Opaklığı azalt */
  transform: scale(0.9); /* Hafif küçült (isteğe bağlı) */
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  padding: 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px var(--shadow);
  z-index: 1000;
  background: rgb(0, 0, 0); /* Başlangıç opaklık */
  transition: background 0.3s ease;
  overflow: hidden !important;
}

.navbar.scrolled {
  background: rgba(114, 113, 113, 0.529)!important; 
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background: var(--secondary);
  color: var(--white);
}

    /* Hero Section Professional Design */
    .hero {
      position: relative;
      height: 100vh;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 1.0), rgba(0, 0, 0, 0.7)), url('images/hero.jpg') no-repeat center center/cover;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      overflow: hidden;
      opacity: 0;
      margin-bottom: -10px;
      transform: translateY(20px);
      transition: opacity 1s ease-out, transform 1s ease-out;
    }

    .hero.show {
      opacity: 1;
      transform: translateY(0);
    }

    .hero-content {
      text-align: center;
      max-width: 700px;
      z-index: 2;
    }

    .hero-content h1 {
      font-size: 2.2rem !important;
      margin-bottom: 20px; 
      font-weight: 700 !important;
      color: #fff;
      text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    }

    .hero-content h1 span {
      color: #8e44ad;
    }

    .hero-content p {
      font-size: 1.2rem !important;
      line-height: 1.8 !important;
      margin-bottom: 30px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-content .cta-button {
      background: #5a1e6b;
      color: #fff;
      padding: 12px 30px;
      border: none;
      border-radius: 5px !important;
      font-size: 1rem !important;
      font-weight: bold;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .hero-content .cta-button:hover {
      background: #5a1e6b;
    }


/* === SAYFA BÖLÜMLERİ (PAGE) === */
.page {
  padding-top: 120px; 
  padding-bottom: 60px; 
  min-height: calc(100vh - 120px); 
}

/* === HAKKIMIZDA (ABOUT) === */

#about {
  background: linear-gradient(to bottom, #8453937f, #ffffff); 
  margin-top: 0px; 
  z-index: 5;
  padding: 110px 30px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.page {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page.show {
  opacity: 1;
  transform: translateY(0);
}

.page.hidden {
  opacity: 0;
  transform: translateY(50px);
}

#about.show {
  opacity: 1;
  transform: translateY(0);
}
    .about-section {
      background: linear-gradient(to bottom, #691b8a, #ffffff);
      padding: 70px 20px;
      text-align: center;
      color: #fff;
    }

    .about-section h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
      color: #333;
    }

    .about-section p {
      font-size: 1.2rem;
      line-height: 1.8;
      max-width: 800px;
      margin: 0 auto;
      color: #333;
    }
    .about-section .promo-video {
      margin-top: 30px;
      text-align: center;
    }
    
    .about-section .promo-video h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
      color:#333;
    }
    
#about .promo-video video {
  display: block;  /* Videoyu görünür yapar */
  width: 100%;      /* Ekran genişliğine uyum sağlar */
  max-width: 600px; /* Videonun max genişliği, istediğiniz boyutta ayarlayabilirsiniz */
  margin: 20px auto; /* Ortalamak için */
  height: auto;     /* Orantılı yüksekliği korur */
  border-radius: 10px; /* Köşe yuvarlama */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Gölge efekti */
}


/* === HİZMETLER (SERVICES) === */

#services {
  background: linear-gradient(to top, #f9f9f9, #ffffff);
  padding: 110px 20px;
  margin-top: -1px; 
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

#services h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 300px;
  flex: 1 1 calc(33.333% - 30px);
  text-align: center;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #333;
}

.card p {
  font-size: 1rem;
  color: #666;
  padding: 0 15px 20px;
}

/*our works*/

#gallery {
  
  text-align: center;
  padding: 20px 0;
  background: #f9f9f9;
}

#gallery h2{
  font-size: 2.5rem;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  list-style: none;
}

.carousel-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; 
  border-radius: 10px;
  object-fit: cover;
}

button.prev, button.next {
  background-color: rgba(108, 99, 255, 0.8); 
  color: white;
  border: none;
  padding: 15px;
  font-size: 2rem; 
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
  line-height: 1;
  font-size: 2rem;
}

button.prev {
  left: -50px;
  font-size: 2rem;
}

button.next {
  right: -50px;
  font-size: 2rem;
}

button:hover {
  background-color: rgba(87, 75, 198, 0.9);
  transform: scale(1.1);
}



/* === PROJELERİMİZ === */
.projects {
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.project-gallery {
  display: flex; /* Kartları yatayda hizalamak için flexbox */
  justify-content: center; /* Ortalamak için */
  gap: 30px; /* Kartlar arasındaki boşluk */
  flex-wrap: nowrap; /* Alt alta geçmeyi engeller */
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 250px; /* Kart genişliği */
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05); /* Hover efekti */
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.9rem;
  color: #555;
}
.card a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.card a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
  transition: transform 0.3s ease, opacity 0.3s ease;
}



/* === İLETİŞİM (CONTACT) === */
.contact-section {
  position: relative;
  background: linear-gradient(to top, rgba(132, 83, 147, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 110px 20px;
  margin-top: 0px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  min-height: calc(100vh - 200px);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -60px; /* Üst kenarı kaplar */
  left: 0;
  right: 0;
  height: 60px; /* Yumuşak geçiş alanı */
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0));
  z-index: 1;
  pointer-events: none; /* Tıklanabilir alanı engellemez */
}


.contact-section.show {
  opacity: 1;
  transform: translateY(0);
}


#contact h2 {
  font-size: 2.5rem;
  text-align: center; 
  margin: 50px 70px; 
}

#contact p {
  font-size: 1.2rem !important; /* Yazı boyutunu büyütüyoruz */
  text-align: center; /* Ortalıyoruz */
  margin: 20px auto; /* Yukarı-aşağı boşluk ve ortalama */
  line-height: 1; /* Satır aralığını artırıyoruz */
  max-width: 800px; /* Genişliği sınırlayıp düzgün görünüm sağlıyoruz */
  color: #666; /* Yazı rengi */
}


form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 70px;
  text-align: center;
}


form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--shadow);
  background: var(--background);
  color: var(--text-dark);
}

form button {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

form button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px var(--shadow);
}

/* Legal Page Stilleri */
.legal-page {
  padding: 120px 30px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #444;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  color: #555;
}

.legal-page p {
  margin-bottom: 15px;
  color: #666;
}


/* === FOOTER === */
.footer {
  text-align: center;
  padding: 20px;
  background: var(--background);
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-light); 
  text-decoration: none; 
  font-size: inherit; 
}

.footer a:hover {
  text-decoration: underline; 
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white); 
  color: var(--text-dark);
  padding: 15px 20px;
  border-radius: 10px; 
  box-shadow: 0 2px 10px var(--shadow); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.cookie-banner.hidden {
  display: none; 
}


.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cookie-modal.hidden {
  display: none; 
}


.cookie-modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cookie-modal-content h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.cookie-modal-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #666;
}

.cta-button {
  background: #6c63ff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.cta-button:hover {
  background: #574bc6;
}

.close-button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #6c63ff;
  cursor: pointer;
  margin-top: 20px;
  display: inline-block;
}

.close-button:hover {
  color: #574bc6;
}


body {
  background: none; 
}

/* === ANİMASYONLAR === */
.page {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page.show {
  opacity: 1;
  transform: translateY(0);
}


/* === Mobil Uyum için Media Query === */

/* Tablet ve Mobil (768px ve altı) */
@media (max-width: 768px) {
      .container {
    padding: 0 10px; /* Kenarlarda taşmayı önler */
    margin: 0 auto; /* Ortalar */
    max-width: 100%; /* Genişliği ekrana uyarlar */
  }
}
.section {
  background-image: url('background.jpg'); /* Arka plan görseli */
  background-size: cover; /* Görseli tamamen kapsar */
  background-position: center; /* Görseli ortalar */
  background-repeat: no-repeat; /* Tekrar etmeyi engeller */
  width: 100%;
  min-height: 100vh; /* Tam ekran yüksekliği */
  margin: 0;
  padding: 0;
  display: flex; /* İçerikleri hizalamak için */
  align-items: center; /* Dikey hizalama */
  justify-content: center; /* Yatay hizalama */
}

  /* Navbar */
   .navbar {
    flex-direction: column; /* Navbar dikey hizalanır */
    align-items: flex-start; /* Sol tarafa hizalanır */
    font-size: 0.7rem;
  }

  .nav-links {
    gap: 10px; /* Aralarındaki boşluk küçülür */
  }
  /* Hero Section */
  .hero h1 {
    font-size: 2rem;
    margin-top: 100px; /* Üst boşluk optimize edildi */
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero .cta-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  /* About Section */
  .about-section {
    padding: 40px 20px; /* Daha küçük kenar boşlukları */
    font-size: 0.8rem;
  }

  /* Projects Section */
  .projects {
    padding: 40px 20px;
  }

  .project-gallery {
    display: flex;
    flex-wrap: wrap; /* Kartların alt alta geçmesine izin ver */
    gap: 15px;
    justify-content: center; /* Ortalamak için */
  }


  .card {
    flex: 1 1 calc(50% - 10px); /* 2 kart yan yana */
    max-width: calc(50% - 10px); /* Genişlik ayarı */
    font-size: 0.8rem;
  }

  .card img {
    max-width: 100%; /* Görsellerin taşmasını engeller */
    height: auto;
  }

  .card-content h3 {
    font-size: 0.9rem;
  }

  .card-content p {
    font-size: 0.7rem;
  }

  /* Contact Section */
  #contact p {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 5px 15px;
  }

  /* Footer */
  .footer {
    font-size: 0.6rem;
    padding: 10px;
  }

  /* Genel Boşluk Ayarları */
  .page {
    padding: 50px 20px; /* Daha uyumlu boşluklar */
  }

  img {
    max-width: 100%;
    height: auto; /* Görsellerin taşmasını engeller */
  }

/* Mobil (576px ve altı) */
@media (max-width: 576px) {
      .container {
    padding: 0 10px; /* Kenarlarda taşmayı önler */
    margin: 0 auto; /* Ortalar */
    max-width: 100%; /* Genişliği ekrana uyarlar */
  }
}
.section {
  background-image: url('background.jpg'); /* Arka plan görseli */
  background-size: cover; /* Görseli tamamen kapsar */
  background-position: center; /* Görseli ortalar */
  background-repeat: no-repeat; /* Tekrar etmeyi engeller */
  width: 100%;
  min-height: 100vh; /* Tam ekran yüksekliği */
  margin: 0;
  padding: 0;
  display: flex; /* İçerikleri hizalamak için */
  align-items: center; /* Dikey hizalama */
  justify-content: center; /* Yatay hizalama */
}

  /* Navbar */
  .navbar {
    flex-direction: column; /* Dikey hizalama */
    align-items: flex-start; /* Sol tarafa hizalanır */
    font-size: 0.7rem;
  }

  .nav-links {
    gap: 10px;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 1.8rem;
    margin-top: 50px;
  }

  .hero p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .hero .cta-button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* About Section */
  .about-section {
    padding: 30px 15px;
    font-size: 0.7rem;
  }

 /* Projects Section */
.projects {
  padding: 40px 20px;
}

.project-gallery {
  display: flex;
  flex-wrap: wrap; /* Küçük ekranlarda kartlar alt alta geçebilir */
  gap: 20px; /* Kartlar arasındaki boşluk */
  justify-content: center; /* Kartları ortalar */
}

.card {
  flex: 1 1 calc(25% - 20px); /* Kartlar 4 sütun düzeninde */
  max-width: calc(25% - 20px); /* Genişlik ayarı */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05); /* Hover efekti */
}

.card img {
  width: 100%;
  height: auto;
}

.card-content h3 {
  font-size: 1rem;
}

.card-content p {
  font-size: 0.8rem;
}


