/* =========================
   HEADER SECTION
========================= */

.header-container {
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--font-color-light);
  padding: 80px 8%;
  overflow: hidden;
}

/* Main content layout */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  z-index: 2;
}

/* Text block */
.text-block {
  flex: 1;
  min-width: 320px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.text-block.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text staggered delay */
.text-block h3 { transition-delay: 0.2s; }
.text-block h1 { transition-delay: 0.4s; }
.text-block p { transition-delay: 0.6s; }
.btn-primary { transition-delay: 0.8s; }

.text-block h3 {
  font-size: 1.3rem;
  color: var(--font-color-light);
  font-weight: 500;
  margin-bottom: 10px;
}

.text-block h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--font-color-light);
  margin-bottom: 20px;
  font-weight: 700;
}

.text-block p {
  font-size: 1.1rem;
  color: var(--font-color-light);
  margin-bottom: 30px;
  max-width: 500px;
  line-height: 1.6;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--font-color-light);
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
}

/* Image block */
.image-block-header {
  flex: 1;
  min-width: 320px;
  text-align: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s ease-out;
}

.image-block-header.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-block-header img {
  width: 100%;
  max-width: 450px;
  border-radius: 18px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
  transition: transform 0.4s ease;
}

.image-block-header img:hover {
  transform: scale(1.03);
}

/* =========================
   TABLET VIEW
========================= */
@media (max-width: 1024px) {
  .header-container {
    min-height: 0vh;
  }
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .text-block h1 {
    font-size: 2.4rem;
  }

  .text-block p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 25px;
  }

  .btn-primary {
    padding: 10px 28px;
  }

  .image-block-header {
    display: none; /* hide image on tablet */
  }
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 600px) {
  .header-container {
    padding: 50px 20px;
    min-height: 0vh;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .text-block h1 {
    font-size: 2rem;
  }

  .text-block p {
    font-size: 0.95rem;
  }

  .image-block-header {
    display: none; /* hide image on mobile */
  }
}
