﻿/* Base Variables */
:root {
  --secondary-r: 0;
  --secondary-g: 0;
  --secondary-b: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 2rem 1rem;
  background-color: var(--background-color-first);
}

/* Container */
.hero-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--background-color-second);
  border-radius: 3rem;
  overflow: hidden;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Image Background */
.hero-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-container::after {
    opacity: 1;
    grid-column: 2;
  }
}

/* Content Column */
.hero-flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-flex-center {
    align-items: flex-start;
    text-align: left;
    padding: 4rem;
  }
}

/* Add "New Release" text above title */
.hero-flex-center::before {
    content: '';
    height: 0.675rem;
    width: 0.675rem;
    background: var(--accent-color);
    border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Title */
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1.5rem 0;
  line-height: 1.25;
}

/* Subtitle */
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 36rem;
}

/* Button Wrapper */
.hero-btn-wrapper {
  align-self: center;
}

@media (min-width: 992px) {
  .hero-btn-wrapper {
    align-self: flex-start;
  }
}

/* Base Button Styles */
.hero-button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Button Border - minimizing visibility */
.hero-button-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* SVG Border Path */
#border-path {
  stroke: var(--primary-color);
  stroke-width: 1px;
}

/* Moving Border Gradient */
.hero-moving-border-gradient {
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    rgba(var(--secondary-r), var(--secondary-g), var(--secondary-b), 0.3) 0%,
    rgba(var(--secondary-r), var(--secondary-g), var(--secondary-b), 0) 70%
  );
  filter: blur(8px);
  border-radius: 50%;
  pointer-events: none;
}

/* Button Inner */
.hero-button-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.75em 1.75em;
  border-radius: 3rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.hero-button-inner:hover {
  background-color: var(--accent-color);
}

/* Add arrow icon after button text */
.hero-button-inner::after {
  content: "→";
  font-size: 1.1em;
  margin-left: 0.5em;
}

/* Fade In Animation */
.hero-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-fade-in-up.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-container {
    border-radius: 3rem;
  }
  
  .hero-flex-center {
    padding: 3rem 1.5rem;
  }
  
  .hero-title {
    font-size: 4rem;
    margin: 1rem 0;
  }
  
  .hero-button-inner {
    padding: 0.625em 1.5em;
  }
}