@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Wanderer's palette - misty forests and firelight */
  --background: hsl(30, 15%, 7%);
  --foreground: hsl(35, 20%, 88%);

  --card: hsl(30, 12%, 10%);
  --card-foreground: hsl(35, 20%, 88%);

  /* Deep forest green */
  --primary: hsl(150, 25%, 25%);
  --primary-foreground: hsl(35, 20%, 92%);

  /* Warm stone */
  --secondary: hsl(35, 15%, 18%);
  --secondary-foreground: hsl(35, 20%, 85%);

  /* Misty tones */
  --muted: hsl(30, 10%, 15%);
  --muted-foreground: hsl(35, 12%, 55%);

  /* Amber firelight accent */
  --accent: hsl(38, 65%, 50%);
  --accent-foreground: hsl(30, 15%, 7%);

  --border: hsl(30, 12%, 18%);

  --radius: 0.5rem;

  /* Fonts */
  --font-display: 'Cinzel', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Gradients */
  --gradient-mist: linear-gradient(180deg, hsl(30 15% 7% / 0) 0%, hsl(30 15% 7% / 0.8) 50%, hsl(30 15% 7%) 100%);
  --gradient-glow: radial-gradient(ellipse at center, hsl(38 65% 50% / 0.15) 0%, transparent 70%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.025em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    hsl(30 15% 7% / 0.3) 0%,
    hsl(30 15% 7% / 0.5) 50%,
    var(--background) 100%
  );
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content > * + * {
  margin-top: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(35, 30%, 95%);
  text-shadow:
    0 2px 8px hsl(30 15% 5% / 0.8),
    0 4px 24px hsl(30 15% 5% / 0.6),
    0 0 60px hsl(38 65% 50% / 0.2);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-family: var(--font-serif);
  font-style: italic;
  color: hsl(35, 30%, 95%, 0.8);
  text-shadow:
    0 2px 8px hsl(30 15% 5% / 0.8),
    0 4px 24px hsl(30 15% 5% / 0.6);
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 200ms;
}

.hero-quote {
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  font-family: var(--font-serif);
  color: hsl(35, 30%, 95%, 0.9);
  line-height: 1.75;
  text-shadow:
    0 2px 8px hsl(30 15% 5% / 0.8),
    0 4px 24px hsl(30 15% 5% / 0.6);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 300ms;
}

.hero-quote .accent {
  color: var(--accent);
}

.scroll-indicator {
  padding-top: 4rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 500ms;
}

.scroll-indicator a {
  display: block;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.scroll-indicator a:hover {
  color: var(--accent);
}

.scroll-indicator svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

/* About Section */
.about {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .about {
    padding: 8rem 0;
  }
}

.about-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.about h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
}

.about-content {
  color: hsl(35, 20%, 88%, 0.8);
  line-height: 1.75;
}

.about-content p + p {
  margin-top: 1.5rem;
}

.about-content .highlight {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
}

/* Interests Section */
.interests {
  padding: 6rem 0;
  background-color: hsl(35, 15%, 18%, 0.3);
}

@media (min-width: 768px) {
  .interests {
    padding: 8rem 0;
  }
}

.interests h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 3rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.interests-center {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.interests-center .interest-card {
  width: 100%;
}

@media (min-width: 768px) {
  .interests-center .interest-card {
    width: 50%;
  }
}

/* Interest Card */
.interest-card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: hsl(30, 12%, 10%, 0.5);
  border: 1px solid hsl(30, 12%, 18%, 0.5);
  transition: all 0.5s ease;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .interest-card {
    padding: 2rem;
  }
}

.interest-card:hover {
  border-color: hsl(38, 65%, 50%, 0.3);
  background-color: hsl(30, 12%, 10%, 0.8);
}

.interest-card-icon {
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.interest-card:hover .interest-card-icon {
  transform: scale(1.1);
}

.interest-card-icon svg {
  width: 2rem;
  height: 2rem;
}

.interest-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.interest-card:hover h3 {
  color: var(--accent);
}

.interest-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Links Section */
.links {
  padding: 6rem 0;
  background-color: hsl(35, 15%, 18%, 0.3);
}

@media (min-width: 768px) {
  .links {
    padding: 8rem 0;
  }
}

.links-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.links h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 2rem;
}

.links-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-wanderer {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-wanderer:hover {
  background-color: var(--secondary);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-wanderer svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid hsl(30, 12%, 18%, 0.5);
}

.footer-content {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}
