/* GENERAL STYLES */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0e0e12;
  color: #eaeaea;
}

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

/* HEADER BASE LAYOUT */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(14,14,18,0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  transition: background 0.3s ease;
}

.header.scrolled {
  background: #0e0e12;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.75;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #eaeaea;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 0.7;
}

.header-social {
  display: flex;
  gap: 15px;
}

.header-social a {
  color: #eaeaea;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.header-social a:hover {
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* HERO SECTION (DESKTOP) */

.hero-content {
  position: relative;
  top: 55%; /* pushes content a bit lower */
  transform: translateY(-50%);
  text-align: center;
}

/* MAIN HERO TEXT */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: 2px;
  color: #ffffff;
  opacity: 0;
  animation: fadeUp 1.5s ease forwards;
}

/* smooth cinematic entrance */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  height: 100vh;
  background: url('images/bandindex2.jpg') center 20%/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,14,18,0.75);
}

.hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.8;
}

/* CONTENT SECTIONS */
.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
}

/* MEMBERS GRID */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.member-card {
  background: rgba(255,255,255,0.04);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.member-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  object-position: center;
}

.member-card h3 {
  font-size: 18px;
  margin: 10px 0 5px 0;
}

.member-card p {
  font-size: 14px;
  opacity: 0.6;
  margin: 0;
}

@media (max-width: 768px) {

  /* Fix Martin image position on mobile */
  .member-card img[src="images/Martin.jpg"] {
    object-position: center 40%;
  }

  /* Fix Ivan image position on mobile */
  .member-card img[src="images/Ivan.jpg"] {
    object-position: center 36%;
  }

}
/* SCROLL REVEAL STYLE */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE LAYOUT (TABLETS & PHONES) */
@media (max-width: 992px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-social {
    display: none; /* Hide header social icons on mobile to avoid layout crowding */
  }

  .menu-toggle {
    display: block;
  }

  /* MOBILE NAVIGATION DROPDOWN */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(14, 14, 18, 0.98);
    backdrop-filter: blur(15px);
    padding: 30px 20px;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 18px;
    font-weight: 500;
  }

  /* MOBILE BACKGROUND IMAGE WITH SMOOTH LIGHTER VIGNETTE FADE */
  @media (max-width: 768px) {
    .hero {
      background-image: url('images/bandindex2-mobile.jpg');
      background-size: cover;

      /* Keeps the image full screen but shifts focus to the exact center */
      background-position: center center;
    }
  }
  .hero-overlay {
    background: linear-gradient(
            to bottom,
            rgba(14, 14, 18, 0.3) 0%,   /* Leaves it lighter at the top */
            rgba(14, 14, 18, 0.6) 50%,  /* Transitions cleanly */
            #0e0e12 100%                /* Fades seamlessly into page body */
    );
  }

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

  .hero-content p {
    font-size: 15px;
  }

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

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}