/* Work Page Specific Styles */

/* Page Header */
.page-header {
  text-align: center;
  background: linear-gradient(135deg, #f5e6d8 0%, #e8d5c4 100%);
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 4rem;
}

.page-header h2 {
  color: #8b6f47;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.page-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Enhanced Publications Section */
.publications {
  margin-bottom: 4rem;
}

.publication-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.publication-item {
  background: #f8f2f0;
  border-radius: 20px;
  padding: 2.5rem;
  border-left: 6px solid #d4a574;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.publication-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4a574, #e8d5c4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.publication-item:hover::before {
  transform: scaleX(1);
}

.publication-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.publication-item h4 {
  color: #8b6f47;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.publication-meta {
  color: #a67c52;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.publication-meta::before {
  content: "📄";
  font-size: 1rem;
}

.publication-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.publication-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d4a574;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border: 2px solid #d4a574;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.publication-link:hover {
  background-color: #d4a574;
  color: white;
  transform: translateY(-2px);
}

.graduation-countdown {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #072451, #1a365d);
  border-radius: 10px;
  color: white;
  text-align: center;
}

.countdown-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.countdown-time {
  font-size: 1.2rem;
  font-weight: bold;
  color: #feca57;
}

/* Projects */
.technical-projects {
  margin: 4rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: #f8f2f0;
  border-radius: 20px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  border: 1px solid #e8d5c4;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d4a574, #f5e6d8);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card h4 {
  color: #8b6f47;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.project-tech {
  color: #a67c52;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 15px;
  display: inline-block;
}

.project-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d4a574;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link::before {
  content: "🔗";
  font-size: 1rem;
}

.project-link:hover {
  color: #8b6f47;
  transform: translateX(5px);
}

/* Contact Section - Inline Layout */
.contact-section {
  background: linear-gradient(135deg, #e8d5c4 0%, #d4a574 100%);
  padding: 2rem 3rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  margin: 4rem 0;
}

.contact-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.connect-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.contact-icons {
  display: flex;
  gap: 1rem;
}

.contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-icons a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Work Page */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 968px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .timeline-date {
    justify-self: center;
    max-width: 200px;
  }

  .experience-timeline::before {
    display: none;
  }

  .timeline-item::before {
    display: none;
  }

  .experience-timeline {
    padding-left: 0;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .publication-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 2rem;
  }

  .page-header h2 {
    font-size: 2rem;
  }

  .publication-item {
    padding: 2rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

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

  .contact-inline {
    flex-direction: column;
    gap: 1rem;
  }
}
