/* Approach & Experience Page - Derun Studio */

/* Experience Steps Section */
.experience-steps-wrapper {
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.experience-steps-content {
  background: var(--nefes-beji);
  border-radius: 28px 32px 30px 34px;
  position: relative;
}

.experience-intro {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  text-align: center;
}

.experience-intro p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
}

.experience-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.experience-step-card {
  border: 2px solid var(--derun-toprak);
  border-radius: 20px 24px 22px 26px;
  padding: 32px 24px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  position: relative;
  box-shadow: 2px 2px 0px rgba(139, 106, 78, 0.1);
}

.experience-step-card > * {
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--derun-toprak);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.experience-step-card:hover .step-number {
  color: var(--doga-yesil);
}

.step-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.step-icon img {
  width: 60px;
  height: 60px;
  filter: grayscale(0.2);
  transition: all 0.4s ease;
}

.experience-step-card:hover .step-icon img {
  filter: grayscale(0);
  transform: scale(1.1) rotate(5deg);
}

.step-title {
  font-family: var(--font--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--derun-toprak);
  margin: 0 0 16px 0;
  transition: color 0.3s ease;
}

.experience-step-card:hover .step-title {
  color: var(--doga-yesil);
}

.step-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
  opacity: 0.85;
  margin: 0;
}

/* Creative Testimonials Section */
.creative-testimonials-wrapper {
  margin-top: 60px;
}

.creative-testimonials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured Testimonial - Large */
.testimonial-featured {
  grid-column: 1;
  grid-row: 1 / 3;
}

.testimonial-featured-card {
  background: var(--nefes-beji);
  border: 3px solid var(--derun-toprak);
  border-radius: 32px 36px 34px 38px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 6px 6px 0px rgba(139, 106, 78, 0.15),
    12px 12px 0px rgba(139, 106, 78, 0.08);
  height: 100%;
}

.testimonial-featured-card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(124, 154, 109, 0.08) 20px,
    rgba(124, 154, 109, 0.08) 40px
  );
  border-radius: 32px 36px 34px 38px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.testimonial-featured-card:hover {
  transform: translateY(-12px) rotate(-2deg) scale(1.02);
  border-color: var(--doga-yesil);
  box-shadow: 8px 8px 0px rgba(124, 154, 109, 0.25),
    16px 16px 0px rgba(124, 154, 109, 0.15),
    0 30px 60px rgba(124, 154, 109, 0.2);
}

.testimonial-featured-card:hover::before {
  opacity: 1;
}

.testimonial-featured-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.testimonial-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.testimonial-featured-card:hover .testimonial-featured-image img {
  transform: scale(1.08);
}

.testimonial-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
}

.testimonial-featured-card:hover .testimonial-featured-overlay {
  opacity: 1;
}

.testimonial-featured-quote {
  color: var(--doga-yesil);
  transition: all 0.4s ease;
}

.testimonial-featured-card:hover .testimonial-featured-quote {
  transform: scale(1.15) rotate(8deg);
}

.testimonial-featured-content {
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.testimonial-featured-text {
  margin-bottom: 32px;
}

.testimonial-featured-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--black);
  margin: 0;
  font-style: italic;
  text-align: center;
}

.testimonial-featured-author {
  text-align: center;
}

.author-name-featured {
  font-family: var(--font--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--derun-toprak);
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
}

.testimonial-featured-card:hover .author-name-featured {
  color: var(--doga-yesil);
}

.author-title-featured {
  font-size: 16px;
  color: var(--doga-yesil);
  margin: 0 0 16px 0;
  font-weight: 600;
}

.author-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.author-rating .star {
  color: #ffd700;
  font-size: 18px;
  transition: all 0.3s ease;
}

.testimonial-featured-card:hover .author-rating .star {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.testimonial-medium-card {
  background: var(--nefes-beji);
  border: 2px solid var(--doga-yesil);
  border-radius: 24px 28px 26px 30px;
  padding: 24px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 4px 4px 0px rgba(124, 154, 109, 0.12),
    8px 8px 0px rgba(124, 154, 109, 0.06);
  height: 100%;
}

.testimonial-medium-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-medium-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--doga-yesil);
  transition: all 0.3s ease;
}

.testimonial-medium-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-medium-card:hover .testimonial-medium-avatar {
  border-color: var(--derun-toprak);
  transform: scale(1.1);
}

.testimonial-medium-info {
  flex: 1;
}

