:root {
  --bg-main: #f8fafc;        /* soft off-white */
  --bg-surface: #ffffff;    /* cards / panels */
  --text-main: #0f172a;     /* charcoal */
  --text-muted: #475569;    /* muted gray */
  --border: #e2e8f0;        /* soft border */
  --accent: #2563eb;        /* strong blue */
  --accent-soft: #dbeafe;   /* soft blue */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.3px;
}

nav a {
  margin-left: 22px;
  font-weight: 500;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--accent);
}

/* HERO */
.hero {
  padding: 120px 0;
  background:
    radial-gradient(
      circle at top left,
      var(--accent-soft),
      transparent 60%
    );
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

.hero p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 18px;
}

.hero img {
  width: 260px;
  border-radius: 14px;
  background: var(--bg-surface);
  padding: 6px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section:nth-child(even) {
  background: var(--bg-surface);
}

h2 {
  font-size: 2.1rem;
  margin-bottom: 36px;
  position: relative;
}

h2::after {
  content: "";
  width: 42px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin-top: 10px;
  border-radius: 4px;
}

h3 {
  margin-bottom: 6px;
}

p,
li {
  line-height: 1.7;
  color: var(--text-muted);
}

/* CARDS */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* SKILLS */
.skills-block p {
  margin: 10px 0;
  font-weight: 500;
}

/* CONTACT */

.contact-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-inline a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  text-align: center;
  background: #020617;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
