/* css/components/hero.css */

/* ─── Hero Section ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px var(--container-padding) var(--section-padding-v);
  background-color: rgba(2, 2, 2, 0.40);
  background-image:
    linear-gradient(
      to right,
      rgba(2, 2, 2, 0.60) 0%,
      rgba(2, 2, 2, 0.35) 40%,
      rgba(2, 2, 2, 0.1) 70%,
      transparent 100%
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
}

/* Flipped background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../assets/HEROIMG.png') center top/cover no-repeat;
  transform: scaleX(-1);
  z-index: -1;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  box-sizing: border-box;
}

/* ─── Hero Content ─────────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  top: 80px;  
}

/* AI Icon inline with title */
/* .hero-ai-inline {
  display: inline;
  vertical-align: baseline;
  margin: 0 0.15rem;
}

.hero-ai-inline .material-symbols-outlined {
  font-size: 1em;
  line-height: 1;
  vertical-align: baseline;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variation-settings:
    "FILL" 1,
    "wght" 600,
    "GRAD" 0,
    "opsz" 48;
} */
/* 
.hero-greeting {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
} */

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  color: var(--primary);
}

.hero-description {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* ─── Hero Visual ──────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ─── Buttons (Extends navbar.css buttons) ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 140px;
  height: 36px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #c45d00;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.hero-image-wrapper img {
  object-fit: contain;
  object-position: left center;
  transform: translate(50px,30px);
  transition: transform 0.5s ease;
}
.hero-image-wrapper:hover img {
  transform: translate(0px,0px);
}
/* ─── Responsive Adjustments ───────────────────────── */
@media (max-width: 960px) {
  .hero {
    padding: 100px var(--container-padding) 60px;
    background-attachment: scroll;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrapper {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px var(--container-padding) 40px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

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

  .hero-description {
    font-size: 0.95rem;
  }
}
