@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Nunito:wght@300;400;500;600;700&family=Inconsolata:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Nunito', sans-serif;
  background: #111827;
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-gray-900 {
  background-color: #111827;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.projects-section {
  padding: 2rem 0;
}

.projects-title {
  font-size: 3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.projects-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffd36d, #ffbb00);
  border-radius: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 211, 109, 0.2);
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 211, 109, 0.6);
}

.project-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(from 0deg, #333, #666, #ffd36d, #666, #333);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.project-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-title {
  font-size: 1.8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-hover-text {
  font-family: 'Nunito', sans-serif;
  color: #ffd36d;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.project-card:hover .project-hover-text {
  opacity: 1;
  transform: translateY(0);
}

.project-detail-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
}

.project-detail-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.project-detail-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffd36d;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 211, 109, 0.1);
  border: 1px solid rgba(255, 211, 109, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.back-button:hover {
  background: rgba(255, 211, 109, 0.2);
  border-color: rgba(255, 211, 109, 0.6);
  transform: translateX(-5px);
}

.project-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 4rem 2rem;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 24px;
  border: 1px solid rgba(255, 211, 109, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd36d, transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.project-hero h1 {
  font-size: 4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-subtitle {
  font-size: 1.25rem;
  color: #ffd36d;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.project-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 3rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 211, 109, 0.3);
}

.image-blur-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/2020-05-10-image-2.webp');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.image-blur-bg1 {
  position: absolute;
  inset: 0;
  background-image: url('/static/dark-aesthetic-cloud-storage-hash-codes-graphic-art-wyycrhumvafxv98u.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.image-blur-bg2 {
  position: absolute;
  inset: 0;
  background-image: url('/static/chocolate-dark-coffee-confiserie-65882.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.image-blur-bg3 {
  position: absolute;
  inset: 0;
  background-image: url('/static/Job-Hunting-Illustration.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 0;
}

.project-image-hero {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  z-index: 1;
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.content-section {
  background: rgba(15, 23, 42, 0.6);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 211, 109, 0.2);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffd36d, #ffbb00);
  border-radius: 0 2px 2px 0;
}

.section-title {
  font-size: 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  width: 2rem;
  height: 2rem;
  color: #ffd36d;
}

.section-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(255, 211, 109, 0.1);
}

.feature-bullet {
  width: 8px;
  height: 8px;
  background: #ffd36d;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.feature-text {
  color: #e2e8f0;
  line-height: 1.6;
}

.feature-text strong {
  color: #ffd36d;
  font-weight: 600;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 211, 109, 0.2);
  text-align: center;
}

.tech-name {
  font-weight: 600;
  color: #ffd36d;
  margin-bottom: 0.5rem;
}

.tech-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 211, 109, 0.2);
  backdrop-filter: blur(15px);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffd36d, #ffbb00);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 4px 15px rgba(255, 211, 109, 0.3);
}

.project-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 211, 109, 0.4);
  background: linear-gradient(135deg, #ffdd7d, #ffc200);
}

.project-link.secondary {
  background: rgba(255, 211, 109, 0.1);
  color: #ffd36d;
  border: 1px solid rgba(255, 211, 109, 0.3);
}

.project-link.secondary:hover {
  background: rgba(255, 211, 109, 0.2);
  border-color: rgba(255, 211, 109, 0.6);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .projects-title {
    font-size: 2.5rem;
  }
  
  .project-image-container {
    height: 250px;
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-hero h1 {
    font-size: 2.5rem;
  }

  .project-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

  .container {
    padding: 0 1rem;
  }
}

.section-icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.7),  
        0 4px 10px rgba(0, 0, 0, 0.25);      
    background-color: white;               
    padding: 4px;                          
}

.section-icon:hover {
    transform: scale(1.1);
}

.icon-live-demo {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-right: 1px;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    border-radius: 8px;
    transition: transform 0.3s ease;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.7), 
        0 4px 10px rgba(0, 0, 0, 0.25);     
    background-color: white;   
}

.project-link:hover .icon-live-demo {
    transform: scale(1.1);
}

.important-note {
background: rgba(15, 23, 42, 0.6);  
border-left: 6px solid #fa7b3c;
  padding: 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: 8px;
  margin-bottom: -10px;
    box-shadow: 0 0 0 1px rgb(136, 129, 129);
}
.important-note ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0 0;
}
.important-note li {
  margin-bottom: 1rem;
}