/* Sections */
.section {
  padding: 60px 2rem;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 2rem;
  }
}

@media (min-width: 1300px) {
  .section {
    padding: 100px 2rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0 auto;
}

.courses-overview .card-title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.course-price {
  color: var(--accent-primary);
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.5rem;
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

/* Gallery Preview Section - Enhanced Professional Cards */
.gallery-preview-section {
  background: var(--bg-primary);
}

.gallery-preview-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  border-radius: 50px;
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-eyebrow i {
  font-size: 0.875rem;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

@media (max-width: 1024px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-preview-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.gallery-preview-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-secondary);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.gallery-preview-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview-card:hover .gallery-preview-image img {
  transform: scale(1.1);
}

/* Overlay with gradient */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-preview-card:hover .gallery-card-overlay {
  opacity: 1;
}

/* Category Badge */
.gallery-category-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}

.gallery-preview-card:hover .gallery-category-badge {
  transform: translateY(0);
  opacity: 1;
}

.gallery-category-badge i {
  font-size: 0.6875rem;
}

/* Card Content */
.gallery-card-content {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.15s;
}

.gallery-preview-card:hover .gallery-card-content {
  transform: translateY(0);
  opacity: 1;
}

.gallery-card-content h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.375rem 0;
  line-height: 1.3;
}

.gallery-card-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.gallery-preview-footer {
  text-align: center;
  margin-top: 2rem;
}

.gallery-preview-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-preview-footer .btn i {
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 2rem;
  border: 1px solid var(--border-secondary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
