/* Blog Post Pages Styles */
:root {
  --primary-color: #00b4d8;
  --primary-dark: #005f73;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f8fafc;
  --border-gray: #005f73;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--primary-color);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-dark);
  color: white;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.25rem;
  cursor: pointer;
  padding: 0.5rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 1.25rem;
  height: 0.125rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0.125rem;
  transition: all 0.3s ease;
  margin: 0.125rem 0;
}

.mobile-menu {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  max-height: 25rem;
  opacity: 1;
}

.mobile-menu-content {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: var(--primary-color);
}

/* Blog Post Content */
.blog-post-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  color: white;
  position: relative;
}

.blog-post-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.blog-post-hero-content {
  position: relative;
  z-index: 2;
}

.blog-post-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-post-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-post-excerpt {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Post Content */
.blog-post-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  margin: -2rem auto 4rem;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 10;
}

.blog-post-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-post-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.blog-post-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 1.5rem 0 1rem;
  line-height: 1.4;
}

.blog-post-text p {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-post-text ul,
.blog-post-text ol {
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-text li {
  margin-bottom: 0.5rem;
}

.blog-post-text strong {
  color: #1f2937;
  font-weight: 600;
}

.blog-post-text em {
  color: #6b7280;
  font-style: italic;
}

.highlight-box {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.highlight-box h3 {
  color: white;
  margin-top: 0;
}

.highlight-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.skill-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.skill-item h4 {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-item p {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 0;
}

.blog-post-tags {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.tag {
  background: rgba(0, 180, 216, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-post-cta {
  background: var(--primary-dark);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin: 3rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-post-cta h3 {
  color: white;
  margin-bottom: 1rem;
}

.blog-post-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #333;
  transform: translateY(-1px);
}

/* Navigation between posts */
.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-post {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #374151;
  transition: color 0.3s ease;
  max-width: 45%;
}

.nav-post:hover {
  color: var(--primary-color);
}

.nav-post-content h4 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.nav-post-content h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.nav-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .blog-post-title {
    font-size: 3rem;
  }

  .blog-post-meta {
    gap: 3rem;
  }

  .blog-post-content {
    padding: 4rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-post-title {
    font-size: 3.5rem;
  }

  .blog-post-excerpt {
    font-size: 1.375rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .blog-post-cta {
    display: none;
  }

  body {
    background: white;
    font-size: 12pt;
    line-height: 1.4;
  }

  .blog-post-content {
    background: white;
    box-shadow: none;
    border: none;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }
}
