/* Store Feedback Hub - Community Trust Theme */
:root {
    --primary-blue: #0056b3;
    --primary-dark: #004494;
    --accent-gold: #ffc107;
    --accent-gold-hover: #e0a800;
    --text-dark: #343a40;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --success-green: #28a745;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

.btn-trust {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-trust:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003366 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.search-box {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: none;
    flex-grow: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}

/* Cards */
.feedback-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    position: relative;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-badge.verified {
    background-color: #d4edda;
    color: var(--success-green);
}

.brand-logo-container {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
}

.fallback-badge {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.coupon-code-box {
    background-color: var(--bg-light);
    border: 2px dashed var(--primary-blue);
    padding: 0.75rem;
    text-align: center;
    border-radius: 4px;
    margin: 1rem 0;
    cursor: pointer;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: all 0.2s;
    position: relative;
}

.coupon-code-box:hover {
    background-color: #e9ecef;
}

.star-rating {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* New Sections Styling */

/* 1. Live Verification Feed */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-dark);
    color: white;
    padding: 0.5rem 0;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 2. Top Rated Stores Grid */
.store-grid-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.store-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* 3. Community Voices */
.review-card {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--text-muted);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 4. The Feedback Loop Infographic */
.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
    border: 2px solid var(--primary-blue);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #adb5bd;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 0.5rem;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
}