.author-name-medium {
  font-family: var(--font--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--doga-yesil);
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.testimonial-medium-card:hover .author-name-medium {
  color: var(--derun-toprak);
}

.author-title-medium {
  font-size: 12px;
  color: var(--derun-toprak);
  margin: 0;
  font-weight: 500;
}

.testimonial-medium-rating {
  display: flex;
  gap: 2px;
}

.testimonial-medium-rating .star {
  color: #ffd700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.testimonial-medium-card:hover .testimonial-medium-rating .star {
  transform: scale(1.2);
}

.testimonial-medium-text {
  position: relative;
  z-index: 1;
}

.testimonial-medium-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--black);
  margin: 0;
  font-style: italic;
}

/* Small Testimonials */
.testimonial-small {
  grid-column: 3;
}

.testimonial-small-card {
  background: var(--nefes-beji);
  border: 2px solid var(--derun-toprak);
  border-radius: 20px 24px 22px 26px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 3px 3px 0px rgba(139, 106, 78, 0.1),
    6px 6px 0px rgba(139, 106, 78, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-small-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(124, 154, 109, 0.04) 12px,
    rgba(124, 154, 109, 0.04) 24px
  );
  border-radius: 20px 24px 22px 26px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.testimonial-small-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: var(--doga-yesil);
  box-shadow: 5px 5px 0px rgba(124, 154, 109, 0.15),
    10px 10px 0px rgba(124, 154, 109, 0.08),
    0 15px 30px rgba(124, 154, 109, 0.1);
}

.testimonial-small-card:hover::before {
  opacity: 1;
}

.testimonial-small-quote {
  color: var(--doga-yesil);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.testimonial-small-card:hover .testimonial-small-quote {
  transform: scale(1.2) rotate(5deg);
}

.testimonial-small-text {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-small-text p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--black);
  margin: 0;
  font-style: italic;
}

.testimonial-small-author {
  position: relative;
  z-index: 1;
}

.author-name-small {
  font-family: var(--font--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--derun-toprak);
  transition: color 0.3s ease;
}

.testimonial-small-card:hover .author-name-small {
  color: var(--doga-yesil);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .creative-testimonials-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .testimonial-featured {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .testimonial-medium {
    grid-column: 1;
  }

  .testimonial-small {
    grid-column: 2;
  }

  .experience-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 991px) {
  .experience-steps-content {
    padding: 50px 36px;
  }

  .experience-intro p {
    font-size: 16px;
  }

  .experience-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .experience-step-card {
    padding: 28px 20px;
  }

  .step-number {
    font-size: 40px;
  }

  .step-icon img {
    width: 50px;
    height: 50px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    font-size: 13px;
  }

  .creative-testimonials-wrapper {
    margin-top: 40px;
  }

  .creative-testimonials-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }

  .testimonial-featured {
    grid-column: 1;
    grid-row: 1;
  }

  .testimonial-medium {
    grid-column: 1;
  }

  .testimonial-small {
    grid-column: 1;
  }

  .testimonial-featured-image {
    height: 250px;
  }

  .testimonial-featured-content {
    padding: 32px 24px;
  }

  .testimonial-featured-text p {
    font-size: 16px;
  }

  .author-name-featured {
    font-size: 20px;
  }

  .testimonial-medium-card {
    padding: 20px;
  }

  .testimonial-medium-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .testimonial-medium-avatar {
    width: 40px;
    height: 40px;
  }

  .testimonial-small-card {
    padding: 16px;
  }
}

@media screen and (max-width: 767px) {
  .experience-steps-wrapper {
    margin-top: 40px;
  }

  .experience-steps-content {
    padding: 40px 28px;
  }

  .experience-intro {
    margin-bottom: 40px;
  }

  .experience-intro p {
    font-size: 15px;
  }

  .experience-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .experience-step-card {
    padding: 24px 16px;
  }

  .step-number {
    font-size: 36px;
  }

  .step-icon img {
    width: 45px;
    height: 45px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 12px;
  }

  .testimonials-container {
    margin-top: 40px;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .author-name {
    font-size: 16px;
  }

  .author-title {
    font-size: 13px;
  }
}

/* Animation Enhancement */
@keyframes experienceFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.experience-steps-content {
  animation: experienceFadeIn 0.8s ease forwards;
}

.experience-step-card {
  animation: experienceFadeIn 0.6s ease forwards;
}

.experience-step-card:nth-child(1) {
  animation-delay: 0.1s;
}
.experience-step-card:nth-child(2) {
  animation-delay: 0.2s;
}
.experience-step-card:nth-child(3) {
  animation-delay: 0.3s;
}
.experience-step-card:nth-child(4) {
  animation-delay: 0.4s;
}
.experience-step-card:nth-child(5) {
  animation-delay: 0.5s;
}

.testimonial-card {
  animation: experienceFadeIn 0.6s ease forwards;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.4s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.6s;
}
.testimonial-card:nth-child(4) {
  animation-delay: 0.8s;
}
