/* Work Page Specific Styles */

/* Remove default body scrolling and setup snap scrolling */
.work-page {
  margin: 0;
  padding: 0;
  font-family: 'Belleza', sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.work-scroll-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.work-scroll-container::-webkit-scrollbar {
  display: none;
}

.work-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Work Category Sections with Snap Scrolling */
.work-category-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 30px 100px 30px;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

/* Dark Section (with background image and overlay) */
.work-category-section.dark-section {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: white;
}

/* Specific Background Images for Each Section */
#university-section {
  background-image: url('../images/uni_background.png');
}

#freelance-section {
  background-image: url('../images/freelance_background.png');
}

#social-section {
  background-image: url('../images/social_media_background.png');
}

#events-section {
  background-image: url('../images/social_media_events_background.png');
}

#uiux-section {
  background-image: url('../images/ui_ux_background.png');
}

/* SVG Overlay */
.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/work_overlay.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Light Section */
.work-category-section.light-section {
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: white;
}

/* Category Content */
.category-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: none;
  margin: 0 auto;
}

.category-title {
  font-family: 'Belleza', sans-serif;
  font-size: 140px;
  font-weight: normal;
  margin: 0 0 30px 0;
  line-height: 1.2;
  white-space: nowrap;
  animation: fadeInUp 0.8s ease;
}

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

.category-title.dark-text {
  color: #222;
}

.category-description {
  font-family: 'Prossima Moda', 'Belleza', sans-serif;
  font-size: 1em;
  line-height: 1.6;
  margin: 0 0 50px 0;
  opacity: 0.95;
  animation: fadeInUp 1s ease;
}

.category-description.dark-text {
  color: #555;
}

.category-btn {
  display: inline-block;
  padding: 16px 48px;
  background-color: white;
  color: #222;
  border: none;
  border-radius: 30px;
  font-family: 'Belleza', sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease;
}

.category-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.category-btn.dark-btn {
  background-color: #222;
  color: white;
}

.category-btn.dark-btn:hover {
  background-color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-title {
    font-size: 3em;
  }

  .category-description {
    font-size: 1.1em;
  }

  .category-btn {
    font-size: 1em;
    padding: 14px 36px;
  }

  .work-category-section {
    padding: 0 20px 60px 20px;
  }
}

@media (max-width: 480px) {
  .category-title {
    font-size: 2.5em;
  }

  .category-description {
    font-size: 1em;
  }

  .work-category-section {
    padding: 0 15px 50px 15px;
  }
}
