/* Studio Typography Hero Section Styles */
/* 
 * This CSS file is part of the studio-typ page structure:
 * - Used by: components/studio-typ/hero/hero.php
 * - Assets loaded by: smart-studio-typ-loader.php
 * - Following site-grid-rails.css for layout and style.css for colors/fonts
 */

/* Performance-optimized animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .studio-typ-hero__image,
  .studio-typ-hero__heading {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.studio-typ-hero {
  background-color: var(--ica-green-deep);
  min-height: 20vh;
  padding: var(--global-padding-desktop) 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.studio-typ-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
  padding: 4rem 2rem;
}

/* Hero Image */
.studio-typ-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.studio-typ-hero__img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.studio-typ-hero__heading {
  font-family: var(--font-ui) !important;
  color: var(--ica-lime);
  font-size: clamp(23px, 5vw, 32px);
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .studio-typ-hero {
    min-height: 300px;
  }
  
  .studio-typ-hero__content {
    gap: 2rem;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .studio-typ-hero {
    min-height: 250px;
  }
  .studio-typ-hero__img {
    max-width: 150px;
  
  .studio-typ-hero__content {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
}
}