/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  padding: 80px 20px 60px;
  text-align: center;
  margin-top: 70px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  padding: 10px 20px;
  border-radius: 25px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.back-btn:hover {
  transform: translateX(-5px);
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.2);
}

/* Samples Section */
.samples-section {
  padding: 80px 20px;
  background: white;
}

.samples-container {
  max-width: 1400px;
  margin: 0 auto;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 350px));
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.sample-card {
  background: var(--bg-light);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.sample-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 aspect ratio */
  background: var(--text);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  background: transparent;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  font-size: 60px;
}

.sample-info {
  padding: 25px;
}

.sample-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.sample-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.sample-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-light);
}

.meta-icon {
  font-size: 16px;
}

/* Video hover effect */
.video-container::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-container:hover::after {
  opacity: 0.8;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.video-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: min(500px, calc((100vh - 100px) * 9 / 16));
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}

.modal-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  background: transparent;
}

.modal-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: all 0.3s;
  z-index: 10001;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

/* Section Header */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 40px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.empty-desc {
  font-size: 16px;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .samples-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .samples-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .sample-title {
    font-size: 18px;
  }
}
/* Video modal fix - remove gap */
.modal-content video {
  display: block;
}
.video-modal .modal-content {
  line-height: 0;
}
