/* Hero Section Responsive Styles */

/* Hero image container always behind content */
#hero .absolute.inset-0 {
  z-index: 1 !important;
}

#hero .relative.z-10 {
  z-index: 15 !important;
}

/* Hero image responsiveness */
#hero img {
  transition: all 0.3s ease;
}

/* Desktop and large tablets - default styles work fine */
@media (min-width: 769px) {
  .hero-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 3rem;
  }
  
  .hero-name-left {
    font-size: clamp(3rem, 15vw, 8rem);
    color: #FFFFFF;
    letter-spacing: -0.08em;
    line-height: 0.8;
    font-weight: 700;
    text-align: left;
    margin: 0;
    padding-left: 10rem;
  }
  
  .hero-name-right {
    font-size: clamp(3rem, 15vw, 8rem);
    color: #FFFFFF;
    letter-spacing: -0.08em;
    line-height: 0.8;
    font-weight: 700;
    text-align: right;
    margin: 0;
  }
  
  .hero-badges {
    margin-top: 6rem !important;
  }
  
  #hero img {
    height: 90% !important;
    opacity: 0.6;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hero-name-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    align-items: center;
    z-index: 20;
    position: relative;
  }
  
  .hero-name-left,
  .hero-name-right {
    font-size: clamp(2.8rem, 13vw, 5.5rem);
    color: #FFFFFF;
    letter-spacing: -0.05em;
    line-height: 0.9;
    font-weight: 700;
    text-align: center;
    margin: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }
  
  .hero-badges {
    margin-top: 1rem !important;
    justify-content: center !important;
    z-index: 20;
    position: relative;
  }
  
  .hero-badges span {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
  }
  
  #hero img {
    height: 60% !important;
    opacity: 0.35;
    margin-top: 0 !important;
    filter: grayscale(10%) blur(0.5px);
  }
  
  #hero {
    padding-top: 100px !important;
    min-height: 100vh;
  }
  
  .hero-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-top: 1rem;
    width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .hero-name-grid {
    gap: 0.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    z-index: 20;
    position: relative;
  }
  
  .hero-name-left,
  .hero-name-right {
    font-size: clamp(5rem, 14vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  
  .hero-badges {
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    gap: 0.5rem !important;
    z-index: 20;
    position: relative;
  }
  
  .hero-badges span {
    font-size: 0.7rem !important;
    padding: 0.55rem 0.85rem !important;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }
  
  #hero img {
    height: 70% !important;
    opacity: 0.25;
    margin-top: 5rem !important;
    filter: grayscale(10%) blur(1px);
  }
  
  #hero {
    padding-top: 0 !important;
    align-items: flex-start;
    min-height: 100vh;
    display: flex;
    justify-content: center;
  }
  
  .hero-content {
    margin-top: 0;
    width: 100%;
  }
  
  .hero-description {
    font-size: 0.875rem !important;
    text-align: center !important;
    margin-top: 12rem !important;
    padding: 0 1rem;
    line-height: 1.6;
  }
  
  .hero-tech-stack {
    font-size: 0.75rem !important;
    text-align: center !important;
    margin-top: 2.5rem !important;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .hero-name-left,
  .hero-name-right {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }
  
  .hero-badges span {
    font-size: 0.65rem !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  #hero {
    padding-top: 65px !important;
  }
  
  #hero img {
    height: 50% !important;
    margin-top: -3rem !important;
  }
  
  .hero-description {
    font-size: 0.8rem !important;
  }
  
  .hero-tech-stack {
    font-size: 0.65rem !important;
  }
}
