@charset "UTF-8";

/* ========================================
   GREEN GARDEN - Works Page Styles
   ======================================== */

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--bg-white);
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid var(--bg-white);
}

.btn-outline-white:hover {
  background: var(--bg-white);
  color: var(--primary-color);
}

/* Work Case */
.work-case {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.work-case:last-child {
  margin-bottom: 0;
}

.work-case-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.work-number {
  font-family: var(--font-family-en);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.work-case-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
}

/* Before/After Container */
.work-ba-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.work-ba-item {
  flex: 1;
  position: relative;
}

.ba-label {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 25px;
  z-index: 10;
  letter-spacing: 0.05em;
}

.ba-label.before {
  background: #666;
  color: var(--bg-white);
}

.ba-label.after {
  background: var(--primary-color);
  color: var(--bg-white);
}

.ba-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ba-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.work-ba-arrow {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.25rem;
}

/* Work Description */
.work-description {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.work-description h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.work-description p {
  color: var(--text-light);
  line-height: 1.8;
}

.work-tags {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.work-tag {
  padding: 5px 15px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  border-radius: 20px;
}

/* Other Works Grid */
.other-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.other-work-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.other-work-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.other-work-item:hover img {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .work-case {
    padding: 25px;
    margin-bottom: 25px;
  }

  .work-number {
    font-size: 2rem;
  }

  .work-case-header h3 {
    font-size: 1.125rem;
  }

  .work-ba-container {
    flex-direction: column;
    gap: 15px;
  }

  .work-ba-item {
    width: 100%;
  }

  .ba-image img {
    height: 220px;
  }

  .work-ba-arrow {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .other-works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-work-item img {
    height: 220px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}
