/* Core Desktop Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f0f4f8;
  color: #1e293b;
}

/* Header */
header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
}

.header-text h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.header-text p {
  color: #94a3b8;
  font-size: 1rem;
}

.header-links {
  display: flex;
  gap: 1.5rem;
}

.header-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #38bdf8;
  border-radius: 4px;
  transition: all 0.3s;
}

.header-links a:hover {
  background: #38bdf8;
}

/* Main Layout */
.container {
  display: flex;
  min-height: calc(100vh - 180px);
}

/* Sidebar Navigation */
nav {
  width: 250px;
  background: #0f172a;
  padding: 2rem 0;
}

nav ul {
  list-style: none;
}

nav li {
  margin: 0;
}

nav a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  padding: 1rem 2rem;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

nav a:hover,
nav a.active {
  background: #1e293b;
  color: #38bdf8;
  border-left-color: #0284c7;
}

/* Main Content */
main {
  flex: 1;
  padding: 3rem;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  color: #0f172a;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #0284c7;
  padding-bottom: 0.5rem;
}

.experience-item,
.project-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #0284c7;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.experience-header h3 {
  color: #0f172a;
  font-size: 1.3rem;
}

.experience-header .date {
  color: #64748b;
  font-size: 0.9rem;
}

.company {
  color: #0284c7;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.description {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlights {
  list-style: circle;
  padding-left: 1.5rem;
}

.highlights li {
  margin-bottom: 0.5rem;
  color: #475569;
  line-height: 1.5;
}

.additional-experience {
  margin-top: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #0284c7;
}

.additional-experience h3 {
  color: #0f172a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.additional-experience ul {
  list-style: circle;
  padding-left: 1.5rem;
  color: #475569;
}

.additional-experience li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
  color: #0284c7;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #0f172a;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background: #0ea5e9;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background: #0284c7;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2rem;
  text-align: center;
}

footer a {
  color: #38bdf8;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

footer a:hover {
  text-decoration: underline;
}

.loading {
  text-align: center;
  color: #64748b;
  padding: 2rem;
}

.error {
  background: #fee;
  color: #c00;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
