/* Custom Styles for RS Shop Redesign - Exact Match */

:root {
    --primary-color: #3b82f6;
    /* Blue-500 */
    --primary-hover: #2563eb;
    /* Blue-600 */
    --dark-bg: #111827;
    /* Gray-900 */
    --text-main: #1f2937;
    /* Gray-800 */
    --text-muted: #6b7280;
    /* Gray-500 */
    --light-bg: #f9fafb;
    /* Gray-50 */
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
}

a {
    text-decoration: none;
}

/* Top Hero Section */
.top-hero-section {
    background-color: #0f172a;
    background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    /* Tech/Network bg */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    height: 400px;
    position: relative;
}

.hero-title {
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-dark-glass {
    background-color: rgba(31, 41, 55, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: all 0.2s;
}

.btn-dark-glass:hover {
    background-color: rgba(31, 41, 55, 1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.brand-icon {
    font-weight: 800;
}

.nav-link {
    font-size: 0.875rem;
}

.input-group-text {
    background: transparent;
}

/* Category Cards */
.section-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

.category-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: white;
}

.category-img {
    height: 120px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.category-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.category-count {
    font-size: 0.8rem;
    color: #64748b;
}

/* Why Choose Us */
.feature-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    color: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.feature-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-weight: 800;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: white;
    color: #111827;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    border: none;
}

.btn-cta:hover {
    background-color: #f9fafb;
    color: black;
}

/* Footer */
.footer {
    background-color: #f9fafb;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 1rem;
    display: block;
}

.footer-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #4b5563;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 0.8rem;
}