/* RESET ve GENEL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Urbanist', sans-serif;
  background-color: #0e0e0e;
  color: #f2f2f2;
  line-height: 1.6;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
}

/* PRELOADER */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

.preloader img {
  width: 300px;
  height: auto;
}

body.loaded .preloader {
  opacity: 0;
  pointer-events: none;
}

/* NAVBAR */

nav {
  background-color: #000000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeInTop 0.8s ease-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 0.5rem 2rem;
  gap: 3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  max-height: 80vh;
  overflow-y: auto;
}

.nav-links li a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #3c39fd71;
}

/* Mobil menü ikonu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Socials */

.socials {
  text-align: center;
  margin: 4rem auto;
  padding: 0 2rem;
}

.socials h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 sütun kalsın */
    gap: 2rem; /* Bu gap değeri de istediğin gibi kalsın */
    justify-items: center; /* Önceki "stretch" yerine "center" yaparak ikonları hücre içinde ortala */
    
    /* EKLENECEK / DÜZENLENECEK KISIMLAR */
    max-width: 600px; /* Sosyal medya ikonlarının kaplayacağı maksimum genişlik (bu değeri dilediğince ayarla) */
    margin: 0 auto;  /* Sağdan ve soldan otomatik boşluk bırakarak tüm grid'i ortala */
}

.social-grid a {
  font-size: 2.5rem;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s;
}

.social-grid img[src*="bugece.png"] {
  width: 60px;
  vertical-align: middle;
}

.social-grid a:hover {
  transform: scale(1.2);
  color: #003cff; /* İstersen beyaz da yapabilirsin: #ffffff */
}

.fab.fa-soundcloud {
  font-size: 40px;
  color: orangered; /* NORMALDE TURUNCU */
  transition: 0.3s;
}
.fab.fa-soundcloud:hover {
  color: orangered; /* ÜSTÜNE GELİNCE BEYAZ YAPAR */
}

.fab.fa-instagram {
  font-size: 40px;
  color: rgb(221, 42, 123);
  transition: 0.3s;
}
.fab.fa-instagram:hover {
  color: rgb(221, 42, 123); 
}

.fas.fa-music {
  font-size: 40px;
  color: rgb(255, 86, 86);
  transition: 0.3s;
}
.fas.fa-music:hover {
  color: rgb(255, 86, 86); 
}


@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



img:hover {
  filter: brightness(1); /* Parlak beyaz gibi yapar */
}


/*Contact kısmı */

.contactbedez {
  text-align: center;
  color: #f2f2f2;
}

.contactbedez a {
  color: #f2f2f2;
  text-decoration: underline;
  transition: color 0.3s;
}

.contactbedez a:hover {
  color: #3c39fd71;
}

.contactbedez h1 {
  margin-bottom: 1.5rem;
}

/* SOCIALS */

.site-content {
    flex: 1; /* Geri kalan tüm dikey boşluğu kapla */
    /* Bu kısma sayfadaki ana içerik için genel padding veya margin ekleyebilirsin */
    padding-top: 20px; /* Navbar'dan sonra boşluk */
    padding-bottom: 20px; /* Footer'dan önce boşluk */
}

.socials {
    text-align: center;
    margin: 4rem auto; /* Yatayda ortalar */
    padding: 0 2rem;
    max-width: 900px; /* İkonların çok geniş alana yayılmasını engellemek için */
}



/*Ana Sayfa Logo */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing {
  flex: 1;
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 90vh;
  text-align: center;
  color: #fff;
  padding: 1.5rem 1rem 0;
}

.landing img {
  width: 400px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px #000);
}

.landing h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.landing p {
  font-size: 1.2rem;
  color: #bbb;
}

.landing-text {
    max-width: 800px; /* Maksimum genişliğini belirle (bu değeri istediğin gibi değiştirebilirsin) */
    margin: 0 auto;  /* Sağdan ve soldan otomatik boşluk bırakarak ortala */
    padding: 0 20px; /* Kenarlardan biraz boşluk bırak (ekran küçülünce yapışmasın) */
    text-align: center; /* Eğer metin içinde ortalanmasını istersen */
}

/* HEADER */

header {
  text-align: center;
  margin: 4rem 0 3rem 0;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
}

header p {
  font-size: 1.2rem;
  color: #aaa;
}

.bio-flex {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 90vh;
  text-align: center;
  color: #fff;
  padding: 1.5rem 1rem 0;
  flex: 1;
}

.bio-logo {
  width: 180px;
  margin-bottom: 2rem;
}

.bio {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 90vh;
  text-align: center;
  color: #fff;
  padding: 1.5rem 1rem 0;
}


/* BIO BÖLÜMÜ */

section.bio {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  color: #ccc;
  padding: 0 2rem;
}

section.bio {
  margin-top: 2rem;
  margin-bottom: auto;
}

/* Benim Mail */

.copyright a {
  color: #fff; /* Parlak beyaz */
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
  opacity: 0.8;
}


.copyright-bio a {
  color: #fff; /* Parlak beyaz */
  text-decoration: none;
}

.copyright-bio a:hover {
  text-decoration: underline;
  opacity: 0.8;
}


/* FOOTER */

footer {
  margin-top: 5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding-bottom: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    display: none;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
