/* ===== IMPORT VARIABLES ===== */
@import 'variables.css';

/* ===== HERO SECTION ===== */
.hero {
  --mouse-x: 0px;
  --mouse-y: 0px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(55, 65, 81, 0.8) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/zen-bkg.png');
  background-size: 110%; /* Slightly larger for parallax movement */
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: transform 0.3s ease-out;
  transform: translate(var(--mouse-x), var(--mouse-y));
}

.hero-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(0.625rem);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: var(--font-size-lg);
  color: #d1d5db;
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-location {
  font-size: var(--font-size-base);
  color: #d1d5db;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: #d1d5db;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-code-snippet {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(0.625rem);
  position: relative;
  overflow: hidden;
}

.hero-code-snippet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.875rem;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 33%, #10b981 66%, #3b82f6 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-code-snippet::after {
  content: '● ● ●';
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
}

.code-line {
  margin: 0.5rem 0;
  padding-top: 0.25rem;
}

.code-line:first-child {
  margin-top: 2rem;
}

.code-indent {
  padding-left: 2rem;
}

.code-comment {
  color: #6b7280;
  font-style: italic;
}

.code-keyword {
  color: #8b5cf6;
  font-weight: 600;
}

.code-variable {
  color: #06b6d4;
}

.code-property {
  color: #f59e0b;
}

.code-string {
  color: #10b981;
}

.hero-code-snippet:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(245, 158, 11, 0.5);
}

/* Hero specific button styles */
.hero .btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lg);
}