/* =========================
   QUICK EDITS / THEME CONTROLS
   Change these values only
   to recolor the whole website
   ========================= */
:root {
  --bg-base: #f9fafb;
  --bg-glow-1: rgba(0, 0, 0, 0.03);
  --bg-glow-2: rgba(0, 0, 0, 0.02);

  --text-main: #111827;
  --text-soft: #374151;
  --text-muted: #6b7280;

  --accent-1: #2563eb;
  --accent-2: #7c3aed;
  --accent-3: #06b6d4;
  --accent-text: #2563eb;
  --accent-link: #2563eb;

  --card-bg: #ffffff;
  --card-bg-hover: #f3f4f6;
  --pill-bg: #eef2ff;

  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --border-strong: #c7d2fe;

  --hero-text-gradient: linear-gradient(135deg, #2563eb, #7c3aed, #06b6d4);
  --button-gradient: linear-gradient(135deg, #2563eb, #7c3aed);

  --button-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* =========================
   GLOBAL RESET / BASE
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top, var(--bg-glow-1), transparent 30%),
    radial-gradient(circle at 80% 20%, var(--bg-glow-2), transparent 20%),
    var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111827;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav a:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border-color: transparent;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}


/* =========================
   HERO SECTION
   ========================= */
.hero {
  padding: 110px 0 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-1) 12%, transparent);
  color: var(--accent-link);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  background: var(--hero-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: 1.02rem;
  color: #c9d2e3;
}

.hero-description-secondary {
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--button-gradient);
  color: white;
  box-shadow: var(--button-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  background: var(--btn-secondary-bg);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   SHARED SECTION STYLING
   ========================= */
.section-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-tag {
  color: var(--accent-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.about-card,
.project-card,
.link-card,
.contact-card {
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
}

/* =========================
   ABOUT SECTION
   ========================= */
.about-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card p {
  color: var(--text-soft);
  font-size: 1.03rem;
}

/* =========================
   ABOUT CAPSULES
   ========================= */
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.about-pills span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: #e0e7ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

/* =========================
   PROJECTS SECTION
   ========================= */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 20px;
  align-items: start;
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
}

.project-content {
  padding-right: 8px;
}

.project-label {
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.project-content h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.project-content p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 14px;
}

.tools-block {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tools-block h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.tools-block ul {
  padding-left: 18px;
}

.tools-block li {
  color: var(--text-soft);
  margin-bottom: 6px;
}

.project-actions {
  margin-top: 20px;
}

/* =========================
   LINKS SECTION
   ========================= */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.link-card {
  padding: 28px;
  transition: 0.25s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  background: #eef2ff;
  border-color: #c7d2fe;
}

.link-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.link-card p {
  color: var(--text-soft);
}

/* =========================
   CONTACT SECTION
   ========================= */
.contact-card {
  padding: 28px;
}

.contact-card p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.contact-card strong {
  color: var(--text-main);
  font-weight: 700;
}

.contact-card a {
  color: var(--accent-link);
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 992px) {
  .project-card,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 75px;
  }
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 72px;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.18);
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 56px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .section {
    padding: 70px 0;
  }

  .project-card {
    padding: 16px;
    gap: 18px;
  }

  .project-image img {
    min-height: 220px;
  }

  .project-content h3 {
    font-size: 1.35rem;
  }

  .about-card,
  .link-card,
  .contact-card,
  .tools-block {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}