/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background-color: transparent;
  transition: background-color var(--transition-slow), padding var(--transition-normal);
  padding: var(--space-4) 0;
}

.site-header.is-scrolled,
.site-header.scrolled {
  background-color: var(--color-bg-primary);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand-logo {
  font-family: var(--font-heading);
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}

.desktop-nav {
  display: none;
  flex: 2;
  justify-content: center;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--color-text-primary);
  padding: var(--space-1) 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: var(--space-2);
  flex: 1;
  justify-content: flex-end;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.icon-btn:hover {
  color: var(--color-accent);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

/* Hero Section Layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-primary);
}

@media (min-width: 1024px) {
  .hero-section {
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
  }
}

/* Hero Image Column (Right side on desktop, Top on mobile) */
.hero-image-col {
  width: 100%;
  height: 60vh;
  position: relative;
  /* Ensure image starts hidden for GSAP reveal */
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-image-col {
    width: 55%;
    height: 100%;
    order: 2; /* Forces it to the right visually if using flex, but here we just flow naturally */
  }
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05); /* For subtle GSAP zoom-out reveal */
}

/* Hero Content Column (Left side on desktop, Bottom on mobile) */
.hero-content-col {
  width: 100%;
  display: flex;
  align-items: center;
  padding: var(--space-12) var(--space-6);
  background-color: var(--color-bg-primary);
}

@media (min-width: 1024px) {
  .hero-content-col {
    width: 45%;
    height: 100%;
    padding: 0 var(--space-12) 0 var(--space-16);
  }
}

.hero-content-inner {
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-content-inner {
    margin: 0;
  }
}

.hero-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  /* Initial state for GSAP */
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
  /* Initial state for GSAP */
  opacity: 0;
  transform: translateY(20px);
}

.hero-subtitle {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  /* Initial state for GSAP */
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  /* Initial state for GSAP */
  opacity: 0;
  transform: translateY(20px);
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-btn {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-btn {
    width: auto;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: var(--z-normal);
}

@media (min-width: 1024px) {
  .scroll-indicator {
    left: var(--space-16);
    transform: none;
  }
}

.scroll-text {
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-secondary);
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: var(--color-border);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text-primary);
  transform: translateY(-100%);
  animation: scrollAnim 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

