/* My Work Listing Page Styles */
/* Following the design language from the main portfolio */

/* Work Hero Section */
.work-hero {
  background-color: #020202;
  color: #ffffff;
  padding: 120px 40px 80px 40px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.118);
  border-right: 0.5px solid rgba(255, 255, 255, 0.118);
}

.work-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Back Navigation */
.back-navigation {
  opacity: 0;
  filter: blur(5px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.2s;
}

.btn-back {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #979797;
  padding: 8px 16px;
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.6s ease-out;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
}

.btn-back:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-back svg {
  transition: transform 0.3s ease;
}

.btn-back:hover svg {
  transform: translateX(-2px);
}

/* Work Header */
.work-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.work-title {
  font-family: var(--font-instrument);
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  color: #ffffff;
  margin: 0 0 24px 0;
  letter-spacing: -1px;
  opacity: 0;
  filter: blur(5px);
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.4s;
}

.work-description {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 1.6;
  color: #8d8d8d;
  margin: 0;
  font-weight: 300;
  opacity: 0;
  filter: blur(5px);
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

/* Projects Grid Section */
.projects-grid {
  padding: 80px 40px;
  border-left: 0.5px solid rgba(0, 0, 0, 0.118);
  border-right: 0.5px solid rgba(0, 0, 0, 0.118);
}

.projects-container {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  margin-bottom: 150px;
  padding: 0px 60px;
  gap: 24px;

}

/* Responsive Projects Container */
@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    gap: 24px;
  }
  .project-card {
    width: 100%;
  }
}

/* Project Cards */
.project-card {
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgb(96, 96, 96);
  border-radius: 0px;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

/* Project Image */
.project-image {
  position: relative;
  background-color: #020202;
  overflow: hidden;
  height: 200px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 2, 2, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-project {
  color: #ffffff;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.project-card:hover .view-project {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Project Info */
.project-info {
  padding: 24px;
}

/* Responsive Project Info */
@media (max-width: 768px) {
  .project-info {
    padding: 16px;
  }
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.project-type {
  font-family: var(--font-inter);
  font-size: 12px;
  color: #8d8d8d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Project Type */
@media (max-width: 768px) {
  .project-type {
    font-size: 10px;
  }
}

.project-year {
  font-family: var(--font-inter);
  font-size: 12px;
  color: #8d8d8d;
  font-weight: 400;
}

/* Responsive Project Name */
@media (max-width: 768px) {
  .project-name {
    font-size: 10px;
  }
}

.project-name {
  font-family: var(--font-instrument);
  font-size: 28px;
  color: #020202;
  font-weight: 500;
  margin: 0 0 12px 0;
}

.project-summary {
  font-family: var(--font-inter);
  font-size: 12px;
  line-height: 1.5;
  color: #767676;
  margin: 0 0 16px 0;
  font-weight: 400;
}

/* Responsive Project Summary */
@media (max-width: 768px) {
  .project-summary {
    font-size: 11px;
  }
}

/* Project Tags */
.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background-color: #f8f8f8;
  color: #555555;
  border: 1px solid #e0e0e0;
  padding: 4px 8px;
  font-size: 10px;
  font-family: var(--font-inter);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Project Tags */
@media (max-width: 768px) {
  .tags {
    font-size: 4px !important;
  }
}

/* Work Philosophy Section */
.work-philosophy {
  background-color: #f8f8f8;
  padding: 80px 40px;
  border-left: 0.5px solid rgba(0, 0, 0, 0.118);
  border-right: 0.5px solid rgba(0, 0, 0, 0.118);
  margin: 0px 140px;
}

.philosophy-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-title {
  font-family: var(--font-instrument);
  font-size: 40px;
  color: #020202;
  font-weight: 500;
  margin: 0 0 60px 0;
  font-style: italic;
}

.philosophy-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.philosophy-item {
  text-align: center;
}

.philosophy-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  background: #020202;
  border-color: #020202;
}

.philosophy-icon svg {
  color: #020202;
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon svg {
  color: #ffffff;
}

.philosophy-item h3 {
  font-family: var(--font-instrument);
  font-size: 20px;
  color: #020202;
  font-weight: 500;
  margin: 0 0 12px 0;
  font-style: italic;
}

.philosophy-item p {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  margin: 0;
  font-weight: 400;
}

/* Call to Action Section */
.work-cta {
  background-color: #020202;
  color: #ffffff;
  padding: 80px 40px;
  text-align: center;
  border-left: 0.5px solid rgba(255, 255, 255, 0.118);
  border-right: 0.5px solid rgba(255, 255, 255, 0.118);
  margin: 0px 140px;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-instrument);
  font-size: 40px;
  color: #ffffff;
  font-weight: 500;
  margin: 0 0 20px 0;
  font-style: italic;
}

.cta-description {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.6;
  color: #8d8d8d;
  margin: 0 0 40px 0;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .work-hero,
  .projects-grid,
  .work-philosophy,
  .work-cta {
    margin: 0px 80px;
  }
  
  body {
    margin: 0px 80px;
  }
}

@media (max-width: 768px) {
  .work-hero,
  .projects-grid,
  .work-philosophy,
  .work-cta {
    margin: 0px 20px;
    padding: 60px 20px;
  }
  
  body {
    margin: 0px 20px;
  }
  
  .work-title {
    font-size: 48px;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .work-hero,
  .projects-grid,
  .work-philosophy,
  .work-cta {
    padding: 16px 0px;
  }
  
  .work-title {
    font-size: 36px;
  }
  
  .philosophy-title,
  .cta-title {
    font-size: 28px;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    margin: 0;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

/* Scroll-triggered animations */
.philosophy-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.philosophy-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for philosophy items */
.philosophy-item:nth-child(1) { transition-delay: 0.1s; }
.philosophy-item:nth-child(2) { transition-delay: 0.2s; }
.philosophy-item:nth-child(3) { transition-delay: 0.3s; }


