/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --bg-tertiary: #f3f4f6;
  --bg-hover: #e9eaec;
  --text-tertiary: #6b7280;
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --accent-primary: #60a5fa;
  --accent-secondary: #93c5fd;
  --border-color: #374151;
  --card-bg: #1f2937;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(31, 41, 55, 0.8);
  --bg-tertiary: #2d3748;
  --bg-hover: #374151;
  --text-tertiary: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

p {
  color: var(--text-secondary);
  max-width: 70ch; /* Optimal reading width */
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

/* TRANSITIONS & ANIMATIONS */

a,
.btn,
.icon,
.project-card,
.blog-card {
  transition: all 300ms ease;
}

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* THEME TOGGLE */

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.theme-toggle {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  margin-left: 0.5rem;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
  color: var(--text-primary);
  stroke: var(--text-primary);
}

/* Ensure icons are properly visible in both modes */
.sun-icon {
  fill: var(--text-primary);
  stroke: var(--text-primary);
}

.moon-icon {
  fill: var(--text-primary);
  stroke: var(--text-primary);
}

/* DESKTOP NAV */

#desktop-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background-color: var(--bg-primary);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.nav-links li a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent-primary);
}

.logo-link {
  text-decoration: none;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.3s ease;
}

a:hover:after {
  width: 100%;
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--card-bg);
  min-width: 180px;
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}

.nav-links .dropdown-content a {
  color: var(--text-primary);
  padding: 12px 16px;
  display: block;
  font-size: 0.9rem;
}

.nav-links .dropdown-content a:hover {
  background-color: var(--bg-secondary);
}

.nav-links .dropdown:hover .dropdown-content {
  display: block;
}

/* HAMBURGER NAV */

#hamburger-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--bg-primary);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hamburger-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 5px;
}

.menu-links {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: var(--card-bg);
  width: 250px;
  max-height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  z-index: 101;
}

.menu-links.open {
  max-height: 300px;
  padding: 1rem 0;
}

.menu-links li {
  list-style: none;
  margin: 0.5rem 0;
}

.menu-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
}

.menu-links a:hover {
  background-color: var(--bg-secondary);
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* BUTTONS */

.btn-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(2px);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* SECTIONS */

section {
  padding: 6rem 5% 6rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section__text__p1 {
  font-size: 1.2rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.title:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--accent-primary);
  bottom: -10px;
  left: 0;
}

#about .title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

#about .section__text__p1 {
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--accent-primary);
}

/* HERO SECTION */

#profile {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  z-index: -1;
}

.section__pic-container {
  display: none;
}

.section__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section__text h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__text__p2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

#socials-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px);
}

/* ABOUT SECTION */

#about {
  background-color: var(--bg-secondary);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Animation for About section */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-details-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out forwards;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.about-containers {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 1rem;
}

.details-container {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem;
  flex: 1;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  min-width: 300px;
}

.details-container:nth-child(2) {
  animation-delay: 0.4s;
}

.details-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.details-container h3 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.title-container .icon {
  margin-bottom: 0.75rem;
  margin-right: 0;
}

.title-container h3 {
  margin-bottom: 0.75rem;
}

.details-container h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.details-container .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
}

.text-container {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.text-container p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Interest List Styling */
.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.interest-list li {
  background: var(--bg-tertiary);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
  text-align: left;
}

.interest-list li:hover {
  transform: translateY(-3px);
  background-color: var(--bg-hover);
}

/* Education Grid Styling */
.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.education-item {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.education-item:hover {
  transform: translateY(-3px);
}

.education-period {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.education-focus {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* EXPERIENCE SECTION */

#experience {
  background-color: var(--bg-secondary);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.experience-details-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#experience .title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.skill-category {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--bg-secondary);
  padding-bottom: 0.8rem;
}

.category-emoji {
  font-size: 1.8rem;
  margin-right: 0.8rem;
  display: inline-block;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skill-tag {
  background-color: var(--bg-tertiary, #f3f4f6);
  color: var(--text-primary);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-tag:hover {
  transform: translateY(-3px);
  background-color: var(--bg-hover, #e9eaec);
}

.skills-details {
  margin-top: 0;
}

.skills-details p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.skills-details p:last-child {
  margin-bottom: 0;
}

.skills-details strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* PROJECTS SECTION */

#projects {
  background-color: var(--bg-primary);
  padding-top: 6rem;
}

.project-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.project-description {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-badge {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* BLOG SECTION */

#blog {
  background-color: var(--bg-secondary);
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-card p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.blog-btn-container {
  margin-top: auto;
}

/* Minimalist blog buttons */
.btn-blog {
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-primary);
  box-shadow: none;
}

.btn-blog:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  color: var(--accent-primary);
}

.btn-blog:active {
  transform: translateY(0);
}

/* CONTACT SECTION */

#contact {
  background-color: var(--bg-primary);
  padding: 5rem 5% 6rem;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--card-bg);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 320px;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-info-item .icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
}

.contact-info-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-info-item p {
  margin: 0;
  font-size: 1rem;
}

.contact-info-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: var(--accent-primary);
}

/* FOOTER */

footer {
  background-color: var(--bg-secondary);
  padding: 3rem 5%;
  text-align: center;
}

footer nav {
  position: static;
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 2rem;
  justify-content: center;
}

footer .nav-links-container {
  display: flex;
  justify-content: center;
}

footer .nav-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

footer .nav-links li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .nav-links li a:hover {
  color: var(--accent-primary);
}

footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* MEDIA QUERIES */

@media screen and (max-width: 1200px) {
  .title {
    font-size: 3rem;
  }
  
  .section__text h1 {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 992px) {
  section {
    padding: 5rem 5%;
  }
  
  .section__text h1 {
    font-size: 3rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  #desktop-nav {
    display: none;
  }
  
  #hamburger-nav {
    display: flex;
  }
  
  section {
    padding: 4rem 5%;
  }
  
  .section__text h1 {
    font-size: 2.5rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .project-container,
  .blog-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 3rem 5%;
  }
  
  .btn-container {
    flex-direction: column;
  }
  
  .section__text h1 {
    font-size: 2rem;
  }
  
  .title {
    font-size: 1.75rem;
  }
}

/* BLOG POST PAGE */

.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.blog-post header {
  margin-bottom: 2rem;
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blog-post .blog-meta {
  margin-bottom: 2rem;
}

.post-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
}

.post-content {
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.post-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content code {
  font-family: monospace;
  background-color: var(--bg-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.post-content pre {
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content pre code {
  background-color: transparent;
  padding: 0;
}

/* FORM MESSAGES */

.form-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.loading {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.success-message {
  text-align: center;
  padding: 2rem;
}

.success-message h3 {
  margin-bottom: 1rem;
  color: #10b981;
}

/* ANIMATIONS */

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* GLASSMORPHISM */

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass {
  background: rgba(31, 41, 55, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.profile-image-container {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.profile-image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
  transform: scale(1.1);
}

/* Icon colors in dark mode */
[data-theme="dark"] .social-icon,
[data-theme="dark"] .icon {
  filter: brightness(0) invert(1);
}

/* Ensure proper icon visibility in both modes */
.social-icon, .icon {
  transition: filter 0.3s ease;
}

.hamburger-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-theme-toggle {
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
}
