:root {
  --bg: #f7f7f7;
  --primary: #264653;    /* Charcoal */
  --accent: #F46B61;     /* Coral */
  --accent-hover: #e15358;
  --text: #333333;
  --light-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.25s ease;
  z-index: 9999;
}
.cursor.clicking {
  transform: translate(-50%, -50%) scale(1.8);
  background: var(--accent-hover);
  box-shadow: 0 0 12px var(--accent-hover);
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  background: var(--light-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px;
  list-style: none;
}
.nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}
.nav a:hover {
  background: var(--accent);
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--primary);
  color: #ffffff;
}
.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #fff;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.btn {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover {
  background: var(--accent-hover);
}

/* Section Basics */
.anchor-offset { scroll-margin-top: 80px; }
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  text-align: center;
}
.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* Typography */
.section p, .section ul {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}
.section ul {
  list-style: disc;
  text-align: left;
  margin-left: 2rem;
}

/* Skills Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.chip {
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  color: #fff;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
form input,
form textarea {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
form button {
  width: fit-content;
  background: var(--accent);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover {
  background: var(--accent-hover);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: var(--light-bg);
  color: var(--primary);
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #eee;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
