/* nm-hero.css - New Modern Hero Section Styles for Subpages */

:root {
  --nm-hero-height: 350px;
  --nm-hero-height-tablet: 400px;
  --nm-hero-height-mobile: 320px;
  --nm-hero-overlay: linear-gradient(135deg, rgba(0, 43, 37, 0.4) 0%, rgba(0, 15, 13, 0.2) 100%);
  
  --nm-accent: #f6630c;
}

.nm-hero {
  position: relative;
  width: 100%;
  height: var(--nm-hero-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-top: 80px; /* Accounts for fixed header */
  font-family: var(--nm-hero-font);
}

.nm-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--nm-hero-overlay);
  z-index: 1;
}

.nm-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
  padding-inline-start: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* This will center the content by default */
  align-items: flex-start;
  height: 100%;
}

.nm-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1400px;
  gap: 0rem;
  animation: nmFadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.nm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  opacity: 1;
  padding: 1.5rem 0;
  margin-top: auto;
}

.nm-breadcrumb a,
.nm-breadcrumb span {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nm-breadcrumb a:hover {
  color: var(--nm-accent) !important;
}

.nm-breadcrumb-sep {
  opacity: 0.6;
  font-size: 0.75rem;
  margin: 0 0.2rem;
}

.nm-breadcrumb .nm-breadcrumb-current {
  color: #f6630c !important;
  font-weight: 600;
}

.nm-hero-title {
  font-family: 'Aptos', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.nm-hero-subtitle {
  font-family: 'Aptos', sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: #ffffff;
  max-width: 900px;
  line-height: 1.6;
  margin: 0;
}

/* Accent highlight if needed */
.nm-hero-title span.accent {
  color: var(--nm-accent);
}

/* Animations */
@keyframes nmFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .nm-hero {
    height: var(--nm-hero-height-tablet);
    margin-top: 100px;
  }
  .nm-hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .nm-hero {
    height: var(--nm-hero-height-mobile);
    margin-top: 80px;
  }
  
  .nm-hero-container {
    padding: 0 1.5rem;
    text-align: center;
    align-items: center; /* Center breadcrumbs/text on mobile if needed */
  }
  
  .nm-hero-content {
    margin: 0 auto;
    align-items: center;
    gap: 1rem;
  }
  
  .nm-breadcrumb {
    display: none;
  }
  
  .nm-hero-title {
    font-size: 2.25rem;
  }
  
  .nm-hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .nm-hero-title {
    font-size: 2.25rem;
  }
}
