/* =============================================
   MADE BY AUSTYN — style.css
   YouTube Red (#FF0000) + Permanent Marker font
   ============================================= */

:root {
  --red: #FF0000;
  --red-dark: #cc0000;
  --red-dim: rgba(255, 0, 0, 0.15);
  --red-glow: rgba(255, 0, 0, 0.4);
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1c1c1c;
  --surface: #1e1e1e;
  --surface2: #262626;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-soft: #bbb;
  --marker: 'Permanent Marker', cursive;
  --body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-red: 0 0 40px rgba(255,0,0,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; }

/* ---- Section Labels ---- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.label-line {
  width: 40px;
  height: 2px;
  background: var(--red);
  border-radius: 99px;
}
.label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  font-family: var(--marker);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 48px;
}

.marker-text {
  font-family: var(--marker);
  color: var(--red);
}

.accent-text { color: var(--red); }

/* ========================
   NAV
   ======================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 44px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 8px var(--red-glow));
  transition: transform var(--transition), filter var(--transition);
}
.nav-logo-img:hover { transform: scale(1.08) rotate(-3deg); filter: invert(1) drop-shadow(0 0 14px var(--red)); }

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface); }

.nav-cta {
  font-family: var(--marker);
  font-size: 15px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-red); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--marker);
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,0,0,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.full-width { width: 100%; }

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -200px; right: -150px;
  animation: blobDrift 10s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px; height: 400px;
  background: #ff6600;
  bottom: -100px; left: -100px;
  animation: blobDrift 14s ease-in-out infinite alternate-reverse;
}
@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--marker);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.hero-title .line-1 { color: var(--text-soft); }
.hero-title .line-2 { color: var(--text); }
.hero-title .line-3 { color: var(--red); text-shadow: 0 0 30px var(--red-glow); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--marker);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.logo-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 400px;
}
.hero-logo {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 20px var(--red-glow));
  position: relative;
  z-index: 2;
  animation: floatLogo 5s ease-in-out infinite;
  transition: filter var(--transition), transform var(--transition);
}
.hero-logo:hover { filter: invert(1) drop-shadow(0 0 40px var(--red)); transform: scale(1.06) rotate(-4deg); }
@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spinRing linear infinite;
}
.ring-1 { width: 320px; height: 320px; border-color: rgba(255,0,0,0.25); animation-duration: 12s; }
.ring-2 { width: 360px; height: 360px; border-color: rgba(255,0,0,0.12); animation-duration: 18s; animation-direction: reverse; }
.ring-3 { width: 400px; height: 400px; border-color: rgba(255,0,0,0.06); animation-duration: 25s; }
@keyframes spinRing { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
  animation: fadeInUp 1s 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ========================
   ABOUT
   ======================== */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-desc {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 16px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag {
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  color: var(--text-soft);
  transition: border-color var(--transition), color var(--transition);
}
.tag:hover { border-color: var(--red); color: var(--red); }

.about-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateX(8px);
  border-color: var(--red);
  box-shadow: -4px 0 0 var(--red), 0 8px 30px rgba(255,0,0,0.1);
}
.card-inner { display: flex; align-items: flex-start; gap: 16px; }
.card-icon { font-size: 2rem; flex-shrink: 0; }
.card-title { font-size: 17px; margin-bottom: 4px; color: var(--text); }
.card-desc { font-size: 14px; color: var(--text-muted); }

/* ========================
   WORK
   ======================== */
.work { background: var(--bg); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(255,0,0,0.15);
}
.project-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-thumb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.project-icon { font-size: 3rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.project-thumb-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.3);
  padding: 3px 10px;
  border-radius: 99px;
}
.project-info { padding: 24px; }
.project-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.project-title {
  font-family: var(--marker);
  font-size: 1.4rem;
  color: var(--text);
  margin: 6px 0 10px;
}
.project-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ptag {
  font-size: 11px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 6px;
}
.featured .project-thumb { height: 220px; }
.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--marker);
  font-size: 12px;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
}

/* ========================
   SKILLS
   ======================== */
.skills { background: var(--bg2); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.skill-group-title {
  font-family: var(--marker);
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 24px;
}
.skill-bars { display: flex; flex-direction: column; gap: 18px; }
.skill-bar-wrap { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.skill-name { font-size: 13px; color: var(--text-soft); grid-column: 1; }
.skill-pct { font-size: 12px; font-weight: 600; color: var(--red); }
.skill-track {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--surface2);
  border-radius: 99px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ========================
   CONTACT
   ======================== */
.contact { background: var(--bg); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-lead { font-size: 17px; color: var(--text-soft); margin-bottom: 32px; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { font-size: 1.4rem; }
.contact-val { font-size: 15px; color: var(--text-soft); }
.social-links { display: flex; gap: 12px; }
.social-btn {
  font-family: var(--marker);
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-dim); }

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg3); }

.form-success {
  display: none;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #22c55e;
  font-size: 14px;
  text-align: center;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo-img {
  height: 60px;
  filter: invert(1) drop-shadow(0 0 8px var(--red-glow));
}
.footer-copy { font-size: 1.1rem; color: var(--red); }
.footer-tagline { font-size: 14px; color: var(--text-muted); }

/* ========================
   ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .logo-showcase { width: 280px; height: 280px; }
  .hero-logo { width: 200px; height: 200px; }
  .ring-1 { width: 220px; height: 220px; }
  .ring-2 { width: 250px; height: 250px; }
  .ring-3 { width: 280px; height: 280px; }
}
