:root {
  --bg-deep: #0d1b2a;
  --bg-mid: #1b263b;
  --surface: #152238;
  --surface-soft: #20324e;
  --text-main: #f4f7fb;
  --text-muted: #b3c0d6;
  --accent: #ff7f50;
  --accent-2: #2ec4b6;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 10%, rgba(46, 196, 182, 0.16), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255, 127, 80, 0.14), transparent 35%),
    linear-gradient(145deg, var(--bg-deep), var(--bg-mid));
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
  font-family: "Syne", sans-serif;
}

.custom-nav {
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.custom-nav .navbar-brand {
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.custom-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link:focus {
  color: var(--text-main);
}

.hero-section {
  min-height: 100vh;
  padding-top: 6.5rem;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.8rem;
  color: var(--accent-2);
}

.lead {
  max-width: 52ch;
  color: var(--text-muted);
}

.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: #ff9068;
  --bs-btn-hover-border-color: #ff9068;
  --bs-btn-active-bg: #f56f44;
  --bs-btn-active-border-color: #f56f44;
  font-weight: 700;
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
}

.highlight-card {
  background: linear-gradient(150deg, rgba(32, 50, 78, 0.88), rgba(21, 34, 56, 0.85));
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 16px 48px rgba(3, 7, 18, 0.35);
}

.section-space {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(6, 14, 26, 0.32);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.info-item {
  padding: 1.2rem;
  border-radius: 0.9rem;
  background: rgba(21, 34, 56, 0.85);
  border: 1px solid var(--line);
}

.info-item .small {
  color: var(--accent-2);
  letter-spacing: 0.06rem;
}

.skill-chip {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(21, 34, 56, 0.9);
  font-weight: 600;
}

.project-card {
  background: rgba(21, 34, 56, 0.9);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 127, 80, 0.5);
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: var(--accent-2);
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 500;
}

.project-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.project-link:hover {
  color: #ff936c;
}

.contact-card {
  background: rgba(21, 34, 56, 0.9);
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.6rem;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 0.6rem;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.bg-orb {
  position: fixed;
  z-index: -1;
  filter: blur(16px);
  border-radius: 50%;
}

.orb-1 {
  width: 240px;
  height: 240px;
  background: rgba(255, 127, 80, 0.16);
  top: 12%;
  right: 7%;
  animation: floatA 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(46, 196, 182, 0.16);
  bottom: 8%;
  left: 6%;
  animation: floatB 10s ease-in-out infinite;
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
}
