/* Prices and Services Section Styles */
.prices-services-section {
  --prices-bg-color: var(--white-color);
  --prices-title-color: var(--title-color);
  --prices-text-color: var(--body-color);
  --prices-highlight-color: #2563eb;
  --prices-free-color: #10b981;
  --prices-border-color: #e5e7eb;
  --prices-card-bg: #f8f9fa;
  --prices-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --prices-button-bg: #fbbf24;
  --prices-button-hover: #f59e0b;

  background-color: var(--prices-bg-color);
  padding: 90px 0;
  position: relative;

  .prices-container {
    max-width: 1000px;
    margin: 0 auto;

    .prices-header {
      text-align: center;
      margin-bottom: 60px;

      .prices-title {
        font-size: clamp(32px, 4vw, 48px);
        font-weight: 700;
        color: var(--prices-title-color);
        margin-bottom: 20px;
        font-family: var(--title-font);
        position: relative;

        &::after {
          content: '';
          position: absolute;
          bottom: -15px;
          left: 50%;
          transform: translateX(-50%);
          width: 80px;
          height: 3px;
          background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
          border-radius: 2px;
        }
      }

      .prices-subtitle {
        font-size: 18px;
        color: var(--prices-text-color);
        margin-bottom: 15px;
        line-height: 1.6;

        .price-highlight {
          color: var(--prices-highlight-color);
          font-weight: 700;
        }
      }
    }

    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-bottom: 50px;

      .services-column {
        background-color: var(--prices-card-bg);
        border-radius: 16px;
        padding: 30px;
        border: 2px solid var(--prices-border-color);
        transition: all 0.3s ease;

        &:hover {
          box-shadow: var(--prices-hover-shadow);
          transform: translateY(-5px);
        }

        &.included-services {
          border-color: var(--prices-free-color);
          background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
        }

        &.additional-services {
          border-color: var(--prices-highlight-color);
          background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
        }

        .column-header {
          text-align: center;
          margin-bottom: 30px;
          padding-bottom: 20px;
          border-bottom: 2px solid var(--prices-border-color);

          h3 {
            font-size: 24px;
            font-weight: 700;
            color: var(--prices-title-color);
            margin-bottom: 8px;
            font-family: var(--title-font);
          }

          .column-subtitle {
            font-size: 14px;
            color: var(--prices-text-color);
            margin: 0;
            opacity: 0.8;
          }
        }

        .services-list {
          display: flex;
          flex-direction: column;
          gap: 20px;

          .service-item {
            display: flex;
            justify-content: space-between;
            align-items: center;

            &:last-child {
              border-bottom: none;
            }

            .service-name {
              font-size: 16px;
              color: var(--prices-title-color);
              font-weight: 500;
              flex: 1;
            }

            .service-price {
              font-size: 15px;
              font-weight: 600;
              color: var(--prices-text-color);

              &.free {
                color: var(--prices-free-color);
                background-color: rgba(16, 185, 129, 0.1);
                padding: 4px 12px;
                border-radius: 20px;
                font-size: 14px;
              }
            }
          }
        }
      }
    }

    .payment-section {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
      padding: 30px;
      background-color: var(--prices-card-bg);
      border-radius: 16px;
      border: 1px solid var(--prices-border-color);

      .payment-methods {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;

        .payment-label {
          font-size: 16px;
          color: var(--prices-text-color);
          font-weight: 500;
        }

        .payment-icons {
          display: flex;
          align-items: center;
          gap: 12px;
          flex-wrap: wrap;

          .payment-card {
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--white-color);

            &.apple-pay {
              background-color: #000;
            }

            &.visa {
              background-color: #1a1f71;
            }

            &.mastercard {
              background-color: #eb001b;
            }

            &.amex {
              background-color: #006fcf;
            }
          }

          .more-payments {
            font-size: 14px;
            color: var(--prices-text-color);
            opacity: 0.7;
          }
        }
      }

      .create-order-btn {
        background: linear-gradient(135deg, var(--prices-button-bg) 0%, var(--prices-button-hover) 100%);
        color: var(--title-color);
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
          text-decoration: none;
          color: var(--title-color);
        }
      }
    }
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    padding: 70px 0;

    .prices-container {
      .services-grid {
        gap: 30px;

        .services-column {
          padding: 25px;
        }
      }
    }
  }

  @media (max-width: 768px) {
    padding: 60px 0;

    .prices-container {
      .prices-header {
        margin-bottom: 40px;

        .prices-subtitle {
          font-size: 16px;
        }
      }

      .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;

        .services-column {
          padding: 20px;

          .column-header {
            h3 {
              font-size: 20px;
            }
          }

          .services-list {
            .service-item {
              .service-name {
                font-size: 15px;
              }

              .service-price {
                font-size: 14px;
              }
            }
          }
        }
      }

      .payment-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;

        .payment-methods {
          flex-direction: column;
          gap: 15px;
        }

        .create-order-btn {
          width: 100%;
          max-width: 300px;
        }
      }
    }
  }

  @media (max-width: 576px) {
    padding: 50px 0;

    .prices-container {
      .services-grid {
        .services-column {
          padding: 15px;

          .services-list {
            .service-item {
              flex-direction: column;
              align-items: flex-start;
              gap: 8px;
              padding: 12px 0;

              .service-price {
                align-self: flex-end;
              }
            }
          }
        }
      }

      .payment-section {
        padding: 20px;

        .payment-methods {
          .payment-icons {
            justify-content: center;

            .payment-card {
              padding: 6px 12px;
              font-size: 10px;
            }
          }
        }
      }
    }
  }
}

/* Animation for scroll reveal */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prices-services-section {
  .services-column {
    animation: slideUp 0.6s ease-out;

    &:nth-child(1) {
      animation-delay: 0.1s;
    }
    &:nth-child(2) {
      animation-delay: 0.2s;
    }
  }

  .payment-section {
    animation: slideUp 0.6s ease-out 0.3s both;
  }
}
