/* =====================
   Home/Hero Section
   ===================== */

.home-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  width: 100%;
  background: transparent;
}

.home-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  gap: 90px;
  padding: 5% 0;
}

.home-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  max-width: 540px;
  margin-bottom: 40px;
}

.hello-text {
  color: var(--accent);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  margin-bottom: 10px;
  margin-left: 3px;
  text-transform: uppercase;
}

.main-name {
  font-size: 3.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: 0.04em;
  color: #fff;
}

.tagline {
  font-size: 1.32rem;
  color: var(--subtle, #c7d2da);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.typing-line {
  font-size: 1.19rem;
  margin-bottom: 40px;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.typing-static {
  color: #fff;
  opacity: 0.9;
  margin-right: 6px;
}

.typing-dynamic {
  color: var(--accent);
  font-weight: 700;
}

.typing-cursor {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1em;
  margin-left: 2px;
  opacity: 0.74;
  animation: blink-cursor 1s infinite steps(1);
}
@keyframes blink-cursor { 50% { opacity: 0.2; } }

.cta-group {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}

.say-hello-btn,
.view-work-btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 10px;
  padding: 15px 38px;
  font-size: 1.08rem;
  box-shadow: 0 4px 22px 0 rgba(86,211,100,0.10);
  border: none;
  transition: background 0.18s, color 0.16s, transform 0.19s;
  cursor: pointer;
  outline: none;
  text-align: center;
}

.say-hello-btn {
  background: var(--accent);
  color: #23272a;
}

.say-hello-btn:hover,
.say-hello-btn:focus {
  background: #72ffb4;
  color: #101010;
  transform: translateY(-2px) scale(1.045);
}

.view-work-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.view-work-btn:hover,
.view-work-btn:focus {
  background: var(--accent);
  color: #101010;
  transform: translateY(-2px) scale(1.045);
}

.home-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  position: static;
}

.social-icon {
  color: #fff;
  background: rgba(255,255,255,0.06);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  transition: background 0.18s, color 0.18s, border 0.18s;
  border: 1.6px solid rgba(255,255,255,0.18);
}

.social-icon:hover,
.social-icon:focus {
  color: var(--accent);
  background: #23272a;
  border: 1.6px solid var(--accent);
}

/* Profile image & background circle */
.home-right {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 340px;
  max-width: 420px;
}

.profile-bg-circle {
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  background: rgba(255,255,255,0.045);
  z-index: 0;
}

.profile-img {
  width: 86%;
  max-width: 360px;
  border-radius: 46% 54% 60% 40%/50% 60% 40% 50%;
  box-shadow: 0 5px 36px 0 rgba(0,0,0,0.09);
  object-fit: cover;
  position: relative;
  z-index: 1;
  background: #23272a;
}

/* =====================
   Responsive (Home Section)
   ===================== */

/* Tablet: stack columns, shrink gaps, center content */
@media (max-width: 1100px) {
  .home-content {
    max-width: 95vw;
    gap: 20px;
    padding: 18px 0;
  }
  .home-right {
    min-width: 0;
    max-width: 220px;
  }
  .profile-img {
    max-width: 160px;
    width: 70%;
  }
  .profile-bg-circle {
    width: 220px;
    height: 220px;
  }
}

/* Small tablets: tighter gaps, even more shrinkage */
@media (max-width: 900px) {
  .home-content {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .home-left, .home-right {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

/* Mobile landscape/small tablet */
@media (max-width: 700px) {
  .home-content { flex-direction: column; gap: 24px; padding: 20px 0; }
  .main-name { font-size: 1.35rem; }
  .tagline { font-size: 0.99rem; }
  .profile-img { width: 110px; }
  .home-left { max-width: 100vw; align-items: center; text-align: center; }
  .profile-bg-circle { display: none; }
}

/* Mobile: hide profile image/column, stack buttons, shrink socials */
@media (max-width: 500px) {
  .home-right {
    display: none;
  }
  .main-name { font-size: 1.1rem; }
  .tagline { font-size: 0.91rem; }
  .cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }
  .home-socials {
    gap: 4px;
    justify-content: center;
    width: 100%;
  }
  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
  .profile-bg-circle {
    display: none;
  }
}
