/* Reviews Page Styles */

/* Hero Section */
.reviews-intro-section {
    margin-bottom: 3rem;
}

.shop-image img {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.shop-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

/* Review Platforms Section */
.review-platforms-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.review-platform-card {
    display: block;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.review-platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.review-platform-card:hover::before {
    opacity: 1;
}

.platform-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.platform-logo {
    flex: 0 0 auto;
    margin-right: 1.5rem;
}

.review-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.review-platform-card:hover .review-logo {
    transform: scale(1.05);
}

.platform-details {
    flex: 1;
}

.platform-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.review-platform-card:hover .platform-details h3 {
    color: var(--secondary-color);
}

.platform-description {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.view-reviews-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.review-platform-card:hover .view-reviews-button {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Feedback summary heading */
.testimonial-text h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text h3 {
    color: var(--secondary-color);
}

.testimonial-author {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.rating {
    color: #FFD700; /* Gold color for stars */
}

.review-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.review-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Write a Review Section */
.write-review-section {
    margin-top: 3rem;
}

.write-review-section .card {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 5px solid var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.write-review-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.write-review-section .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(51, 51, 51, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.write-review-section .card:hover::before {
    opacity: 1;
}

.write-review-section .card-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.write-review-section .button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.write-review-section .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

/* SEO Improvements */
.lined-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.lined-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Animation Styles */
.animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), 
                transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: opacity, transform;
}

.animated-element.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .platform-content {
        flex-direction: column;
        text-align: center;
    }

    .platform-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .platform-details {
        text-align: center;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .author-name {
        margin-bottom: 0.5rem;
    }

    .review-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Small screen adjustments */
@media screen and (max-width: 480px) {
    .review-logo {
        width: 80px;
    }
}
