/**
 * CSR Footer Styles
 * Shared dark mode footer with trust elements and testimonials
 * 
 * @version 1.0.0
 */

/* ==========================================================================
   FOOTER BASE
   ========================================================================== */

.page-footer-dark {
    background: #151515;
    margin-top: 60px;
    border-top: none;
    color: #fff;
}

.footer-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--csr-spacing-xl) var(--csr-spacing-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section:last-of-type {
    border-bottom: none;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

/* ==========================================================================
   TRUST HERO BANNER
   ========================================================================== */

.trust-hero-section {
    padding: 0 !important;
    background: #151515;
}

.trust-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */

.reviews-section {
    background: #151515;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--csr-gray-400);
    font-size: 14px;
}

.reviews-placeholder {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.review-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.review-score {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.review-details .stars {
    color: #fbbf24;
    font-size: 24px;
    letter-spacing: 2px;
}

.review-count {
    color: var(--csr-gray-400);
    font-size: 14px;
    margin-top: 4px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-section {
    background: #151515;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform var(--csr-transition), box-shadow var(--csr-transition);
}

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

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-text {
    color: var(--csr-gray-300);
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 16px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.testimonial-author strong {
    color: #fff;
}

.testimonial-author span {
    color: var(--csr-gray-400);
}

/* ==========================================================================
   TRUST SECTION (3-Column Grid)
   ========================================================================== */

.trust-section {
    background: #151515;
    color: #fff;
}

.trust-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding: 32px 0;
}

/* About Column */
.trust-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.trust-tagline {
    color: var(--csr-gray-300);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.trust-images-row {
    display: flex;
    gap: 12px;
}

.trust-image-card {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.trust-image-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.trust-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 11px;
    padding: 20px 8px 6px;
    text-align: center;
}

/* Contact Column */
.trust-contact-title,
.trust-reasons-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--csr-success);
}

.trust-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.trust-contact-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.trust-contact-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.trust-contact-text p {
    color: var(--csr-gray-400);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.trust-contact-text a {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
}

.trust-contact-text a:hover {
    color: #6ee7b7;
}

/* Reasons Column */
.trust-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--csr-gray-300);
    font-size: 14px;
}

.trust-reason-icon {
    color: #34d399;
    font-weight: bold;
}

/* Trust Badges Row */
.trust-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-badge-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--csr-gray-400);
    font-size: 13px;
    font-weight: 500;
}

/* Footer Logo */
.footer-logo-large {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-large img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    margin: 0 auto;
    display: block;
}

/* ==========================================================================
   FOOTER LINKS
   ========================================================================== */

.footer-links {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
    background: #151515;
}

.footer-link-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-link-group a {
    color: var(--csr-gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--csr-transition-fast);
}

.footer-link-group a:hover {
    color: #fff;
}

.footer-copyright {
    color: var(--csr-gray-500);
    font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .trust-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .trust-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .trust-content-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges-row {
        gap: 16px;
    }
    
    .trust-badge-text {
        font-size: 12px;
    }
    
    .footer-link-group {
        gap: 16px;
    }
}
