:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #7f1d1d;
  --radius: 12px;
    
  --bg-color: #4b0202;
  --text-color: #ffffff;
  --brand: #38bdf8;
}

}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #0f172a; /* dark blue */
  color: #e5e7eb; /* light text */
  line-height: 1.6;
}

/* ===== HEADER / HERO ===== */
header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

header h1 {
  font-size: 3rem;
  color: #38bdf8; /* accent blue */
}

header p {
  margin-top: 1rem;
  max-width: 600px;
  font-size: 1.1rem;
  color: #cbd5f5;
}

header button {
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background-color: #38bdf8;
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

header button:hover {
  background-color: #0ea5e9;
  transform: translateY(-3px);
}
section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #38bdf8;
}

section p {
  max-width: 800px;
  color: #e5e7eb;
}

/* ===== SKILLS ===== */
#skills ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

#skills li {
  background-color: #020617;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #1e293b;
}

/* ===== PROJECTS ===== */
#projects p {
  font-style: italic;
  color: #94a3b8;
}

/* ===== CONTACT ===== */
#contact button {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  background-color: #22c55e;
  color: #022c22;
  font-size: 1rem;
  cursor: pointer;
}

#contact button:hover {
  background-color: #16a34a;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #020617;
  color: #64748b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  header h1 {
    font-size: 2.2rem;
  }
}
section.show {
  opacity: 1;
  transform: translateY(0);
}



body {
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}
body.dark {
  --bg-color: #0f172a;
  --text-color: #e5e7eb;
}
#themeToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

#themeToggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.role {
  font-size: 1.3rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  width: fit-content;
  padding: 10px 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.projects {
  padding: 80px 10%;
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero,
.project-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.project-card {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.08;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}

.btn:hover::after {
  transform: scaleX(1);
}
.project-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.01);
}
button,
a {
  cursor: pointer;
}
#themeToggle {
  opacity: 0.7;
}

#themeToggle:hover {
  opacity: 1;
}
.projects {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.project-card {
  padding: 2rem;
  border-radius: 12px;
  background: var(--card-bg, #0a0606);
}

body.dark .project-card {
  background: #1f1f1f;
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-card .tech {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 1rem 0;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  background: #444;
  color: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.project-video {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin: 1rem 0;
}
.contact {
  text-align: left;
  padding: 4rem 1.5rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-links a {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: #ff0000;
  color: white;
  transition: opacity 0.2s ease;

  background: #38bdf8; /* sky blue */
  color: #0f172a;

  
}

.contact-links a:hover {
  opacity: 0.8;
  background: #0ea5e9;
}

html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 80px;
  /* ===== SECTIONS ===== */
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  /* ===== SCROLL ANIMATIONS ===== */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
    opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}


@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a, button {
  cursor: pointer;
}

a:focus, button:focus {
  outline: 2px solid #888;
  outline-offset: 3px;
}

.brand-name {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 12px var(--brand-soft);
}








