/* weezly.works - Synthwave Theme
   Created by SuperNinja AI - 2025 */

/* ===== CSS Variables ===== */
:root {
  /* Color Palette - Synthwave Theme */
  --primary-dark: #0a0a12;
  --secondary-dark: #121222;
  --neon-pink: #ff00aa;
  --neon-blue: #00ccff;
  --neon-purple: #9900ff;
  --neon-orange: #ff9900;
  --sunset-red: #ff2d55;
  --sunset-orange: #ff8c42;
  --sunset-yellow: #ffdc5e;
  --text-light: #ffffff;
  --text-pink: #ff00aa;
  --text-blue: #00ccff;
  --text-dim: #cccccc;
  
  /* Typography */
  --font-logo: cursive;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-subheading: 'Chakra Petch', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;
  --font-terminal: 'VT323', monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Effects */
  --glow-pink: 0 0 5px rgba(255, 0, 170, 0.5), 0 0 10px rgba(255, 0, 170, 0.3), 0 0 15px rgba(255, 0, 170, 0.1);
  --glow-blue: 0 0 5px rgba(0, 204, 255, 0.5), 0 0 10px rgba(0, 204, 255, 0.3), 0 0 15px rgba(0, 204, 255, 0.1);
  --glow-purple: 0 0 5px rgba(153, 0, 255, 0.5), 0 0 10px rgba(153, 0, 255, 0.3), 0 0 15px rgba(153, 0, 255, 0.1);
  --scanline: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 3px, rgba(0, 0, 0, 0.3) 3px, rgba(0, 0, 0, 0.3) 6px);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  cursor: auto !important;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  cursor: auto !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--primary-dark) 0%, 
    #1a0a20 50%, 
    #0a0a12 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at bottom, rgba(153, 0, 255, 0.2) 0%, rgba(10, 10, 18, 0) 70%),
    radial-gradient(ellipse at top, rgba(255, 0, 170, 0.2) 0%, rgba(10, 10, 18, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-light);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  color: var(--text-blue);
  text-shadow: var(--glow-blue);
}

h3 {
  font-size: 1.8rem;
  font-family: var(--font-subheading);
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
  font-family: var(--font-body);
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer !important;
}

a:hover {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section:not(#home) {
  opacity: 0;
  transform: translateY(50px);
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  box-shadow: var(--glow-blue);
}

/* ===== Header ===== */
header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.logo-container {
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.logo-svg {
  height: auto;
  width: 90%;
  max-width: 700px;
  filter: drop-shadow(0 0 15px rgba(255, 0, 170, 0.7));
}

.tagline {
  font-family: var(--font-subheading);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-blue);
  letter-spacing: 2px;
  text-shadow: var(--glow-blue);
}

/* Synthwave button */
.synthwave-btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: var(--glow-pink);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer !important;
}

.synthwave-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 170, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.synthwave-btn:hover {
  color: var(--text-light);
  background: rgba(255, 0, 170, 0.2);
  box-shadow: 0 0 15px rgba(255, 0, 170, 0.5);
}

.synthwave-btn:hover::after {
  left: 100%;
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm) 0;
  z-index: 100;
  transition: all 0.3s ease;
}

nav.scrolled {
  background-color: rgba(10, 10, 18, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--neon-pink);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-logo-svg {
  height: 30px;
  width: auto;
  max-width: 150px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 170, 0.3));
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--spacing-md);
}

.nav-links a {
  color: var(--text-light);
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  cursor: pointer !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-pink);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-pink);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--neon-pink);
}

/* ===== Projects Section ===== */
.projects {
  background-color: rgba(18, 18, 34, 0.7);
  position: relative;
  border-top: 1px solid var(--neon-pink);
  border-bottom: 1px solid var(--neon-pink);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--scanline);
  opacity: 0.1;
  pointer-events: none;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.project-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--neon-blue);
  box-shadow: var(--glow-blue);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 0, 170, 0.3);
  border-color: var(--neon-pink);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(10, 10, 18, 0.9), rgba(10, 10, 18, 0));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.project-item:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.project-tag {
  background-color: rgba(255, 0, 170, 0.1);
  color: var(--neon-pink);
  padding: 2px 8px;
  font-size: 0.8rem;
  margin-right: 5px;
  margin-bottom: 5px;
  font-family: var(--font-subheading);
  border: 1px solid var(--neon-pink);
}

/* ===== Tandy Computer Section ===== */
.tandy-section {
  padding: var(--spacing-lg) 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tandy-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.tandy-border {
  position: relative;
  width: 40%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.tandy-border-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

.tandy-screen {
  position: absolute;
  top: 12%;
  left: 11%;
  width: 78%;
  height: 65%;
  background-color: #000;
  overflow: hidden;
  padding: 18px 2px 4px 2px; /* More top padding, keep horizontal padding small */
  display: flex;
  align-items: flex-start;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.3) 50%, transparent 50%);
  background-size: 100% 4px;
  box-shadow: inset 0 0 12px rgba(0, 255, 0, 0.2);
  z-index: 1;
}

.terminal-content {
  width: 100%;
  text-align: left;
}

.terminal-line {
  font-family: 'VT323', monospace;
  font-size: 0.85rem;
  color: #ff00aa;
  margin-bottom: 2px;
  text-shadow: 0 0 8px rgba(255, 0, 170, 0.7);
  letter-spacing: 1px;
  text-align: left;
  padding-left: 18px; /* More left padding */
}

/* Boot sequence styling */
.boot-sequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
  visibility: visible;
}

.boot-content {
  font-family: var(--font-terminal);
  color: var(--neon-pink);
  max-width: 80vw;
  text-align: center;
}

.boot-content p {
  margin: 10px 0;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  text-shadow: 0 0 5px rgba(255, 0, 170, 0.5);
}

.boot-content p:nth-child(1) { animation-delay: 0.2s; }
.boot-content p:nth-child(2) { animation-delay: 0.7s; }
.boot-content p:nth-child(3) { animation-delay: 1.2s; }
.boot-content p:nth-child(4) { animation-delay: 1.7s; }
.boot-content p:nth-child(5) { animation-delay: 2.2s; }
.boot-content p:nth-child(6) { animation-delay: 2.7s; }

.boot-complete {
  opacity: 0;
}

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

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

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

.contact .section-title {
  display: block;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}



