/* Services Section Redesign - Derun Studio */

/* Services Grid */
.services-grid-redesign {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* Service Card */
.service-redesign-card {
  position: relative;
  background: var(--nefes-beji);
  border: 2px solid var(--derun-toprak);
  border-radius: 28px 32px 30px 34px;
  padding: 40px 32px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 480px;
  box-shadow: 4px 4px 0px rgba(139, 106, 78, 0.1),
    8px 8px 0px rgba(139, 106, 78, 0.05);
}

.service-redesign-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 15px,
    rgba(124, 154, 109, 0.05) 15px,
    rgba(124, 154, 109, 0.05) 30px
  );
  border-radius: 28px 32px 30px 34px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.service-redesign-card > * {
  position: relative;
  z-index: 1;
}

.service-redesign-card:hover {
  transform: translateY(-12px) rotate(-2deg);
  border-color: var(--doga-yesil);
  background: var(--su-mavisi);
  box-shadow: 6px 6px 0px rgba(124, 154, 109, 0.2),
    12px 12px 0px rgba(124, 154, 109, 0.1),
    0 24px 48px rgba(124, 154, 109, 0.15);
}

.service-redesign-card:hover::before {
  opacity: 1;
}

/* Service Icon */
.service-redesign-icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 8px;
  filter: grayscale(0.2);
  transition: all 0.4s ease;
}

.service-redesign-card:hover .service-redesign-icon {
  filter: grayscale(0);
  transform: scale(1.1) rotate(5deg);
}

/* Service Title */
.service-redesign-title {
  font-family: var(--font--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--derun-toprak);
  line-height: 1.3;
  margin: 0;
  transition: color 0.3s ease;
}

.service-redesign-card:hover .service-redesign-title {
  color: var(--doga-yesil);
}

/* Service Description */
.service-redesign-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.85;
  margin: 0;
  flex-grow: 1;
}

/* Service Features - Tags */
.service-redesign-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--derun-toprak);
  border-radius: 20px 18px 22px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--derun-toprak);
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.service-redesign-card:hover .service-feature-tag {
  background: var(--doga-yesil);
  color: white;
  border-color: var(--doga-yesil);
  transform: translateY(-2px);
}

/* Service Link */
.service-redesign-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--derun-toprak);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 12px;
  padding: 12px 0;
}

.service-redesign-link svg {
  transition: transform 0.3s ease;
}

.service-redesign-card:hover .service-redesign-link {
  color: var(--doga-yesil);
  gap: 12px;
}

.service-redesign-card:hover .service-redesign-link svg {
  transform: translateX(4px);
}

/* Responsive: Tablet */
@media screen and (max-width: 991px) {
  .services-grid-redesign {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-redesign-card {
    min-height: 400px;
    padding: 36px 28px;
  }

  .service-redesign-icon {
    font-size: 56px;
  }

  .service-redesign-title {
    font-size: 26px;
  }
}

/* Responsive: Mobile */
@media screen and (max-width: 767px) {
  .services-grid-redesign {
    gap: 32px;
    max-width: 400px;
  }

  .service-redesign-card {
    min-height: 380px;
    padding: 32px 24px;
  }

  .service-redesign-icon {
    font-size: 52px;
  }

  .service-redesign-title {
    font-size: 24px;
  }

  .service-redesign-description {
    font-size: 15px;
  }

  .service-feature-tag {
    font-size: 11px;
    padding: 5px 12px;
  }
}
