:root {
  --bg: #120b12;            /* deep soft plum-pink base */
  --bg-2: #1a0f1c;          /* slightly lighter */
  --card: rgba(255, 192, 203, 0.05);
  --card-border: rgba(255, 192, 203, 0.13);

  --muted: #e8cfe0;         /* soft muted pink-lilac */
  --accent: #ff7fbf;        /* warm bubblegum pink */
  --accent-2: #ff9ed8;      /* lighter soft pink */
  --text: #ffe9f4;          /* clean soft white-pink */

  --radius: 16px;
  --max-width: 1100px;
  --gap: 1.5rem;
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --transition: 0.25s ease-in-out;
}

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

html, body {
  height: 100%;
  font-family: var(--ff-sans);
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(255, 158, 216, 0.12), #120b12 85%);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4rem;
}

/* ===== CONTAINER ===== */
.container {
  width: calc(100% - 2rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 11, 18, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 192, 203, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.nav-links a.active {
  color: var(--text);
  background: rgba(255, 158, 216, 0.20);
  box-shadow: 0 6px 18px rgba(255, 158, 216, 0.15);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 158, 216, 0.15);
  transform: translateY(-2px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 192, 203, 0.20);
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

.hamburger:hover { 
  color: var(--text); 
  background: rgba(255, 182, 193, 0.20); 
}

.hamburger svg { display: block; color: inherit; }

.hamburger.open { 
  background: rgba(255, 158, 216, 0.25); 
  color: var(--text); 
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  position: absolute;
  top: calc(100% + 6px);
  right: 1rem;
  width: 220px;

  background: rgba(20, 12, 28, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 182, 193, 0.13);
  box-shadow: 0 8px 30px rgba(10, 5, 15, 0.55);
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.mobile-menu a:hover { 
  color: var(--text); 
  background: rgba(255,158,216,0.12); 
}

/* ===== HERO ===== */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
  min-height: 70vh;
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,158,216,0.10), transparent 50%);
}

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

.hero h2 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.hero h2 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 158, 216, 0.30);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(255, 158, 216, 0.38);
}

/* ===== ABOUT ===== */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 158, 216, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.profile-pic:hover { transform: scale(1.05); }

.about-text {
  max-width: 600px;
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== SKILLS ===== */
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill {
  background: rgba(255, 182, 193, 0.10);
  border: 1px solid rgba(255, 182, 193, 0.18);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.skill:hover {
  background: rgba(255, 182, 193, 0.18);
  transform: translateY(-2px);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  background: rgba(255, 192, 203, 0.05);
  border: 1px solid rgba(255, 192, 203, 0.12);
  padding: 1.5rem;
  border-radius: var(--radius);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 20px rgba(0,0,0,0.32);
}

.project-card:hover {
  background: rgba(255, 192, 203, 0.12);
  transform: translateY(-6px) scale(1.01);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.project-card p {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.project-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.project-card a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 182, 193, 0.10);
  border: 1px solid rgba(255, 182, 193, 0.18);
  padding: 0.8rem;
  border-radius: var(--radius);
  color: var(--text);
  resize: none;
}

.contact-form button {
  margin-top: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 158, 216, 0.28);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 158, 216, 0.38);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  color: var(--muted);
  margin-top: 4rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text);
  background: rgba(255,158,216,0.15);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 700px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .container { width: calc(100% - 4rem); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .about-content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }
  .about-text { max-width: 500px; }
}

@media (max-width: 899px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===== ACCESSIBILITY ===== */
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(255,158,216,0.45);
  outline-offset: 2px;
}
