/*
 * Narrative Engine - Home Page Styles
 */

/* Base page structure */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Hero Section Enhancements */
.hero {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 160px); /* Subtract header and footer height */
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: var(--space-xl);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-align: center;
  /* Fallback for browsers that don't support background-clip */
  color: var(--color-copper);
  /* Gradient text effect */
  background: linear-gradient(45deg, var(--color-aged-bronze), var(--color-copper), var(--color-copper-highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Add a subtle shadow for depth */
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-logo {
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.hero-buttons {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}

.btn-primary {
  background-color: var(--color-copper);
  color: var(--color-text-inverted);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: background-color var(--transition-fast);
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--color-copper-highlight);
  text-decoration: none;
}

/* Footer is defined in layouts/footer.css */

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
  }
  
  .hero-logo-img {
    max-width: 220px;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero {
    min-height: calc(100vh - 140px); /* Slightly smaller on mobile */
  }
}
