/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #f3f4f6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.desktop-nav {
  display: none;
  gap: 1.5rem;
}

.desktop-nav a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: #2563eb;
}

.menu-button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .menu-button {
    display: none;
  }
}

/* Hero Section */
.hero {
  background-color: white;
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h2 {
  font-size: 2.5rem;
  text-align: left;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #666;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-image {
    flex: 1;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}

.button.primary {
  background-color: #2563eb;
  color: white;
}

.button.primary:hover {
  background-color: #1d4ed8;
}

.button.secondary {
  border: 1px solid #d1d5db;
  color: #333;
}

.button.secondary:hover {
  background-color: #f9fafb;
}

/* Experience Section */
.experience {
  padding: 4rem 0;
}

.experience-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.experience-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.company {
  color: #666;
  margin-bottom: 1rem;
}

.experience-card ul {
  list-style-position: inside;
  color: #4b5563;
}

/* Portfolio Section */
.portfolio {
  background-color: white;
  padding: 4rem 0;
}

.portfolio-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  display: block;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
  text-align: center;
  padding: 1rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}

.contact-content {
  max-width: 32rem;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: #2563eb;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #4b5563;
}

.form-group input,
.form-group textarea {
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
  background-color: white;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
  text-align: center;
  color: #666;
}