/* styles.css - Modern Static Site Template */

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #2d3748;
  min-height: 100vh;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #2d3748;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4a5568;
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav ul li a:hover {
  color: #667eea;
}
.hero {
  text-align: center;
  padding: 5rem 1rem 3rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero.personalized {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  padding: 3rem 1rem 2rem 1rem;
  position: relative;
  color: #fff;
}
.hero.personalized .inline-logo {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.my-logo-center {
  text-align: center;
  margin-top: 2rem;
}
.my-logo {
  width: 80px;
  height: 80px;
}
.social-links {
  margin-top: 1.2rem;
}
.social-links a {
  display: inline-block;
  margin-right: 1rem;
  transition: transform 0.2s;
}
.social-links a:last-child {
  margin-right: 0;
}
.social-links img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 3px;
}
.social-links a:hover {
  transform: scale(1.1);
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.hero-content > div {
  max-width: 400px;
  text-align: left;
}
.features {
  max-width: 1100px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.features h2 {
  text-align: center;
  margin-top: 0;
  color: #2d3748;
  font-size: 2rem;
}
.feature-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.feature {
  flex: 1 1 250px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.feature img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.feature h3 {
  margin: 0.5rem 0 0.5rem 0;
  color: #2d3748;
  font-size: 1.3rem;
}
.feature p {
  color: #4a5568;
  line-height: 1.6;
}
.latest-blogs {
  max-width: 1100px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.latest-blogs h2 {
  text-align: center;
  margin-top: 0;
  color: #2d3748;
  font-size: 2rem;
}
.blog-preview-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.blog-preview {
  flex: 1 1 280px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.blog-preview:hover {
  transform: translateY(-3px);
}
.blog-preview img {
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.blog-preview h4 {
  margin: 0.5rem 0 0.5rem 0;
  color: #2d3748;
}
.blog-preview p {
  color: #4a5568;
  line-height: 1.5;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.about, .contact {
  max-width: 700px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.about h1, .contact h1 {
  margin-top: 0;
  color: #2d3748;
}
/* Personalized About & Contact */
/* About, Contact, Blog backgrounds */
.about.personalized, .contact.personalized, .blog-list.personalized {
  max-width: 900px;
  background: linear-gradient(135deg, #d6bcfa 0%, #b794f4 100%);
  position: relative;
  overflow: hidden;
  color: #2d3748;
}
.blog-list.personalized .inline-logo {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.about.personalized::before, .contact.personalized::before, .blog-list.personalized::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(214, 188, 250, 0.15) 0%, rgba(183, 148, 244, 0.15) 100%);
  z-index: 0;
}
.about.personalized > *, .contact.personalized > *, .blog-list.personalized > * {
  position: relative;
  z-index: 1;
}
.about-header, .contact-header, .blog-header, .blog-author {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.about-header img, .contact-header img, .blog-header img, .blog-author img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00bfae;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.about-header > div, .contact-header > div, .blog-header > div, .blog-author > div {
  flex: 1 1 300px;
}
.skills-list {
  list-style: disc inside;
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.skills-list li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
/* Blog styles */
.blog-list {
  max-width: 800px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.blog-list h1 {
  margin-top: 0;
}
.posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.post h2 {
  margin-bottom: 0.3rem;
}
.post .meta {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.blog-post {
  max-width: 800px;
  margin: 3rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.blog-post h1 {
  margin-top: 0;
}
.blog-post .meta {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}
button[type="submit"] {
  background: #00bfae;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
button[type="submit"]:hover {
  background: #007bff;
}
footer {
  text-align: center;
  padding: 2rem 0 1rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 3rem;
}
@media (max-width: 700px) {
  nav ul {
    gap: 1rem;
  }
  .about, .contact {
    padding: 1rem;
  }
  .hero {
    padding: 3rem 1rem 2rem 1rem;
  }
}
