/* Home Page Specific Styles */

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--space-12);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.15) 0%, rgba(0, 240, 255, 0.1) 100%),
              radial-gradient(circle at center, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.4) 100%);
  z-index: 1;
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: var(--size-4xl);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  color: var(--color-text);
  text-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-desc {
  max-width: 700px;
  font-size: var(--size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
  line-height: var(--leading-relaxed);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Background Pattern for Hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(220, 20, 60, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Section Padding */
.section-pad {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

/* Background Surface */
.bg-surface {
  background-color: var(--color-surface);
}

/* Grid System */
.grid-cols-2-md {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .grid-cols-2-md {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gap-lg {
  gap: var(--space-12);
}

.items-center {
  align-items: center;
}

.reverse-md {
  display: contents;
}

@media (min-width: 768px) {
  .reverse-md {
    display: grid;
  }

  .reverse-md > *:first-child {
    order: 2;
  }

  .reverse-md > *:last-child {
    order: 1;
  }
}

/* Image Wrapper */
.image-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.image-wrapper:hover {
  transform: scale(1.02);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content Wrapper */
.content-wrapper h2 {
  margin-bottom: var(--space-4);
  font-size: var(--size-3xl);
}

.content-wrapper p {
  margin-bottom: var(--space-6);
  font-size: var(--size-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Link Arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--size-sm);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  position: relative;
}

.link-arrow::after {
  content: '';
  position: relative;
  display: inline-block;
  width: 1.5em;
  transition: transform var(--transition-fast);
}

.link-arrow:hover {
  color: var(--color-accent);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Banner Grid */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .banner-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.banner-content h2 {
  font-size: var(--size-3xl);
  margin-bottom: var(--space-4);
}

.banner-content p {
  font-size: var(--size-lg);
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
}

.banner-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-base);
}

.banner-image:hover {
  transform: scale(1.02);
}

.banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.feature-card h3 {
  font-size: var(--size-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  text-transform: uppercase;
}

.feature-card p {
  font-size: var(--size-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: var(--leading-relaxed);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
  transform: translateY(-4px);
  background-color: rgba(220, 20, 60, 0.05);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.mb-12 {
  margin-bottom: var(--space-12);
}

/* Main Container */
main {
  min-height: 100vh;
}

/* Smooth Scrolling for Internal Links */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
