/* ═══════════════════════════════════════════════════════════════════════════
   TRUST RIBBON - Theme-Aware Version
   ═══════════════════════════════════════════════════════════════════════════
   
   FILE: css/sections/trust-ribbon.css
   
   Updated to use theme variables instead of hardcoded colors.
   Works with both dark and light themes.
   
   ═══════════════════════════════════════════════════════════════════════════ */

/* Container */
.trust-ribbon-section {
    position: relative;
    width: 100%;
    height: 52px;
    background: var(--card-bg, rgba(255, 255, 255, 0.03));
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    transition: background 0.5s ease, border-color 0.5s ease;
}

/* Track */
.ribbon-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    padding-left: 20px;
}

/* Items */
.ribbon-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6vw;
    opacity: 0.7;
    transition: opacity 0.3s;
}

/* Hover Effects */
.trust-ribbon-section:hover .ribbon-item { 
    opacity: 0.3; 
}

.trust-ribbon-section:hover .ribbon-item.highlight { 
    opacity: 1; 
}

/* Dot separator */
.ribbon-dot {
    color: var(--accent-primary, #D4AF37);
    margin-right: 12px;
    font-size: 1.2rem;
    line-height: 0;
    transition: color 0.5s ease;
}

/* Standard Text */
.ribbon-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary, #fff);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* GLOW EFFECT for "View Real Customer Proof" */
.ribbon-item.highlight .ribbon-text {
    color: var(--text-primary, #fff);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: none;
    font-size: 1.05rem;
    font-weight: 700;
    
    /* THE GLOW: Layered shadows using the accent color */
    text-shadow: 
        0 0 5px var(--accent-primary, #D4AF37),
        0 0 10px var(--accent-primary, #D4AF37),
        0 0 20px var(--accent-primary, #D4AF37);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .trust-ribbon-section { 
        height: 46px; 
    }
    
    .ribbon-item { 
        margin-right: 10vw; 
    }
    
    .ribbon-text { 
        font-size: 0.75rem; 
    }
    
    .ribbon-item.highlight .ribbon-text {
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE TRUST RIBBON (Rounded variant)
   ═══════════════════════════════════════════════════════════════════════════ */

.product-trust-ribbon .trust-ribbon-section {
    height: 44px;
    background: var(--glass-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 12px;
}

.product-trust-ribbon .ribbon-item {
    margin-right: 40px;
    opacity: 0.8;
}

.product-trust-ribbon .ribbon-item.highlight {
    opacity: 1;
}

.product-trust-ribbon .ribbon-item.highlight .ribbon-text {
    color: var(--accent-primary, #D4AF37);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-shadow: none;
}

.product-trust-ribbon .ribbon-text {
    font-size: 0.8rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.9));
    letter-spacing: 0.3px;
}
