/* ================================
   Reset and Base Styles
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   Header and Navigation
================================ */
header {
  position: sticky;
  top: 0;
  background: #111;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 100;
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.top-nav a {
  color: #fff;
  font-weight: 500;
  padding-bottom: 2px;
  transition: color 0.3s, border-bottom 0.3s;
}

.top-nav a:hover, .top-nav a.active {
  color: #25D366;
  border-bottom: 2px solid #25D366;
}

/* ================================
   Container and Headings
================================ */
.container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #25D366;
}

.sub, .desc {
  font-weight: 300;
  color: #ccc;
}

.sub {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* ================================
   Hero Section
================================ */
.hero-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-header img {
  width: 120px;
  height: auto;
}

.hero-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  color: #25D366;
}

.hero-header p {
  color: #ccc;
  font-weight: 300;
  font-size: 1rem;
}

/* ================================
   Spotify Embed
================================ */
.spotify-embed {
  margin-top: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,255,102,0.2);
}

/* ================================
   Contact Icons - GÜNCELLENDİ
================================ */
.icons {
  display: flex;
  justify-content: center;
  gap: 9rem; /* İkonlar arası mesafe artırıldı */
  margin-top: 2rem;
}

.contact-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  transition: z-index 0.3s ease;
}

.contact-icon-wrapper:hover {
  z-index: 10; /* Hoverdaki ikon ön plana çıkıyor */
}

.contact-icon-wrapper img {
  width: 50px;
  height: 50px;
  padding: 6px;
  background: #111;
  border-radius: 10px;
  border: 2px solid #25D366;
  z-index: 2;
}

.contact-icon-wrapper span {
  position: absolute;
  left: 65px; /* Logonun sağı */
  top: 0;
  height: 50px;
  width: 0;
  max-width: 220px;       /* Maksimum genişlik sınırı */
  background: #1a1a1a;
  border: 2px solid #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  padding-left: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.3s ease, padding 0.3s ease;
}

/* Hover açıldığında genişlik içeriğe göre */
.contact-icon-wrapper:hover span {
  width: auto;  
  padding-left: 14px;
}

/* WhatsApp özel genişlik */
.contact-icon-wrapper.whatsapp:hover span {
  max-width: 150px; /* WhatsApp kutusu daha kısa */
}

/* Mail özel genişlik */
.contact-icon-wrapper.mail:hover span {
  max-width: 220px; /* Mail kutusu tam sığacak şekilde */
}

/* ================================
   Team / Services Grid
================================ */
.team-members, .services-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.member, .service-card {
  background: #111;
  padding: 1.5rem;
  border-radius: 15px;
  flex: 1 1 250px;
  max-width: 300px; /* Added max width */
  box-shadow: 0 0 15px rgba(0,255,102,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.member img, .service-card img {
  width: 100%;
  height: 200px; /* fixed height */
  object-fit: cover; /* maintain aspect ratio */
  border-radius: 10px;
  margin-bottom: 1rem;
}

.member:hover, .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,255,102,0.4);
}

/* ================================
   About Page Highlights & Latest Track
================================ */
.highlight-text {
  font-size: 1.3rem;
  color: #25D366;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.latest-track h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 1rem 0;
  text-align: center;
}

.latest-track .spotify-embed iframe {
  height: 80px;
}

/* ================================
   Contact Page - Simple
================================ */
.contact-list {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
}

/* ================================
   Footer
================================ */
footer {
  background-color: #111;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

/* ================================
   Sections & Responsive
================================ */
section {
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .contact-icon-wrapper {
    /* Küçük ekranlarda hover yerine dokunma mantığı eklenebilir */
  }
}
