/* Professional Portfolio Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  background: #f4f6fa;
  color: #1a202c;
  min-height: 100vh;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.04);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #2563eb;
  letter-spacing: 1px;
}
.nav {
  display: flex;
  gap: 1rem;
}
.nav-link {
  color: #1a202c;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: #e0e7ef;
  color: #2563eb;
}
.btn {
  display: inline-block;
  padding: 0.6em 1.4em;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.btn-primary:hover {
  background: linear-gradient(90deg, #1e40af, #2563eb);
}
.btn-secondary {
  background: #fff;
  color: #2563eb;
  border: 1px solid #c7d2fe;
}
.btn-secondary:hover {
  background: #e0e7ef;
  color: #1e40af;
}
.hero-section {
  background: linear-gradient(120deg, #5b636c 0%, #f4f6fa 100%);
  padding: 4rem 0 2rem 0;
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-text {
  flex: 1 1 320px;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.accent {
  color: #2563eb;
}
.subtitle {
  color: #475569;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
}
.hero-img {
  flex: 0 0 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  background: #fff;
}
.section {
  padding: 3rem 0 2rem 0;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2563eb;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.06);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.project-card h3 {
  margin-bottom: 0.5rem;
  color: #1e40af;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.skill {
  background: #e0e7ef;
  color: #2563eb;
  padding: 0.5em 1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
}
.about-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-text {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.06);
  padding: 2rem;
}
.contact-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(30, 41, 59, 0.06);
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75em 1em;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}
.contact-form button {
  align-self: flex-end;
}
.form-message {
  margin-top: 1rem;
  color: #2563eb;
  font-weight: 600;
}
.footer {
  background: #e0e7ef;
  padding: 1.5rem 0;
  text-align: center;
  color: #475569;
  font-size: 1rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-img {
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .container {
    width: 98%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .section h2 {
    font-size: 1.4rem;
  }
}
body.dark {
  background: #18181b;
  color: #f3f4f6;
}
body.dark .header,
body.dark .section,
body.dark .about-text,
body.dark .contact-container,
body.dark .project-card {
  background: #23272f;
  color: #f3f4f6;
}
body.dark .footer {
  background: #18181b;
  color: #a1a1aa;
}
body.dark .nav-link {
  color: #f3f4f6;
}
body.dark .nav-link:hover {
  background: #2563eb;
  color: #fff;
}
body.dark .btn-secondary {
  background: #23272f;
  color: #60a5fa;
  border: 1px solid #2563eb;
}
body.dark .btn-secondary:hover {
  background: #2563eb;
  color: #fff;
}
body.dark .btn-primary {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  color: #fff;
}
body.dark .skills-list .skill {
  background: #2563eb;
  color: #fff;
}
