/* Modern Workshop Site Styles */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.search-form {
  position: relative;
}

.search-input-group {
  position: relative;
  display: flex;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  z-index: 3;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 20px 15px 50px;
  font-size: 1rem;
  border-radius: 50px;
  background: transparent;
}

.search-btn {
  background: #FFD700;
  color: #4A148C;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Filters Section */
.filters-section {
  padding: 2rem 0;
  background: #f8f9fa;
}

.filters-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: -50px;
  position: relative;
  z-index: 3;
}

.filter-select,
.filter-input {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
  border-color: #4A148C;
  box-shadow: 0 0 0 0.2rem rgba(74, 20, 140, 0.25);
}

.filter-btn {
  background: #4A148C;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Workshops Section */
.workshops-section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #718096;
}

/* Workshops Grid */
.workshops-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workshop-card-modern-link,
.workshop-card-modern-link:hover {
  text-decoration: none;
}

.workshop-card-modern {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  min-height: 280px;
}

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

.card-image {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 100%);
  overflow: hidden;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
}

.price-badge.free {
  background: #3182ce;
  color: white;
}

.price-badge.paid {
  background: #ed8936;
  color: white;
}

.inscrito-badge-inline {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  z-index: 2;
}

.card-date .date {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1;
}

.card-date .month {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #718096;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-description {
  color: #718096;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-meta {
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: #718096;
  font-size: 0.9rem;
}

.meta-item i {
  width: 16px;
  margin-right: 8px;
  color: #4A148C;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-primary-modern {
  background: #FFD700;
  color: #4A148C;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary-modern:hover {
  color: #4A148C;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  filter: brightness(0.95);
}

/* Month Divider */
.month-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0 1.5rem;
  width: 100%;
}

.month-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--nx-purple) 50%, transparent 100%);
}

.month-title {
  margin: 0 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nx-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Empty State */
.empty-state {
  padding: 4rem 2rem;
}

.empty-icon {
  margin-bottom: 2rem;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.empty-text {
  color: #718096;
  margin-bottom: 2rem;
}

.empty-state .btn-warning {
  background-color: var(--nx-gold, #FFD700);
  border-color: var(--nx-gold, #FFD700);
  color: var(--nx-purple, #4A148C);
  font-weight: 600;
}

.empty-state .btn-warning:hover {
  background-color: var(--nx-gold, #FFD700);
  border-color: var(--nx-gold, #FFD700);
  color: var(--nx-purple, #4A148C);
  filter: brightness(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .search-input-group {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    position: relative;
  }
  
  .search-icon {
    top: 43px;
  }
  
  .search-input {
    padding: 15px 20px 15px 50px;
  }
  
  .workshops-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .filters-card {
    margin-top: -30px;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}