/**
 * Reviews Page Styles - SchlossProfi24
 */

/* =====================
   Reviews Hero
   ===================== */
.reviews-hero {
    position: relative;
    padding: 140px 20px 50px;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2540 100%);
    overflow: hidden;
}

.reviews-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.reviews-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.reviews-hero__shape--1 {
    width: 400px;
    height: 400px;
    background: #00d4ff;
    top: -100px;
    right: -100px;
}

.reviews-hero__shape--2 {
    width: 300px;
    height: 300px;
    background: #ffc107;
    bottom: -50px;
    left: -50px;
}

.fe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.reviews-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

.reviews-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.reviews-hero__breadcrumb-link:hover {
    color: #00d4ff;
}

.reviews-hero__breadcrumb-link img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.reviews-hero__breadcrumb-sep {
    opacity: 0.5;
    filter: brightness(0) invert(1);
}

.reviews-hero__breadcrumb-current {
    color: #00d4ff;
}

.reviews-hero__content {
    max-width: 700px;
}

.reviews-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 50px;
    color: #ffc107;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.reviews-hero__label img {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(0deg);
}

.reviews-hero__title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.reviews-hero__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 30px;
}

.reviews-hero__stats {
    display: flex;
    gap: 40px;
}

.reviews-hero__stat {
    text-align: center;
}

.reviews-hero__stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 4px;
}

.reviews-hero__stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================
   Reviews Main
   ===================== */
.reviews-main {
    background: #f8fafc;
    padding: 60px 20px;
}

/* =====================
   Reviews Grid
   ===================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* =====================
   Review Card
   ===================== */
.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-radius: 12px;
}

.review-card__avatar img {
    width: 24px;
    height: 24px;
}

.review-card__info {
    flex: 1;
}

.review-card__name {
    font-size: 16px;
    font-weight: 600;
    color: #0a0f1a;
    margin: 0 0 4px;
}

.review-card__rating {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-card__service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.review-card__service img {
    width: 14px;
    height: 14px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(100deg);
}

.review-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 16px;
    flex: 1;
}

.review-card__footer {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.review-card__date {
    font-size: 13px;
    color: #94a3b8;
}

/* =====================
   Pagination
   ===================== */
.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.reviews-pagination__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.reviews-pagination__btn:hover {
    background: #f1f5f9;
    border-color: #00d4ff;
    color: #00d4ff;
}

.reviews-pagination__btn img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.reviews-pagination__numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviews-pagination__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.reviews-pagination__num:hover {
    background: #f1f5f9;
    border-color: #00d4ff;
    color: #00d4ff;
}

.reviews-pagination__num--active {
    background: linear-gradient(135deg, #00d4ff 0%, #00b8e6 100%);
    border-color: transparent;
    color: #fff;
}

.reviews-pagination__ellipsis {
    padding: 0 8px;
    color: #94a3b8;
}

/* =====================
   Review Form
   ===================== */
.reviews-form {
    background: #fff;
    padding: 80px 20px;
}

.reviews-form__wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.reviews-form__header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-form__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: #00d4ff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.reviews-form__label img {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(160deg);
}

.reviews-form__title {
    font-size: 32px;
    font-weight: 700;
    color: #0a0f1a;
    margin: 0 0 12px;
}

.reviews-form__desc {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

/* Form Styles */
#jqr_review_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#jqr_review_form input[type="text"],
#jqr_review_form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

#jqr_review_form input[type="text"]:focus,
#jqr_review_form textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

#jqr_review_form textarea {
    resize: vertical;
    min-height: 120px;
}

#jqr_review_form button[type="submit"] {
    padding: 18px 32px;
    background: linear-gradient(135deg, #00d4ff 0%, #00b8e6 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#jqr_review_form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.jqr_star-rating {
    display: flex;
    gap: 4px;
}

.jqr_star-rating i {
    font-size: 28px;
    color: #e5e7eb;
    transition: color 0.2s;
}

.jqr_star-rating i.fas,
.jqr_star-rating i:hover {
    color: #ffc107;
}

.jqr_error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

/* =====================
   Reviews CTA
   ===================== */
.reviews-cta {
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2540 100%);
    padding: 80px 20px;
}

.reviews-cta__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.reviews-cta__text {
    flex: 1;
}

.reviews-cta__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.reviews-cta__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.reviews-cta__actions {
    display: flex;
    gap: 16px;
}

.reviews-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.reviews-cta__btn--primary {
    background: linear-gradient(135deg, #00d4ff 0%, #00b8e6 100%);
    color: #fff;
}

.reviews-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.reviews-cta__btn--primary img {
    filter: brightness(0) invert(1);
}

.reviews-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.reviews-cta__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.reviews-cta__btn--secondary img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* =====================
   Responsive - 1024px
   ===================== */
@media (max-width: 1024px) {
    .reviews-hero {
        padding: 120px 20px 45px;
    }

    .reviews-hero__title {
        font-size: 36px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reviews-cta__content {
        flex-direction: column;
        text-align: center;
    }

    .reviews-cta__actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .reviews-cta__btn {
        justify-content: center;
    }
}

/* =====================
   Responsive - 768px
   ===================== */
@media (max-width: 768px) {
    .reviews-hero {
        padding: 110px 15px 40px;
    }

    .reviews-hero__breadcrumb {
        font-size: 13px;
    }

    .reviews-hero__title {
        font-size: 30px;
    }

    .reviews-hero__desc {
        font-size: 16px;
    }

    .reviews-hero__stats {
        gap: 30px;
    }

    .reviews-hero__stat-value {
        font-size: 26px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 24px;
    }

    .reviews-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .reviews-pagination__btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .reviews-pagination__num {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .reviews-form {
        padding: 60px 20px;
    }

    .reviews-form__title {
        font-size: 26px;
    }

    .reviews-cta {
        padding: 60px 20px;
    }

    .reviews-cta__title {
        font-size: 26px;
    }
}

/* =====================
   Responsive - 480px
   ===================== */
@media (max-width: 480px) {
    .reviews-hero {
        padding: 100px 12px 35px;
    }

    .reviews-hero__breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .reviews-hero__label {
        padding: 6px 12px;
        font-size: 12px;
    }

    .reviews-hero__title {
        font-size: 26px;
    }

    .reviews-hero__desc {
        font-size: 15px;
    }

    .reviews-hero__stats {
        gap: 20px;
    }

    .reviews-hero__stat-value {
        font-size: 22px;
    }

    .reviews-hero__stat-label {
        font-size: 12px;
    }

    .review-card {
        padding: 20px;
    }

    .review-card__avatar {
        width: 44px;
        height: 44px;
    }

    .review-card__name {
        font-size: 15px;
    }

    .review-card__text {
        font-size: 14px;
    }

    .reviews-form__wrapper {
        padding: 0 10px;
    }

    .reviews-form__title {
        font-size: 22px;
    }

    #jqr_review_form input[type="text"],
    #jqr_review_form textarea {
        padding: 14px 16px;
        font-size: 15px;
    }

    .reviews-cta__title {
        font-size: 22px;
    }

    .reviews-cta__desc {
        font-size: 15px;
    }
}

/* =====================
   Responsive - 375px
   ===================== */
@media (max-width: 375px) {
    .reviews-hero {
        padding: 95px 10px 30px;
    }

    .reviews-hero__title {
        font-size: 22px;
    }

    .reviews-hero__stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .reviews-hero__stat {
        min-width: 80px;
    }

    .review-card {
        padding: 18px;
    }

    .reviews-form__title {
        font-size: 20px;
    }

    .reviews-cta__title {
        font-size: 20px;
    }
}
