/* ===============================
   EVERYTHING PSJ STYLES
================================= */

/* ===============================
   CONTAINER STRUCTURE
================================= */

a img{
	text-decoration:none;
}

a {text-decoration: none; }
a:focus {
 outline: none;
}


.hero-section-container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.works-section-container {
  width: 100%;
  position: relative;
  z-index: 2;
  background: #f8f9fa;
}

/* ===============================
   HERO SECTION
================================= */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4rem 2rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===============================
   WORKS SECTION
================================= */
.works-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
  margin-top: 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* ===============================
   YEAR SECTIONS
================================= */
.year-section {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out;
}

.year-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 5px solid #667eea;
  position: relative;
}

.year-title::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #667eea;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

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

/* ===============================
   WORK CARDS
================================= */
.work-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out;
}

.work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.work-card:hover::before {
  transform: scaleX(1);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.card-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 50%;
  color: white;
  font-weight: bold;
}

.card-type {
  font-size: 0.85rem;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-grow: 1;
}

.card-date {
  font-size: 0.8rem;
  color: #888;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
}

/* Card Content */
.card-content {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Card Footer */
.card-footer {
  display: flex;
  justify-content: flex-end;
}

.card-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: #764ba2;
  transform: translateX(5px);
}

/* ===============================
   CATEGORY-SPECIFIC STYLES
================================= */
.work-card.drama .card-icon {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.work-card.film .card-icon {
  background: linear-gradient(45deg, #4834d4, #686de0);
}

.work-card.music-video .card-icon {
  background: linear-gradient(45deg, #00d2d3, #54a0ff);
}

.work-card.award .card-icon {
  background: linear-gradient(45deg, #ffd700, #ffb142);
}

.work-card.sitcom .card-icon {
  background: linear-gradient(45deg, #26de81, #20bf6b);
}

.work-card.other .card-icon {
  background: linear-gradient(45deg, #a55eea, #8854d0);
}

.work-card.variety .card-icon {
  background: linear-gradient(45deg, #fd79a8, #e84393);
}

.work-card.advertisement .card-icon {
  background: linear-gradient(45deg, #00b894, #00cec9);
}

/* ===============================
   ANIMATIONS
================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Stagger animation for cards */
.works-cards .work-card:nth-child(1) { animation-delay: 0.1s; }
.works-cards .work-card:nth-child(2) { animation-delay: 0.2s; }
.works-cards .work-card:nth-child(3) { animation-delay: 0.3s; }
.works-cards .work-card:nth-child(4) { animation-delay: 0.4s; }
.works-cards .work-card:nth-child(5) { animation-delay: 0.5s; }

/* ===============================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .works-cards {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .year-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .works-section {
    padding: 2rem 1rem;
  }
  
  .work-card {
    padding: 1rem;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .card-type {
    align-self: flex-start;
  }
}

/* ===============================
   SCROLL ANIMATIONS
================================= */
.work-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   HOVER EFFECTS ENHANCEMENT
================================= */
.work-card:hover .card-icon {
  animation: pulse 0.6s ease-in-out;
}

.work-card:hover .card-title {
  color: #667eea;
  transition: color 0.3s ease;
}

/* ===============================
   LOADING STATES
================================= */
.work-card.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}