/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

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

.nav-links a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #007bff;
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  color: #007bff;
}

.subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  color: #666;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #007bff;
}

/* Hero Image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 75%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: white;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  .social-links {
    justify-content: center;
  }

  .nav-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

/* Blog Styles */
.blog-container {
  max-width: 1200px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
}

.blog-container h1 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-content h2 a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h2 a:hover {
  color: #007bff;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-content p {
  color: #555;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #0056b3;
}

@media (max-width: 768px) {
  .blog-container {
    margin-top: 6rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Post Page Styles */
.blog-post-container {
  max-width: 800px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
}

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

.blog-post-header {
  margin-bottom: 1rem;
  text-align: center;
}

.blog-post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.2;
}

.blog-post-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1rem 0 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: #333;
  line-height: 1.3;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  color: #444;
}

.blog-post-content ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.8rem;
  color: #444;
}

.blog-post-content strong {
  color: #333;
  font-weight: 600;
}

@media (max-width: 768px) {
  .blog-post-container {
    margin-top: 6rem;
  }

  .blog-post {
    padding: 1.5rem;
  }

  .blog-post-header h1 {
    font-size: 2rem;
  }

  .blog-post-content {
    font-size: 1rem;
  }
}

/* About Section Styles */
.about-section {
  background-color: #f8f9fa;
  padding: 6rem 2rem;
  margin-top: 2rem;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
  text-align: center;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.experience-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
}

.experience-item h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.experience-item .role {
  color: #007bff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.experience-item .date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.experience-item .description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-section {
    padding: 4rem 1.5rem;
    margin-top: 0;
    /* Reset margin on mobile */
  }

  .experience-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    /* Adjust hero height on mobile */
    padding-bottom: 2rem;
  }
}
