/*
Theme Name: Nyan Araujo Portfolio
Theme URI: https://nyanaraujo.com
Author: Nyan Araujo
Author URI: https://nyanaraujo.com
Description: Neo-Tribal Design Portfolio - A modern one-page portfolio theme with dark aesthetics and geometric elements
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyan-portfolio
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, portfolio
*/

:root {
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --popover: 240 10% 3.9%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 0% 98%;
  --primary-foreground: 240 5.9% 10%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --accent: 180 100% 50%;
  --accent-foreground: 240 5.9% 10%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 3.7% 15.9%;
  --input: 240 3.7% 15.9%;
  --ring: 240 4.9% 83.9%;
  --chart-1: 220 70% 50%;
  --chart-2: 160 60% 45%;
  --chart-3: 30 80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;
  --radius: 0.5rem;
  --cyan: 180 100% 50%;
  --purple: 280 100% 70%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, hsl(var(--cyan)) 0%, hsl(var(--purple)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Sidebar */
.nav-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 8rem;
  background-color: hsla(var(--background), 0.95);
  backdrop-filter: blur(8px);
  border-right: 1px solid hsl(var(--border));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.nav-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  text-align: left;
  transition: all 0.3s ease;
}

.nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-link.active {
  color: hsl(var(--accent));
}

.nav-number {
  font-family: monospace;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  display: block;
}

.nav-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link.active .nav-label {
  color: hsl(var(--accent));
}

.nav-indicator {
  height: 2px;
  width: 2rem;
  background-color: hsl(var(--accent));
  border-radius: 9999px;
  margin-top: 0.5rem;
  display: none;
}

.nav-link.active .nav-indicator {
  display: block;
}

.nav-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.nav-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.nav-dot:first-child {
  background-color: hsl(var(--accent));
}

.nav-dot:nth-child(2) {
  background-color: hsl(var(--purple));
}

/* Main Content */
.main-content {
  margin-left: 8rem;
}

/* Sections */
section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

/* Hero Section */
.hero-section {
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(var(--background), 0.5), hsla(var(--background), 0.8), hsl(var(--background)));
}

.hero-decoration {
  position: absolute;
  border: 2px solid hsl(var(--cyan));
  opacity: 0.3;
}

.hero-decoration-1 {
  top: 5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  transform: rotate(45deg);
}

.hero-decoration-2 {
  bottom: 10rem;
  left: 25%;
  width: 5rem;
  height: 5rem;
  border-color: hsl(var(--purple));
  transform: rotate(12deg);
  opacity: 0.2;
}

.hero-decoration-3 {
  top: 50%;
  right: 33%;
  width: 0.5rem;
  height: 8rem;
  border: none;
  background: linear-gradient(to bottom, hsl(var(--cyan)), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-logo {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 2rem;
}

.hero-divider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-divider {
  height: 1px;
  width: 5rem;
  background: linear-gradient(to right, transparent, hsl(var(--cyan)));
}

.hero-divider-right {
  background: linear-gradient(to left, transparent, hsl(var(--cyan)));
}

.hero-subtitle {
  font-family: monospace;
  font-size: 0.875rem;
  color: hsl(var(--cyan));
  letter-spacing: 0.2em;
}

.hero-meta {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  text-align: right;
  z-index: 20;
}

.hero-meta-label {
  color: hsl(var(--accent));
  font-size: 0.875rem;
  font-family: monospace;
  margin-bottom: 0.25rem;
}

.hero-meta-value {
  color: hsla(var(--foreground), 0.6);
  font-size: 0.875rem;
}

.hero-year {
  position: absolute;
  top: 2rem;
  right: 10rem;
  text-align: right;
  z-index: 20;
}

/* Content Sections */
.section-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.section-number {
  font-family: monospace;
  font-size: 0.875rem;
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsla(var(--foreground), 0.8);
  margin-bottom: 1rem;
}

/* Creations Grid */
.creations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.creation-card {
  background: hsla(var(--card), 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.creation-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent));
}

.creation-card h3 {
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}

/* Connect Form */
.connect-form {
  max-width: 500px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  background: hsla(var(--input), 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 1rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--accent));
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-button {
  width: 100%;
  padding: 1rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.form-button:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .nav-menu {
    flex-direction: row;
    gap: 1rem;
  }

  .main-content {
    margin-left: 0;
    margin-top: 5rem;
  }

  .hero-meta,
  .hero-year {
    position: static;
    margin-top: 2rem;
  }
}
