/* ─── Društvene mreže tab ───────────────────────────────────────────── */

#tab-social {
    padding: 0;
}

.social-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
    box-shadow: var(--shadow-lg);
}

.social-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.social-hero-content {
    position: relative;
    z-index: 2;
    padding: 34px;
    max-width: 780px;
    color: #fff;
}

.social-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.social-hero h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.social-hero p {
    font-size: 1.05rem;
    line-height: 1.5;
    opacity: 0.92;
    max-width: 640px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

/* ─── Obaveštenje ──────────────────────────────────────────────────── */
.social-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 26px;
    box-shadow: var(--shadow);
}

.social-notice-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-notice-icon svg {
    width: 24px;
    height: 24px;
}

.social-notice-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.social-notice-body p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 10px;
}

.social-notice-body p:last-child {
    margin-bottom: 0;
}

.social-notice-body strong {
    color: #92400e;
}

/* ─── Kartice mreža ─────────────────────────────────────────────────── */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}

.social-card {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    padding: 26px 22px 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    opacity: 0.85;
    transition: height var(--transition), opacity var(--transition);
}

.social-card:hover .social-card-glow {
    height: 8px;
    opacity: 1;
}

.social-card.instagram .social-card-glow {
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.facebook .social-card-glow {
    background: #1877f2;
}

.social-card.tiktok .social-card-glow {
    background: linear-gradient(90deg, #25f4ee 0%, #000 50%, #fe2c55 100%);
}

.social-card.youtube .social-card-glow {
    background: #ff0000;
}

.social-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.social-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-card.instagram .social-card-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 30%, #dc2743 60%, #bc1888 100%);
    color: #fff;
}

.social-card.facebook .social-card-icon {
    background: #1877f2;
    color: #fff;
}

.social-card.tiktok .social-card-icon {
    background: #000;
    color: #fff;
}

.social-card.youtube .social-card-icon {
    background: #ff0000;
    color: #fff;
}

.social-card-icon svg {
    width: 26px;
    height: 26px;
}

.social-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.social-card-features {
    list-style: none;
    margin-bottom: 20px;
}

.social-card-features li {
    position: relative;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 9px;
}

.social-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--green);
}

.social-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 11px;
    border-radius: 999px;
}

.social-card-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
}

/* ─── CTA ──────────────────────────────────────────────────────────── */
.social-cta {
    margin-bottom: 10px;
}

.social-cta-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.social-cta-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.social-cta-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.social-cta-btn {
    padding: 13px 28px;
    font-size: 1rem;
}

.social-cta-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── Responzivnost ────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .social-hero {
        min-height: 260px;
    }

    .social-hero-content {
        padding: 22px;
    }

    .social-hero h2 {
        font-size: 1.6rem;
    }

    .social-hero p {
        font-size: 0.95rem;
    }

    .social-notice {
        flex-direction: column;
        gap: 12px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Svetla tema ──────────────────────────────────────────────────── */
[data-theme="light"] .social-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
}

[data-theme="light"] .social-hero-content,
[data-theme="light"] .social-hero-badge,
[data-theme="light"] .social-hero h2,
[data-theme="light"] .social-hero p {
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .social-hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .social-notice {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-color: rgba(245, 158, 11, 0.18);
}

[data-theme="light"] .social-notice-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

[data-theme="light"] .social-notice-body h3,
[data-theme="light"] .social-notice-body strong {
    color: #92400e;
}

[data-theme="light"] .social-card-status {
    background: #f1f5f9;
    color: var(--text-secondary);
}

[data-theme="light"] .social-cta-btn:disabled {
    background: #e2e8f0;
    color: var(--text-muted);
}
