:root {
  --bg: #fff5f7;         
  --text: #3a3a3a;      
  --card-bg: #ffeef2;   
  --primary: #d6336c;   
  --nav-bg: #fff0f5;     
}
body.dark {
  --bg: #1a1a1d;        
  --text: #f5f5f5;       
  --card-bg: #2a2a2e;    
  --primary: #ff7597;   
  --nav-bg: #1f1f23;    
}
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  transition: background 0.3s, color 0.3s;
}
.navbar {
  background: var(--nav-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}
.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary);
}
nav a {
  margin-left: 15px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover { color: var(--primary); }
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffe6eb, #fff8f9);
  border-radius: 16px;
  margin-bottom: 50px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.hero-content {
  max-width: 700px;
  margin: auto;
}
.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero .title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #b82e5d;
}

.hero .intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero .location {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
}
section { margin: 60px 0; }
section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: background 0.3s, color 0.3s;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.badge {
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.btn:hover { background: #b82e5d; transform: scale(1.05); }

.btn.outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn.outline:hover {
  background: var(--primary);
  color: white;
}

.btn.small {
  padding: 5px 10px;
  font-size: 0.85rem;
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  nav { display: none; }
  .hero { padding: 40px 10px; }
  .card { padding: 15px; }
}
#contact {
  margin-top: 40px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

#contact .social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
